[INFO] fetching crate rustbook-ch14-02 0.0.1...
[INFO] testing rustbook-ch14-02-0.0.1 against 1.100.0-beta.1 for beta-1.100-2
[INFO] extracting crate rustbook-ch14-02 0.0.1 into /workspace/builds/worker-1-tc2/source
[INFO] started tweaking crates.io crate rustbook-ch14-02 0.0.1
[INFO] finished tweaking crates.io crate rustbook-ch14-02 0.0.1
[INFO] tweaked toml for crates.io crate rustbook-ch14-02 0.0.1 written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate rustbook-ch14-02 0.0.1 on toolchain 1.100.0-beta.1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.100.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate rustbook-ch14-02 0.0.1 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" "+1.100.0-beta.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3111399a4047eeb3a02b7a90e478d715f38a8c6669b5c4b49d30a17385265909" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 07c7e4da7382ead387b7b3a9b31f163f671fbd86fcae55c57337b620c6a5cded
[INFO] running `Command { std: "docker" "start" "07c7e4da7382ead387b7b3a9b31f163f671fbd86fcae55c57337b620c6a5cded", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "07c7e4da7382ead387b7b3a9b31f163f671fbd86fcae55c57337b620c6a5cded", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "07c7e4da7382ead387b7b3a9b31f163f671fbd86fcae55c57337b620c6a5cded" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "07c7e4da7382ead387b7b3a9b31f163f671fbd86fcae55c57337b620c6a5cded", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "07c7e4da7382ead387b7b3a9b31f163f671fbd86fcae55c57337b620c6a5cded" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling num-bigint v0.4.3
[INFO] [stderr]    Compiling num-rational v0.4.0
[INFO] [stderr]    Compiling num-iter v0.1.42
[INFO] [stderr]    Compiling num-complex v0.4.0
[INFO] [stderr]    Compiling num v0.4.0
[INFO] [stderr]    Compiling rustbook-ch14-02 v0.0.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `c1`
[INFO] [stdout]   --> src/lib.rs:61:14
[INFO] [stdout]    |
[INFO] [stdout] 61 |         pub fn mix(c1: PrimaryColor, c2: PrimaryColor) -> SecondaryColor {
[INFO] [stdout]    |                    ^^ help: if this is intentional, prefix it with an underscore: `_c1`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c2`
[INFO] [stdout]   --> src/lib.rs:61:32
[INFO] [stdout]    |
[INFO] [stdout] 61 |         pub fn mix(c1: PrimaryColor, c2: PrimaryColor) -> SecondaryColor {
[INFO] [stdout]    |                                      ^^ help: if this is intentional, prefix it with an underscore: `_c2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: module `Art` should have a snake case name
[INFO] [stdout]   --> src/lib.rs:31:9
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub mod Art {
[INFO] [stdout]    |         ^^^ help: convert the identifier to snake case: `art`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [optimized + debuginfo] target(s) in 5.82s
[INFO] running `Command { std: "docker" "inspect" "07c7e4da7382ead387b7b3a9b31f163f671fbd86fcae55c57337b620c6a5cded", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "07c7e4da7382ead387b7b3a9b31f163f671fbd86fcae55c57337b620c6a5cded" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] warning: unused variable: `c1`
[INFO] [stdout]   --> src/lib.rs:61:14
[INFO] [stdout]    |
[INFO] [stdout] 61 |         pub fn mix(c1: PrimaryColor, c2: PrimaryColor) -> SecondaryColor {
[INFO] [stdout]    |                    ^^ help: if this is intentional, prefix it with an underscore: `_c1`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c2`
[INFO] [stdout]   --> src/lib.rs:61:32
[INFO] [stdout]    |
[INFO] [stdout] 61 |         pub fn mix(c1: PrimaryColor, c2: PrimaryColor) -> SecondaryColor {
[INFO] [stdout]    |                                      ^^ help: if this is intentional, prefix it with an underscore: `_c2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: module `Art` should have a snake case name
[INFO] [stdout]   --> src/lib.rs:31:9
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub mod Art {
[INFO] [stdout]    |         ^^^ help: convert the identifier to snake case: `art`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling rustbook-ch14-02 v0.0.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `c1`
[INFO] [stdout]   --> src/lib.rs:61:14
[INFO] [stdout]    |
[INFO] [stdout] 61 |         pub fn mix(c1: PrimaryColor, c2: PrimaryColor) -> SecondaryColor {
[INFO] [stdout]    |                    ^^ help: if this is intentional, prefix it with an underscore: `_c1`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c2`
[INFO] [stdout]   --> src/lib.rs:61:32
[INFO] [stdout]    |
[INFO] [stdout] 61 |         pub fn mix(c1: PrimaryColor, c2: PrimaryColor) -> SecondaryColor {
[INFO] [stdout]    |                                      ^^ help: if this is intentional, prefix it with an underscore: `_c2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: module `Art` should have a snake case name
[INFO] [stdout]   --> src/lib.rs:31:9
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub mod Art {
[INFO] [stdout]    |         ^^^ help: convert the identifier to snake case: `art`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [optimized + debuginfo] target(s) in 0.32s
[INFO] running `Command { std: "docker" "inspect" "07c7e4da7382ead387b7b3a9b31f163f671fbd86fcae55c57337b620c6a5cded", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "07c7e4da7382ead387b7b3a9b31f163f671fbd86fcae55c57337b620c6a5cded" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "test" "--frozen", kill_on_drop: false }`
[INFO] [stderr] warning: unused variable: `c1`
[INFO] [stderr]   --> src/lib.rs:61:14
[INFO] [stderr]    |
[INFO] [stderr] 61 |         pub fn mix(c1: PrimaryColor, c2: PrimaryColor) -> SecondaryColor {
[INFO] [stderr]    |                    ^^ help: if this is intentional, prefix it with an underscore: `_c1`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `c2`
[INFO] [stderr]   --> src/lib.rs:61:32
[INFO] [stderr]    |
[INFO] [stderr] 61 |         pub fn mix(c1: PrimaryColor, c2: PrimaryColor) -> SecondaryColor {
[INFO] [stderr]    |                                      ^^ help: if this is intentional, prefix it with an underscore: `_c2`
[INFO] [stderr] 
[INFO] [stderr] warning: module `Art` should have a snake case name
[INFO] [stderr]   --> src/lib.rs:31:9
[INFO] [stderr]    |
[INFO] [stderr] 31 | pub mod Art {
[INFO] [stderr]    |         ^^^ help: convert the identifier to snake case: `art`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `rustbook-ch14-02` (lib) generated 3 warnings (run `cargo fix --lib -p rustbook-ch14-02` to apply 2 suggestions)
[INFO] [stderr] warning: `rustbook-ch14-02` (lib test) generated 3 warnings (3 duplicates)
[INFO] [stderr]     Finished `test` profile [optimized + debuginfo] target(s) in 0.04s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/build/rustbook-ch14-02/f8c58f871e294ce4/out/rustbook_ch14_02-f8c58f871e294ce4)
[INFO] [stderr]      Running unittests src/bin/bin1.rs (/opt/rustwide/target/debug/build/rustbook-ch14-02/9e7b42a8484a7690/out/bin1-9e7b42a8484a7690)
[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 rustbook_ch14_02
[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 1 test
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] [stdout] test src/lib.rs - add_one (line 16) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - add_one (line 16) stdout ----
[INFO] [stdout] error[E0433]: cannot find module or crate `ch14` in this scope
[INFO] [stdout]   --> src/lib.rs:18:14
[INFO] [stdout]    |
[INFO] [stdout] 18 | let answer = ch14::add_one(arg);
[INFO] [stdout]    |              ^^^^ use of unresolved module or unlinked crate `ch14`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `ch14`, use `cargo add ch14` 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 E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - add_one (line 16)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.11s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "07c7e4da7382ead387b7b3a9b31f163f671fbd86fcae55c57337b620c6a5cded", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "07c7e4da7382ead387b7b3a9b31f163f671fbd86fcae55c57337b620c6a5cded", kill_on_drop: false }`
[INFO] [stdout] 07c7e4da7382ead387b7b3a9b31f163f671fbd86fcae55c57337b620c6a5cded
