[INFO] cloning repository https://github.com/ZhongChan/head_first_rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ZhongChan/head_first_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZhongChan%2Fhead_first_rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZhongChan%2Fhead_first_rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] a6a55e1289bc369e951b18969628a1dbe52adcb7
[INFO] testing ZhongChan/head_first_rust against 1.90.0 for beta-1.91-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZhongChan%2Fhead_first_rust" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/ZhongChan/head_first_rust
[INFO] finished tweaking git repo https://github.com/ZhongChan/head_first_rust
[INFO] tweaked toml for git repo https://github.com/ZhongChan/head_first_rust written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/ZhongChan/head_first_rust on toolchain 1.90.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/ZhongChan/head_first_rust 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.90.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+1.90.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] e15a63029fb211ec8210b8e4fa73aacd1443403f4c3532426a65e768a230a69a
[INFO] running `Command { std: "docker" "start" "-a" "e15a63029fb211ec8210b8e4fa73aacd1443403f4c3532426a65e768a230a69a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e15a63029fb211ec8210b8e4fa73aacd1443403f4c3532426a65e768a230a69a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e15a63029fb211ec8210b8e4fa73aacd1443403f4c3532426a65e768a230a69a", kill_on_drop: false }`
[INFO] [stdout] e15a63029fb211ec8210b8e4fa73aacd1443403f4c3532426a65e768a230a69a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+1.90.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2c0733a665c82987812517f731f1dcccf28b194010147ac7a46668bff2c0614e
[INFO] running `Command { std: "docker" "start" "-a" "2c0733a665c82987812517f731f1dcccf28b194010147ac7a46668bff2c0614e", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.3.0
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling num-complex v0.4.6
[INFO] [stderr]    Compiling num-bigint v0.4.5
[INFO] [stderr]    Compiling num-iter v0.1.45
[INFO] [stderr]    Compiling num-rational v0.4.2
[INFO] [stderr]    Compiling num v0.4.3
[INFO] [stderr]    Compiling head_first_rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unexpected `cfg` condition value: `example`
[INFO] [stdout]    --> src/ch2/8_2_trait.rs:241:7
[INFO] [stdout]     |
[INFO] [stdout] 241 | #[cfg(feature = "example")]
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stdout]     |
[INFO] [stdout]     = note: no expected values for `feature`
[INFO] [stdout]     = help: consider adding `example` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]     = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `example`
[INFO] [stdout]   --> src/ch2/8_3_trait_obj.rs:20:7
[INFO] [stdout]    |
[INFO] [stdout] 20 | #[cfg(feature = "example")]
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stdout]    |
[INFO] [stdout]    = note: no expected values for `feature`
[INFO] [stdout]    = help: consider adding `example` as a feature in `Cargo.toml`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `multi_borrow`
[INFO] [stdout]   --> src/ch2/9_1_collection_vec.rs:53:7
[INFO] [stdout]    |
[INFO] [stdout] 53 | #[cfg(feature = "multi_borrow")]
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stdout]    |
[INFO] [stdout]    = note: no expected values for `feature`
[INFO] [stdout]    = help: consider adding `multi_borrow` as a feature in `Cargo.toml`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.30s
[INFO] running `Command { std: "docker" "inspect" "2c0733a665c82987812517f731f1dcccf28b194010147ac7a46668bff2c0614e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2c0733a665c82987812517f731f1dcccf28b194010147ac7a46668bff2c0614e", kill_on_drop: false }`
[INFO] [stdout] 2c0733a665c82987812517f731f1dcccf28b194010147ac7a46668bff2c0614e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+1.90.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ba82d40802630e3618ce290abbc92dd91d3d9dd9da0a89457c4ce9ce48efbdde
[INFO] running `Command { std: "docker" "start" "-a" "ba82d40802630e3618ce290abbc92dd91d3d9dd9da0a89457c4ce9ce48efbdde", kill_on_drop: false }`
[INFO] [stderr]    Compiling head_first_rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unexpected `cfg` condition value: `example`
[INFO] [stdout]    --> src/ch2/8_2_trait.rs:241:7
[INFO] [stdout]     |
[INFO] [stdout] 241 | #[cfg(feature = "example")]
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stdout]     |
[INFO] [stdout]     = note: no expected values for `feature`
[INFO] [stdout]     = help: consider adding `example` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]     = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `example`
[INFO] [stdout]   --> src/ch2/8_3_trait_obj.rs:20:7
[INFO] [stdout]    |
[INFO] [stdout] 20 | #[cfg(feature = "example")]
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stdout]    |
[INFO] [stdout]    = note: no expected values for `feature`
[INFO] [stdout]    = help: consider adding `example` as a feature in `Cargo.toml`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `multi_borrow`
[INFO] [stdout]   --> src/ch2/9_1_collection_vec.rs:53:7
[INFO] [stdout]    |
[INFO] [stdout] 53 | #[cfg(feature = "multi_borrow")]
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stdout]    |
[INFO] [stdout]    = note: no expected values for `feature`
[INFO] [stdout]    = help: consider adding `multi_borrow` as a feature in `Cargo.toml`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `example`
[INFO] [stdout]    --> src/ch2/8_2_trait.rs:241:7
[INFO] [stdout]     |
[INFO] [stdout] 241 | #[cfg(feature = "example")]
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stdout]     |
[INFO] [stdout]     = note: no expected values for `feature`
[INFO] [stdout]     = help: consider adding `example` as a feature in `Cargo.toml`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]     = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `example`
[INFO] [stdout]   --> src/ch2/8_3_trait_obj.rs:20:7
[INFO] [stdout]    |
[INFO] [stdout] 20 | #[cfg(feature = "example")]
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stdout]    |
[INFO] [stdout]    = note: no expected values for `feature`
[INFO] [stdout]    = help: consider adding `example` as a feature in `Cargo.toml`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `multi_borrow`
[INFO] [stdout]   --> src/ch2/9_1_collection_vec.rs:53:7
[INFO] [stdout]    |
[INFO] [stdout] 53 | #[cfg(feature = "multi_borrow")]
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stdout]    |
[INFO] [stdout]    = note: no expected values for `feature`
[INFO] [stdout]    = help: consider adding `multi_borrow` as a feature in `Cargo.toml`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 2.25s
[INFO] running `Command { std: "docker" "inspect" "ba82d40802630e3618ce290abbc92dd91d3d9dd9da0a89457c4ce9ce48efbdde", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ba82d40802630e3618ce290abbc92dd91d3d9dd9da0a89457c4ce9ce48efbdde", kill_on_drop: false }`
[INFO] [stdout] ba82d40802630e3618ce290abbc92dd91d3d9dd9da0a89457c4ce9ce48efbdde
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+1.90.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] ae6d4fc01de3da20c321dc88bf16ffdf9a14b9411306e5deedc6fd8647a00dc8
[INFO] running `Command { std: "docker" "start" "-a" "ae6d4fc01de3da20c321dc88bf16ffdf9a14b9411306e5deedc6fd8647a00dc8", kill_on_drop: false }`
[INFO] [stderr] warning: unexpected `cfg` condition value: `example`
[INFO] [stdout] 
[INFO] [stderr]    --> src/ch2/8_2_trait.rs:241:7
[INFO] [stdout] running 0 tests
[INFO] [stderr]     |
[INFO] [stdout] 
[INFO] [stderr] 241 | #[cfg(feature = "example")]
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stderr]     |       ^^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stdout] 
[INFO] [stderr]     |
[INFO] [stderr]     = note: no expected values for `feature`
[INFO] [stderr]     = help: consider adding `example` as a feature in `Cargo.toml`
[INFO] [stderr]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr]     = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition value: `example`
[INFO] [stderr]   --> src/ch2/8_3_trait_obj.rs:20:7
[INFO] [stderr]    |
[INFO] [stderr] 20 | #[cfg(feature = "example")]
[INFO] [stderr]    |       ^^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stderr]    |
[INFO] [stderr]    = note: no expected values for `feature`
[INFO] [stderr]    = help: consider adding `example` as a feature in `Cargo.toml`
[INFO] [stderr]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition value: `multi_borrow`
[INFO] [stderr]   --> src/ch2/9_1_collection_vec.rs:53:7
[INFO] [stderr]    |
[INFO] [stderr] 53 | #[cfg(feature = "multi_borrow")]
[INFO] [stderr]    |       ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stderr]    |
[INFO] [stderr]    = note: no expected values for `feature`
[INFO] [stderr]    = help: consider adding `multi_borrow` as a feature in `Cargo.toml`
[INFO] [stderr]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr] 
[INFO] [stderr] warning: `head_first_rust` (lib) generated 3 warnings
[INFO] [stderr] warning: `head_first_rust` (lib test) generated 3 warnings (3 duplicates)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/head_first_rust-a892fd5db32aa494)
[INFO] [stderr]      Running unittests src/bin/1_0_variable.rs (/opt/rustwide/target/debug/deps/ch2_1-1b36e9147cb17c56)
[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/bin/10_0_lifetime.rs (/opt/rustwide/target/debug/deps/ch2_10_0-42c04d0143c43a6d)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/bin/2_0_basic_type.rs (/opt/rustwide/target/debug/deps/ch2_2-85768bfffdde8166)
[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 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/bin/2_1_number.rs (/opt/rustwide/target/debug/deps/ch2_2_1-674aca18a8e82253)
[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 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/bin/2_2_char_bool_unit.rs (/opt/rustwide/target/debug/deps/ch2_2_2-740761ddd51d735a)
[INFO] [stderr]      Running unittests src/bin/2_3_expression.rs (/opt/rustwide/target/debug/deps/ch2_2_3-dc1d26ffbbf57eb0)
[INFO] [stderr]      Running unittests src/bin/2_4_function.rs (/opt/rustwide/target/debug/deps/ch2_2_4-54e7801080d25bb0)
[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/bin/3_1_ownership.rs (/opt/rustwide/target/debug/deps/ch2_3_1-f9a3cde946cc3fe3)
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/bin/3_2_ref_or_borrow.rs (/opt/rustwide/target/debug/deps/ch2_3_2-55172a8eed206563)
[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 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 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/bin/4_1_string_slice.rs (/opt/rustwide/target/debug/deps/ch2_4_1-ff34f58294fe970c)
[INFO] [stderr]      Running unittests src/bin/4_2_tuple.rs (/opt/rustwide/target/debug/deps/ch2_4_2-9a7f639f85c891d0)
[INFO] [stderr]      Running unittests src/bin/4_3_struct.rs (/opt/rustwide/target/debug/deps/ch2_4_3-e067159277cf3036)
[INFO] [stderr]      Running unittests src/bin/4_4_enum.rs (/opt/rustwide/target/debug/deps/ch2_4_4-2022b121d07441b1)
[INFO] [stderr]      Running unittests src/bin/4_5_array.rs (/opt/rustwide/target/debug/deps/ch2_4_5-3eb5cfb012d3c362)
[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 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 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 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 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/bin/4_5_array_input.rs (/opt/rustwide/target/debug/deps/ch2_4_5_2-0981dc0a8cd42860)
[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 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/bin/5_0_flow_ctl.rs (/opt/rustwide/target/debug/deps/ch2_5_0-f8af789ef9176be3)
[INFO] [stderr]      Running unittests src/bin/6_1_match_if_let.rs (/opt/rustwide/target/debug/deps/ch2_6_1-d1219484338a2bc1)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/bin/6_3_match_scene.rs (/opt/rustwide/target/debug/deps/ch2_6_3-ec78b7f1acc36828)
[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 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/bin/7_0_method.rs (/opt/rustwide/target/debug/deps/ch2_7_0-bb9f9e3f371b22f4)
[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/bin/8_1_generics.rs (/opt/rustwide/target/debug/deps/ch2_8_1-43f57435e86f0157)
[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/bin/8_2_trait.rs (/opt/rustwide/target/debug/deps/ch2_8_2-daa14dc4181b32ad)
[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/bin/8_3_trait_obj.rs (/opt/rustwide/target/debug/deps/ch2_8_3-378e6ab2a5e7247a)
[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/bin/8_4_trait_enhance.rs (/opt/rustwide/target/debug/deps/ch2_8_4-e2d910b507ee26d5)
[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/bin/9_1_collection_vec.rs (/opt/rustwide/target/debug/deps/ch2_9_1-6719ccebcd23dd27)
[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/bin/9_2_collection_hashmap.rs (/opt/rustwide/target/debug/deps/ch2_9_2-6407fb1ce870e2e4)
[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 head_first_rust
[INFO] [stdout] 
[INFO] [stdout] running 14 tests
[INFO] [stdout] test src/ch2/3_2_ref_or_borrow.rs - ch2::ref_or_borrow::dangle_ref (line 106) ... FAILED
[INFO] [stdout] test src/ch2/8_2_trait.rs - ch2::trait_mod::notify (line 115) ... FAILED
[INFO] [stdout] test src/ch2/6_3_match_scene.rs - ch2::match_scene::basic (line 29) ... FAILED
[INFO] [stdout] test src/ch2/8_3_trait_obj.rs - ch2::trait_obj::trait_obj_def (line 145) ... FAILED
[INFO] [stdout] test src/ch2/3_2_ref_or_borrow.rs - ch2::ref_or_borrow::nll (line 72) ... FAILED
[INFO] [stdout] test src/ch2/6_3_match_scene.rs - ch2::match_scene::basic (line 46) ... FAILED
[INFO] [stdout] test src/ch2/6_1_match_if_let.rs - ch2::match_if_let::matches_macro (line 219) ... ok
[INFO] [stdout] test src/ch2/8_1_generics.rs - ch2::generics::enum_generics (line 97) ... ok
[INFO] [stdout] test src/ch2/6_3_match_scene.rs - ch2::match_scene::basic (line 37) ... FAILED
[INFO] [stdout] test src/ch2/6_1_match_if_let.rs - ch2::match_if_let::match_demo (line 50) ... FAILED
[INFO] [stdout] test src/ch2/6_3_match_scene.rs - ch2::match_scene::func_args (line 91) ... ok
[INFO] [stdout] test src/ch2/4_4_enum.rs - ch2::enumeration::enum_option (line 108) ... ok
[INFO] [stdout] test src/ch2/8_2_trait.rs - ch2::trait_mod::new_type (line 268) ... FAILED
[INFO] [stdout] test src/ch2/2_2_char_bool_unit.rs - ch2::char_bool_unit::unit_type (line 54) ... ok
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/ch2/3_2_ref_or_borrow.rs - ch2::ref_or_borrow::dangle_ref (line 106) stdout ----
[INFO] [stdout] error[E0106]: missing lifetime specifier
[INFO] [stdout]  --> src/ch2/3_2_ref_or_borrow.rs:107:16
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn dangle() -> &String { //返回字符串的引用
[INFO] [stdout]   |                ^ expected named lifetime parameter
[INFO] [stdout]   |
[INFO] [stdout]   = help: this function's return type contains a borrowed value, but there is no value for it to be borrowed from
[INFO] [stdout] help: consider using the `'static` lifetime, but this is uncommon unless you're returning a borrowed value from a `const` or a `static`
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn dangle() -> &'static String { //返回字符串的引用
[INFO] [stdout]   |                 +++++++
[INFO] [stdout] help: instead, you are more likely to want to return an owned value
[INFO] [stdout]   |
[INFO] [stdout] 3 - fn dangle() -> &String { //返回字符串的引用
[INFO] [stdout] 3 + fn dangle() -> String { //返回字符串的引用
[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 E0106`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/ch2/8_2_trait.rs - ch2::trait_mod::notify (line 115) stdout ----
[INFO] [stdout] error[E0405]: cannot find trait `Summary` in this scope
[INFO] [stdout]  --> src/ch2/8_2_trait.rs:116:18
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn notify<T: Summary>(item: &T) {
[INFO] [stdout]   |                  ^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]   |
[INFO] [stdout] 2 + use head_first_rust::ch2::trait_mod::Summary;
[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 E0405`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/ch2/6_3_match_scene.rs - ch2::match_scene::basic (line 29) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `VALUE` in this scope
[INFO] [stdout]  --> src/ch2/6_3_match_scene.rs:30:7
[INFO] [stdout]   |
[INFO] [stdout] 3 | match VALUE {
[INFO] [stdout]   |       ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EXPRESSION` in this scope
[INFO] [stdout]  --> src/ch2/6_3_match_scene.rs:31:17
[INFO] [stdout]   |
[INFO] [stdout] 4 |      PATTERN => EXPRESSION,
[INFO] [stdout]   |                 ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EXPRESSION` in this scope
[INFO] [stdout]  --> src/ch2/6_3_match_scene.rs:32:17
[INFO] [stdout]   |
[INFO] [stdout] 5 |      PATTERN => EXPRESSION,
[INFO] [stdout]   |                 ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EXPRESSION` in this scope
[INFO] [stdout]  --> src/ch2/6_3_match_scene.rs:33:17
[INFO] [stdout]   |
[INFO] [stdout] 6 |      PATTERN => EXPRESSION,
[INFO] [stdout]   |                 ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 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/ch2/8_3_trait_obj.rs - ch2::trait_obj::trait_obj_def (line 145) stdout ----
[INFO] [stdout] error[E0405]: cannot find trait `Draw` in this scope
[INFO] [stdout]  --> src/ch2/8_3_trait_obj.rs:146:17
[INFO] [stdout]   |
[INFO] [stdout] 3 | fn draw3(x: dyn Draw) {
[INFO] [stdout]   |                 ^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]   |
[INFO] [stdout] 2 + use head_first_rust::ch2::trait_obj::Draw;
[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 E0405`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/ch2/3_2_ref_or_borrow.rs - ch2::ref_or_borrow::nll (line 72) stdout ----
[INFO] [stdout] error[E0506]: cannot assign to `x` because it is borrowed
[INFO] [stdout]  --> src/ch2/3_2_ref_or_borrow.rs:76:8
[INFO] [stdout]   |
[INFO] [stdout] 4 |        let y = &x;
[INFO] [stdout]   |                -- `x` is borrowed here
[INFO] [stdout] 5 |        x += 1; // Error in Rust 2015
[INFO] [stdout]   |        ^^^^^^ `x` is assigned to here but it was already borrowed
[INFO] [stdout] 6 |        println!("{}", y);
[INFO] [stdout]   |                       - borrow later used here
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0506`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/ch2/6_3_match_scene.rs - ch2::match_scene::basic (line 46) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `SOME_VALUE` in this scope
[INFO] [stdout]  --> src/ch2/6_3_match_scene.rs:47:18
[INFO] [stdout]   |
[INFO] [stdout] 3 | if let PATTERN = SOME_VALUE {
[INFO] [stdout]   |                  ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/ch2/6_3_match_scene.rs - ch2::match_scene::basic (line 37) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `VALUE` in this scope
[INFO] [stdout]  --> src/ch2/6_3_match_scene.rs:38:7
[INFO] [stdout]   |
[INFO] [stdout] 3 | match VALUE {
[INFO] [stdout]   |       ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EXPRESSION` in this scope
[INFO] [stdout]  --> src/ch2/6_3_match_scene.rs:39:16
[INFO] [stdout]   |
[INFO] [stdout] 4 |     PATTERN => EXPRESSION,
[INFO] [stdout]   |                ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EXPRESSION` in this scope
[INFO] [stdout]  --> src/ch2/6_3_match_scene.rs:40:16
[INFO] [stdout]   |
[INFO] [stdout] 5 |     PATTERN => EXPRESSION,
[INFO] [stdout]   |                ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EXPRESSION` in this scope
[INFO] [stdout]  --> src/ch2/6_3_match_scene.rs:41:10
[INFO] [stdout]   |
[INFO] [stdout] 6 |     _ => EXPRESSION,
[INFO] [stdout]   |          ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 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/ch2/6_1_match_if_let.rs - ch2::match_if_let::match_demo (line 50) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `target` in this scope
[INFO] [stdout]  --> src/ch2/6_1_match_if_let.rs:51:7
[INFO] [stdout]   |
[INFO] [stdout] 3 | match target {
[INFO] [stdout]   |       ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `表达式1` in this scope
[INFO] [stdout]  --> src/ch2/6_1_match_if_let.rs:52:12
[INFO] [stdout]   |
[INFO] [stdout] 4 |     模式1 => 表达式1,
[INFO] [stdout]   |              ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `语句1` in this scope
[INFO] [stdout]  --> src/ch2/6_1_match_if_let.rs:54:9
[INFO] [stdout]   |
[INFO] [stdout] 6 |         语句1;
[INFO] [stdout]   |         ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `语句2` in this scope
[INFO] [stdout]  --> src/ch2/6_1_match_if_let.rs:55:9
[INFO] [stdout]   |
[INFO] [stdout] 7 |         语句2;
[INFO] [stdout]   |         ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `表达式2` in this scope
[INFO] [stdout]  --> src/ch2/6_1_match_if_let.rs:56:9
[INFO] [stdout]   |
[INFO] [stdout] 8 |         表达式2
[INFO] [stdout]   |         ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `表达式3` in this scope
[INFO] [stdout]   --> src/ch2/6_1_match_if_let.rs:58:10
[INFO] [stdout]    |
[INFO] [stdout] 10 |     _ => 表达式3
[INFO] [stdout]    |          ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 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/ch2/8_2_trait.rs - ch2::trait_mod::new_type (line 268) stdout ----
[INFO] [stdout] error[E0405]: cannot find trait `Display` in this scope
[INFO] [stdout]  --> src/ch2/8_2_trait.rs:270:9
[INFO] [stdout]   |
[INFO] [stdout] 4 | impl<T> Display for Vec<T> {
[INFO] [stdout]   |         ^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::fmt::Display;
[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 E0405`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/ch2/3_2_ref_or_borrow.rs - ch2::ref_or_borrow::dangle_ref (line 106)
[INFO] [stdout]     src/ch2/3_2_ref_or_borrow.rs - ch2::ref_or_borrow::nll (line 72)
[INFO] [stdout]     src/ch2/6_1_match_if_let.rs - ch2::match_if_let::match_demo (line 50)
[INFO] [stdout]     src/ch2/6_3_match_scene.rs - ch2::match_scene::basic (line 29)
[INFO] [stdout]     src/ch2/6_3_match_scene.rs - ch2::match_scene::basic (line 37)
[INFO] [stdout]     src/ch2/6_3_match_scene.rs - ch2::match_scene::basic (line 46)
[INFO] [stdout]     src/ch2/8_2_trait.rs - ch2::trait_mod::new_type (line 268)
[INFO] [stdout]     src/ch2/8_2_trait.rs - ch2::trait_mod::notify (line 115)
[INFO] [stdout]     src/ch2/8_3_trait_obj.rs - ch2::trait_obj::trait_obj_def (line 145)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 5 passed; 9 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.79s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "ae6d4fc01de3da20c321dc88bf16ffdf9a14b9411306e5deedc6fd8647a00dc8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ae6d4fc01de3da20c321dc88bf16ffdf9a14b9411306e5deedc6fd8647a00dc8", kill_on_drop: false }`
[INFO] [stdout] ae6d4fc01de3da20c321dc88bf16ffdf9a14b9411306e5deedc6fd8647a00dc8
