[INFO] fetching crate csvx 0.1.17... [INFO] testing csvx-0.1.17 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate csvx 0.1.17 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate csvx 0.1.17 [INFO] finished tweaking crates.io crate csvx 0.1.17 [INFO] tweaked toml for crates.io crate csvx 0.1.17 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate csvx 0.1.17 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate csvx 0.1.17 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded csv-core v0.1.10 [INFO] [stderr] Downloaded quote v1.0.9 [INFO] [stderr] Downloaded itoa v0.4.7 [INFO] [stderr] Downloaded thiserror v1.0.26 [INFO] [stderr] Downloaded thiserror-impl v1.0.26 [INFO] [stderr] Downloaded proc-macro2 v1.0.27 [INFO] [stderr] Downloaded memchr v2.4.0 [INFO] [stderr] Downloaded serde v1.0.126 [INFO] [stderr] Downloaded syn v1.0.73 [INFO] [stderr] Downloaded bstr v0.2.16 [INFO] [stderr] Downloaded csv v1.1.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8d153054a5606a3a928ce479becedf8f543cfeb2506d8e78e43ccd3d4e796350 [INFO] running `Command { std: "docker" "start" "-a" "8d153054a5606a3a928ce479becedf8f543cfeb2506d8e78e43ccd3d4e796350", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8d153054a5606a3a928ce479becedf8f543cfeb2506d8e78e43ccd3d4e796350", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d153054a5606a3a928ce479becedf8f543cfeb2506d8e78e43ccd3d4e796350", kill_on_drop: false }` [INFO] [stdout] 8d153054a5606a3a928ce479becedf8f543cfeb2506d8e78e43ccd3d4e796350 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 98f24e1edcc5fb0e710419a7be669b39ed8ab208e2662d5f71388971b7fb87c5 [INFO] running `Command { std: "docker" "start" "-a" "98f24e1edcc5fb0e710419a7be669b39ed8ab208e2662d5f71388971b7fb87c5", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Compiling thiserror v1.0.26 [INFO] [stderr] Compiling bstr v0.2.16 [INFO] [stderr] Compiling csv v1.1.6 [INFO] [stderr] Compiling csvx v0.1.17 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.01s [INFO] running `Command { std: "docker" "inspect" "98f24e1edcc5fb0e710419a7be669b39ed8ab208e2662d5f71388971b7fb87c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "98f24e1edcc5fb0e710419a7be669b39ed8ab208e2662d5f71388971b7fb87c5", kill_on_drop: false }` [INFO] [stdout] 98f24e1edcc5fb0e710419a7be669b39ed8ab208e2662d5f71388971b7fb87c5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 861d31142de6f4b3fae845cbc2f5aa1c7c6d4e122f0c9685c4a2bdcedb8e0850 [INFO] running `Command { std: "docker" "start" "-a" "861d31142de6f4b3fae845cbc2f5aa1c7c6d4e122f0c9685c4a2bdcedb8e0850", kill_on_drop: false }` [INFO] [stderr] Compiling csvx v0.1.17 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.59s [INFO] running `Command { std: "docker" "inspect" "861d31142de6f4b3fae845cbc2f5aa1c7c6d4e122f0c9685c4a2bdcedb8e0850", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "861d31142de6f4b3fae845cbc2f5aa1c7c6d4e122f0c9685c4a2bdcedb8e0850", kill_on_drop: false }` [INFO] [stdout] 861d31142de6f4b3fae845cbc2f5aa1c7c6d4e122f0c9685c4a2bdcedb8e0850 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 9d071e5af54cd0d3ba16a5d81e49298a584eaf9f7fe2c788ef38318f708d8b42 [INFO] running `Command { std: "docker" "start" "-a" "9d071e5af54cd0d3ba16a5d81e49298a584eaf9f7fe2c788ef38318f708d8b42", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/csvx-f9a605f43bdd3b80) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/csvx-8ec2402092beb3da) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests csvx [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test src/table/remove.rs - table::remove::Table::remove_x (line 72) ... FAILED [INFO] [stdout] test src/table/remove.rs - table::remove::Table::remove_y (line 7) ... FAILED [INFO] [stdout] test src/table/insert.rs - table::insert::Table::insert_x (line 103) ... FAILED [INFO] [stdout] test src/table/insert.rs - table::insert::Table::insert_y (line 7) ... FAILED [INFO] [stdout] test src/table/update.rs - table::update::Table::update (line 9) ... FAILED [INFO] [stdout] test src/table/new.rs - table::new::Table::new (line 7) ... FAILED [INFO] [stdout] test src/lib.rs - (line 12) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/table/remove.rs - table::remove::Table::remove_x (line 72) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `table` in this scope [INFO] [stdout] --> src/table/remove.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | table.remove_x(2); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `table` in this scope [INFO] [stdout] --> src/table/remove.rs:74:24 [INFO] [stdout] | [INFO] [stdout] 74 | println!("TABLE:\n{}", table); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/table/remove.rs - table::remove::Table::remove_y (line 7) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `table` in this scope [INFO] [stdout] --> src/table/remove.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | table.remove_y(2); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `table` in this scope [INFO] [stdout] --> src/table/remove.rs:9:24 [INFO] [stdout] | [INFO] [stdout] 9 | println!("TABLE:\n{}", table); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/table/insert.rs - table::insert::Table::insert_x (line 103) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `table` in this scope [INFO] [stdout] --> src/table/insert.rs:104:1 [INFO] [stdout] | [INFO] [stdout] 104 | table.insert_x(2); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `table` in this scope [INFO] [stdout] --> src/table/insert.rs:105:24 [INFO] [stdout] | [INFO] [stdout] 105 | println!("TABLE:\n{}", table); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/table/insert.rs - table::insert::Table::insert_y (line 7) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `table` in this scope [INFO] [stdout] --> src/table/insert.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | table.insert_y(2); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `table` in this scope [INFO] [stdout] --> src/table/insert.rs:9:24 [INFO] [stdout] | [INFO] [stdout] 9 | println!("TABLE:\n{}", table); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/table/update.rs - table::update::Table::update (line 9) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `table` in this scope [INFO] [stdout] --> src/table/update.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | table.update(0, 0, "true")?; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `table` in this scope [INFO] [stdout] --> src/table/update.rs:11:32 [INFO] [stdout] | [INFO] [stdout] 11 | println!("UPDATED TABLE:\n{}", table.export_calculated_table()?); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/table/new.rs - table::new::Table::new (line 7) stdout ---- [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/table/new.rs:16:36 [INFO] [stdout] | [INFO] [stdout] 8 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_table_new_rs_7_0() { [INFO] [stdout] | --------------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 16 | let mut table = Table::new(raw_csv)?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 8 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_table_new_rs_7_0() -> Result<(), Box> { [INFO] [stdout] 9 | use csvx::Table; [INFO] [stdout] ... [INFO] [stdout] 17 | println!("CALCULATED TABLE:\n{}", table); [INFO] [stdout] 18 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/table/insert.rs - table::insert::Table::insert_x (line 103) [INFO] [stdout] src/table/insert.rs - table::insert::Table::insert_y (line 7) [INFO] [stdout] src/table/new.rs - table::new::Table::new (line 7) [INFO] [stdout] src/table/remove.rs - table::remove::Table::remove_x (line 72) [INFO] [stdout] src/table/remove.rs - table::remove::Table::remove_y (line 7) [INFO] [stdout] src/table/update.rs - table::update::Table::update (line 9) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 1 passed; 6 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.65s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "9d071e5af54cd0d3ba16a5d81e49298a584eaf9f7fe2c788ef38318f708d8b42", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d071e5af54cd0d3ba16a5d81e49298a584eaf9f7fe2c788ef38318f708d8b42", kill_on_drop: false }` [INFO] [stdout] 9d071e5af54cd0d3ba16a5d81e49298a584eaf9f7fe2c788ef38318f708d8b42