[INFO] fetching crate the_one 0.1.2... [INFO] testing the_one-0.1.2 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate the_one 0.1.2 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate the_one 0.1.2 [INFO] finished tweaking crates.io crate the_one 0.1.2 [INFO] tweaked toml for crates.io crate the_one 0.1.2 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate the_one 0.1.2 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate the_one 0.1.2 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" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 38911250af904fa3f3b8a04fc8489e77958ebd76a09253a37683d4c90e4a92bb [INFO] running `Command { std: "docker" "start" "-a" "38911250af904fa3f3b8a04fc8489e77958ebd76a09253a37683d4c90e4a92bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "38911250af904fa3f3b8a04fc8489e77958ebd76a09253a37683d4c90e4a92bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "38911250af904fa3f3b8a04fc8489e77958ebd76a09253a37683d4c90e4a92bb", kill_on_drop: false }` [INFO] [stdout] 38911250af904fa3f3b8a04fc8489e77958ebd76a09253a37683d4c90e4a92bb [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9336de8079d4d6f66ad56c238806dafa01c43415eb1617c56eb3e441147b9187 [INFO] running `Command { std: "docker" "start" "-a" "9336de8079d4d6f66ad56c238806dafa01c43415eb1617c56eb3e441147b9187", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling the_one v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `document-features` [INFO] [stdout] --> src/lib.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | #![cfg_attr(feature = "document-features", doc = document_features::document_features!())] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `document-features` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `the_one::*` [INFO] [stdout] --> src/main.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use the_one::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.75s [INFO] running `Command { std: "docker" "inspect" "9336de8079d4d6f66ad56c238806dafa01c43415eb1617c56eb3e441147b9187", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9336de8079d4d6f66ad56c238806dafa01c43415eb1617c56eb3e441147b9187", kill_on_drop: false }` [INFO] [stdout] 9336de8079d4d6f66ad56c238806dafa01c43415eb1617c56eb3e441147b9187 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] edb28084f989860a095b28f10d39bd62d2b1c63fa926662299fb1bdf9fd533a3 [INFO] running `Command { std: "docker" "start" "-a" "edb28084f989860a095b28f10d39bd62d2b1c63fa926662299fb1bdf9fd533a3", kill_on_drop: false }` [INFO] [stdout] warning: unexpected `cfg` condition value: `document-features` [INFO] [stdout] --> src/lib.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | #![cfg_attr(feature = "document-features", doc = document_features::document_features!())] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `document-features` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling the_one v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `document-features` [INFO] [stdout] --> src/lib.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | #![cfg_attr(feature = "document-features", doc = document_features::document_features!())] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `document-features` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `the_one::*` [INFO] [stdout] --> src/main.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use the_one::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.50s [INFO] running `Command { std: "docker" "inspect" "edb28084f989860a095b28f10d39bd62d2b1c63fa926662299fb1bdf9fd533a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "edb28084f989860a095b28f10d39bd62d2b1c63fa926662299fb1bdf9fd533a3", kill_on_drop: false }` [INFO] [stdout] edb28084f989860a095b28f10d39bd62d2b1c63fa926662299fb1bdf9fd533a3 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0e61cb3962bec2310506621139d139e20d8a81c2ea918874e9f6a0875bef2183 [INFO] running `Command { std: "docker" "start" "-a" "0e61cb3962bec2310506621139d139e20d8a81c2ea918874e9f6a0875bef2183", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition value: `document-features` [INFO] [stderr] --> src/lib.rs:2:13 [INFO] [stderr] | [INFO] [stderr] 2 | #![cfg_attr(feature = "document-features", doc = document_features::document_features!())] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `document-features` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `the_one` (lib) generated 1 warning [INFO] [stderr] warning: unused import: `the_one::*` [INFO] [stderr] --> src/main.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 25 | use the_one::*; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `the_one` (bin "the_one" test) generated 1 warning (run `cargo fix --bin "the_one" --tests` to apply 1 suggestion) [INFO] [stderr] warning: `the_one` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/the_one-8d33f44b8e286194) [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/the_one-204fee89bc238b89) [INFO] [stderr] Doc-tests the_one [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] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/lib.rs - binary_tree::BinTree::find (line 41) ... FAILED [INFO] [stdout] test src/lib.rs - nodes::Node (line 8) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - binary_tree::BinTree::find (line 41) stdout ---- [INFO] [stdout] error: cannot find macro `asserteq` in this scope [INFO] [stdout] --> src/lib.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 7 | asserteq!(tree.find(17,false)); [INFO] [stdout] | ^^^^^^^^ help: a macro with a similar name exists: `assert_eq` [INFO] [stdout] | [INFO] [stdout] --> /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/macros/mod.rs:42:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named macro `assert_eq` defined here [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `BinTree` in this scope [INFO] [stdout] --> src/lib.rs:42:16 [INFO] [stdout] | [INFO] [stdout] 3 | let mut tree = BinTree{..Default::default()}; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use the_one::binary_tree::BinTree; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Node` in this scope [INFO] [stdout] --> src/lib.rs:43:15 [INFO] [stdout] | [INFO] [stdout] 4 | tree.add_node(Node{val:14}); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/option.rs:598:5 [INFO] [stdout] | [INFO] [stdout] = note: similarly named variant `None` defined here [INFO] [stdout] help: a variant with a similar name exists [INFO] [stdout] | [INFO] [stdout] 4 - tree.add_node(Node{val:14}); [INFO] [stdout] 4 + tree.add_node(None{val:14}); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use the_one::nodes::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Node` in this scope [INFO] [stdout] --> src/lib.rs:44:15 [INFO] [stdout] | [INFO] [stdout] 5 | tree.add_node(Node{val:15}); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/option.rs:598:5 [INFO] [stdout] | [INFO] [stdout] = note: similarly named variant `None` defined here [INFO] [stdout] help: a variant with a similar name exists [INFO] [stdout] | [INFO] [stdout] 5 - tree.add_node(Node{val:15}); [INFO] [stdout] 5 + tree.add_node(None{val:15}); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use the_one::nodes::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Node` in this scope [INFO] [stdout] --> src/lib.rs:45:15 [INFO] [stdout] | [INFO] [stdout] 6 | tree.add_node(Node{val:13}); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/option.rs:598:5 [INFO] [stdout] | [INFO] [stdout] = note: similarly named variant `None` defined here [INFO] [stdout] help: a variant with a similar name exists [INFO] [stdout] | [INFO] [stdout] 6 - tree.add_node(Node{val:13}); [INFO] [stdout] 6 + tree.add_node(None{val:13}); [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use the_one::nodes::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0422`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - nodes::Node (line 8) stdout ---- [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Node` in this scope [INFO] [stdout] --> src/lib.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 3 | Node{val: 14}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/option.rs:598:5 [INFO] [stdout] | [INFO] [stdout] = note: similarly named variant `None` defined here [INFO] [stdout] help: a variant with a similar name exists [INFO] [stdout] | [INFO] [stdout] 3 - Node{val: 14}; [INFO] [stdout] 3 + None{val: 14}; [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use the_one::nodes::Node; [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 E0422`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - binary_tree::BinTree::find (line 41) [INFO] [stdout] src/lib.rs - nodes::Node (line 8) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.24s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "0e61cb3962bec2310506621139d139e20d8a81c2ea918874e9f6a0875bef2183", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e61cb3962bec2310506621139d139e20d8a81c2ea918874e9f6a0875bef2183", kill_on_drop: false }` [INFO] [stdout] 0e61cb3962bec2310506621139d139e20d8a81c2ea918874e9f6a0875bef2183