[INFO] fetching crate rashmin_rustbook_ch14 0.1.2... [INFO] testing rashmin_rustbook_ch14-0.1.2 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-2 [INFO] extracting crate rashmin_rustbook_ch14 0.1.2 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate rashmin_rustbook_ch14 0.1.2 [INFO] finished tweaking crates.io crate rashmin_rustbook_ch14 0.1.2 [INFO] tweaked toml for crates.io crate rashmin_rustbook_ch14 0.1.2 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rashmin_rustbook_ch14 0.1.2 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate rashmin_rustbook_ch14 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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a8c6c26456674d3e85438e8daf52d8a11098f572d3f451ad3f48114de455196d [INFO] running `Command { std: "docker" "start" "-a" "a8c6c26456674d3e85438e8daf52d8a11098f572d3f451ad3f48114de455196d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a8c6c26456674d3e85438e8daf52d8a11098f572d3f451ad3f48114de455196d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a8c6c26456674d3e85438e8daf52d8a11098f572d3f451ad3f48114de455196d", kill_on_drop: false }` [INFO] [stdout] a8c6c26456674d3e85438e8daf52d8a11098f572d3f451ad3f48114de455196d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 07cfa7f5fd3b0c5aec749ac5fcaef0d65591b8a5168575bd9d9dee4285fad210 [INFO] running `Command { std: "docker" "start" "-a" "07cfa7f5fd3b0c5aec749ac5fcaef0d65591b8a5168575bd9d9dee4285fad210", kill_on_drop: false }` [INFO] [stderr] Compiling rashmin_rustbook_ch14 v0.1.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [optimized + debuginfo] target(s) in 0.54s [INFO] running `Command { std: "docker" "inspect" "07cfa7f5fd3b0c5aec749ac5fcaef0d65591b8a5168575bd9d9dee4285fad210", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07cfa7f5fd3b0c5aec749ac5fcaef0d65591b8a5168575bd9d9dee4285fad210", kill_on_drop: false }` [INFO] [stdout] 07cfa7f5fd3b0c5aec749ac5fcaef0d65591b8a5168575bd9d9dee4285fad210 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fe406d179b9711a7c65e015d40cacd1523f6286fcef8d4d13bca4b8dbb27307f [INFO] running `Command { std: "docker" "start" "-a" "fe406d179b9711a7c65e015d40cacd1523f6286fcef8d4d13bca4b8dbb27307f", kill_on_drop: false }` [INFO] [stderr] Compiling rashmin_rustbook_ch14 v0.1.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [optimized + debuginfo] target(s) in 0.36s [INFO] running `Command { std: "docker" "inspect" "fe406d179b9711a7c65e015d40cacd1523f6286fcef8d4d13bca4b8dbb27307f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe406d179b9711a7c65e015d40cacd1523f6286fcef8d4d13bca4b8dbb27307f", kill_on_drop: false }` [INFO] [stdout] fe406d179b9711a7c65e015d40cacd1523f6286fcef8d4d13bca4b8dbb27307f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8122c40983e27b55a943f4bb21a42b65c9b813ea1f38cf8ea37061473cecb289 [INFO] running `Command { std: "docker" "start" "-a" "8122c40983e27b55a943f4bb21a42b65c9b813ea1f38cf8ea37061473cecb289", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [optimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rashmin_rustbook_ch14-e419077a32cd1d61) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test tests::test_add_two ... ok [INFO] [stdout] test tests::test_add_one ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 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/rashmin_rustbook_ch14-a5174115f9255059) [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 rashmin_rustbook_ch14 [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test src/lib.rs - (line 13) ... FAILED [INFO] [stdout] test src/lib.rs - add_two (line 71) ... FAILED [INFO] [stdout] test src/lib.rs - add_custom (line 88) ... FAILED [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] [stdout] test src/lib.rs - add_one (line 47) ... FAILED [INFO] [stdout] test src/lib.rs - add_one (line 36) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 13) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `my_crate` [INFO] [stdout] --> src/lib.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use my_crate::add_one; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `my_crate` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `my_crate`, use `cargo add my_crate` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - add_two (line 71) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `my_crate` [INFO] [stdout] --> src/lib.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | use my_crate::add_two; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `my_crate` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `my_crate`, use `cargo add my_crate` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - add_custom (line 88) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `my_crate` [INFO] [stdout] --> src/lib.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | use my_crate::add_custom; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `my_crate` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `my_crate`, use `cargo add my_crate` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - add_one (line 47) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `my_crate` [INFO] [stdout] --> src/lib.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | use my_crate::add_one; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `my_crate` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `my_crate`, use `cargo add my_crate` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - add_one (line 36) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `my_crate` [INFO] [stdout] --> src/lib.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | use my_crate::add_one; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `my_crate` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `my_crate`, use `cargo add my_crate` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 13) [INFO] [stdout] src/lib.rs - add_custom (line 88) [INFO] [stdout] src/lib.rs - add_one (line 36) [INFO] [stdout] src/lib.rs - add_one (line 47) [INFO] [stdout] src/lib.rs - add_two (line 71) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 5 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.21s [INFO] [stdout] [INFO] [stdout] all doctests ran in 0.36s; merged doctests compilation took 0.15s [INFO] running `Command { std: "docker" "inspect" "8122c40983e27b55a943f4bb21a42b65c9b813ea1f38cf8ea37061473cecb289", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8122c40983e27b55a943f4bb21a42b65c9b813ea1f38cf8ea37061473cecb289", kill_on_drop: false }` [INFO] [stdout] 8122c40983e27b55a943f4bb21a42b65c9b813ea1f38cf8ea37061473cecb289