[INFO] fetching crate csvx 0.1.1... [INFO] testing csvx-0.1.1 against master#99e3aef02079e9c10583638520cd0c134dc3a01d for pr-85530 [INFO] extracting crate csvx 0.1.1 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate csvx 0.1.1 on toolchain 99e3aef02079e9c10583638520cd0c134dc3a01d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate csvx 0.1.1 [INFO] finished tweaking crates.io crate csvx 0.1.1 [INFO] tweaked toml for crates.io crate csvx 0.1.1 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate crates.io crate csvx 0.1.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ff1e0e5f42e24e10fb315b812cdeacdefa4627f47e186a29954dfdd6d4e02c24 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "ff1e0e5f42e24e10fb315b812cdeacdefa4627f47e186a29954dfdd6d4e02c24", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ff1e0e5f42e24e10fb315b812cdeacdefa4627f47e186a29954dfdd6d4e02c24", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff1e0e5f42e24e10fb315b812cdeacdefa4627f47e186a29954dfdd6d4e02c24", kill_on_drop: false }` [INFO] [stdout] ff1e0e5f42e24e10fb315b812cdeacdefa4627f47e186a29954dfdd6d4e02c24 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b23c9b417ffe62e2a478c80f59439dd5b573adf7761e3d7bd1c59339dcf01ad8 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "b23c9b417ffe62e2a478c80f59439dd5b573adf7761e3d7bd1c59339dcf01ad8", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.71 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling regex-automata v0.1.9 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling bstr v0.2.15 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling csv v1.1.6 [INFO] [stderr] Compiling thiserror v1.0.24 [INFO] [stderr] Compiling csvx v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 10.44s [INFO] running `Command { std: "docker" "inspect" "b23c9b417ffe62e2a478c80f59439dd5b573adf7761e3d7bd1c59339dcf01ad8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b23c9b417ffe62e2a478c80f59439dd5b573adf7761e3d7bd1c59339dcf01ad8", kill_on_drop: false }` [INFO] [stdout] b23c9b417ffe62e2a478c80f59439dd5b573adf7761e3d7bd1c59339dcf01ad8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] ba0664ef4d6b48b9a366a9ea39836a17955f6878e159004026cc1c6776bc83f5 [INFO] running `Command { std: "docker" "start" "-a" "ba0664ef4d6b48b9a366a9ea39836a17955f6878e159004026cc1c6776bc83f5", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling csvx v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.70s [INFO] running `Command { std: "docker" "inspect" "ba0664ef4d6b48b9a366a9ea39836a17955f6878e159004026cc1c6776bc83f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba0664ef4d6b48b9a366a9ea39836a17955f6878e159004026cc1c6776bc83f5", kill_on_drop: false }` [INFO] [stdout] ba0664ef4d6b48b9a366a9ea39836a17955f6878e159004026cc1c6776bc83f5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 3c74b4b95e15dd4e3c0c5919f9d25778c5907bf11b8b15e295bfcd86d712f301 [INFO] running `Command { std: "docker" "start" "-a" "3c74b4b95e15dd4e3c0c5919f9d25778c5907bf11b8b15e295bfcd86d712f301", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/csvx-f6a3ca1170418e01) [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 (/opt/rustwide/target/debug/deps/csvx-fe0d70e19de68b36) [INFO] [stdout] [INFO] [stderr] Doc-tests csvx [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] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test src/table/expand.rs - table::expand::Table::expand (line 9) ... FAILED [INFO] [stdout] test src/table/new.rs - table::new::Table::new (line 7) ... FAILED [INFO] [stdout] test src/table/update.rs - table::update::Table::update (line 9) ... FAILED [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] [stdout] test src/lib.rs - (line 12) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/table/expand.rs - table::expand::Table::expand (line 9) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `table` in this scope [INFO] [stdout] --> src/table/expand.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 3 | table.expand(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/expand.rs:11:28 [INFO] [stdout] | [INFO] [stdout] 4 | println!("RAW TABLE:\n{}", table.export_raw_table()?); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [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/expand.rs:11:52 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_table_expand_rs_9_0() { [INFO] [stdout] | ______________________________________- [INFO] [stdout] 3 | | table.expand(true); [INFO] [stdout] 4 | | println!("RAW TABLE:\n{}", table.export_raw_table()?); [INFO] [stdout] | | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] 5 | | } _doctest_main_src_table_expand_rs_9_0() } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual<_>` is not implemented for `()` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [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:15:36 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_table_new_rs_7_0() { [INFO] [stdout] | ______________________________________- [INFO] [stdout] 4 | | use csvx::Table; [INFO] [stdout] 5 | | [INFO] [stdout] 6 | | let raw_csv = "pi,3^5,\"ref(0,0)\",-(1/0) [INFO] [stdout] ... | [INFO] [stdout] 11 | | let mut table = Table::new(raw_csv)?; [INFO] [stdout] | | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] 12 | | println!("CALCULATED TABLE:\n{}", table); [INFO] [stdout] 13 | | } _doctest_main_src_table_new_rs_7_0() } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>>` is not implemented for `()` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] error: aborting due to 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] ---- 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] 3 | 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] 4 | println!("UPDATED TABLE:\n{}", table.export_calculated_table()?); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [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/update.rs:10:27 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_table_update_rs_9_0() { [INFO] [stdout] | ______________________________________- [INFO] [stdout] 3 | | table.update(0, 0, "true")?; [INFO] [stdout] | | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] 4 | | println!("UPDATED TABLE:\n{}", table.export_calculated_table()?); [INFO] [stdout] 5 | | } _doctest_main_src_table_update_rs_9_0() } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual<_>` is not implemented for `()` [INFO] [stdout] = note: required by `from_residual` [INFO] [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/update.rs:11:63 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_table_update_rs_9_0() { [INFO] [stdout] | ______________________________________- [INFO] [stdout] 3 | | table.update(0, 0, "true")?; [INFO] [stdout] 4 | | println!("UPDATED TABLE:\n{}", table.export_calculated_table()?); [INFO] [stdout] | | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] 5 | | } _doctest_main_src_table_update_rs_9_0() } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual<_>` is not implemented for `()` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/table/expand.rs - table::expand::Table::expand (line 9) [INFO] [stdout] src/table/new.rs - table::new::Table::new (line 7) [INFO] [stdout] src/table/update.rs - table::update::Table::update (line 9) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 1 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.84s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "3c74b4b95e15dd4e3c0c5919f9d25778c5907bf11b8b15e295bfcd86d712f301", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3c74b4b95e15dd4e3c0c5919f9d25778c5907bf11b8b15e295bfcd86d712f301", kill_on_drop: false }` [INFO] [stdout] 3c74b4b95e15dd4e3c0c5919f9d25778c5907bf11b8b15e295bfcd86d712f301