[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 beta-2025-09-21 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-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/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-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/ZhongChan/head_first_rust on toolchain beta-2025-09-21
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "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" "+beta-2025-09-21" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 5486f94b3f53df8cbda419c51645008a50e4c3c3fe7ade7cbe95d3c2a7a6c0bd
[INFO] running `Command { std: "docker" "start" "-a" "5486f94b3f53df8cbda419c51645008a50e4c3c3fe7ade7cbe95d3c2a7a6c0bd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5486f94b3f53df8cbda419c51645008a50e4c3c3fe7ade7cbe95d3c2a7a6c0bd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5486f94b3f53df8cbda419c51645008a50e4c3c3fe7ade7cbe95d3c2a7a6c0bd", kill_on_drop: false }`
[INFO] [stdout] 5486f94b3f53df8cbda419c51645008a50e4c3c3fe7ade7cbe95d3c2a7a6c0bd
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=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" "+beta-2025-09-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7867edae8158ef0e280017484d535b0e61142679443d308f7fafec409d3e86af
[INFO] running `Command { std: "docker" "start" "-a" "7867edae8158ef0e280017484d535b0e61142679443d308f7fafec409d3e86af", 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.73s
[INFO] running `Command { std: "docker" "inspect" "7867edae8158ef0e280017484d535b0e61142679443d308f7fafec409d3e86af", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7867edae8158ef0e280017484d535b0e61142679443d308f7fafec409d3e86af", kill_on_drop: false }`
[INFO] [stdout] 7867edae8158ef0e280017484d535b0e61142679443d308f7fafec409d3e86af
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=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" "+beta-2025-09-21" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 74b907c5f4d4b4f2572d9b3a090335e23bc4f81b5ea8c35dfd38a529201a149a
[INFO] running `Command { std: "docker" "start" "-a" "74b907c5f4d4b4f2572d9b3a090335e23bc4f81b5ea8c35dfd38a529201a149a", 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.16s
[INFO] running `Command { std: "docker" "inspect" "74b907c5f4d4b4f2572d9b3a090335e23bc4f81b5ea8c35dfd38a529201a149a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "74b907c5f4d4b4f2572d9b3a090335e23bc4f81b5ea8c35dfd38a529201a149a", kill_on_drop: false }`
[INFO] [stdout] 74b907c5f4d4b4f2572d9b3a090335e23bc4f81b5ea8c35dfd38a529201a149a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=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" "+beta-2025-09-21" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 65e7a498db6058d3f6f560c535f2729e7f2bdcd515568a3903fe85d0ab63b8e4
[INFO] running `Command { std: "docker" "start" "-a" "65e7a498db6058d3f6f560c535f2729e7f2bdcd515568a3903fe85d0ab63b8e4", kill_on_drop: false }`
[INFO] [stderr] warning: unexpected `cfg` condition value: `example`
[INFO] [stderr]    --> src/ch2/8_2_trait.rs:241:7
[INFO] [stderr]     |
[INFO] [stderr] 241 | #[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]     = 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.02s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/head_first_rust-139d88bbe61c2a7a)
[INFO] [stdout] running 0 tests
[INFO] [stderr]      Running unittests src/bin/1_0_variable.rs (/opt/rustwide/target/debug/deps/ch2_1-8f1bc5627ad82825)
[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/10_0_lifetime.rs (/opt/rustwide/target/debug/deps/ch2_10_0-d4c2b0e57a140a8c)
[INFO] [stderr]      Running unittests src/bin/2_0_basic_type.rs (/opt/rustwide/target/debug/deps/ch2_2-942794a0504f1874)
[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_1_number.rs (/opt/rustwide/target/debug/deps/ch2_2_1-8b3b4b4e435cf728)
[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-153d1959b25e0422)
[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_3_expression.rs (/opt/rustwide/target/debug/deps/ch2_2_3-39786db1c7135948)
[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_4_function.rs (/opt/rustwide/target/debug/deps/ch2_2_4-a0950a2f29442170)
[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-688bbebeefd05df9)
[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_2_ref_or_borrow.rs (/opt/rustwide/target/debug/deps/ch2_3_2-4e47c88bc7ecb093)
[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-8070143ed66fc920)
[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_2_tuple.rs (/opt/rustwide/target/debug/deps/ch2_4_2-55027ebc815b32c9)
[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_3_struct.rs (/opt/rustwide/target/debug/deps/ch2_4_3-065e333218bea61c)
[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_4_enum.rs (/opt/rustwide/target/debug/deps/ch2_4_4-2531528f77e46059)
[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.rs (/opt/rustwide/target/debug/deps/ch2_4_5-fad6d2c7b23c45b3)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/bin/4_5_array_input.rs (/opt/rustwide/target/debug/deps/ch2_4_5_2-78975f939cebdf9a)
[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-31002317d3cd9b3e)
[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/6_1_match_if_let.rs (/opt/rustwide/target/debug/deps/ch2_6_1-aa854fb77bedbbf9)
[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/6_3_match_scene.rs (/opt/rustwide/target/debug/deps/ch2_6_3-7017d02a5b4640a6)
[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-4cfdc79f07697f98)
[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-093718aacaf1c5bf)
[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-bd3cbde34336912e)
[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-d0ce4fcef754b660)
[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-ecdce5530aaba446)
[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-018069363aa31712)
[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-9ae3d1ac839c476b)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests head_first_rust
[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 14 tests
[INFO] [stdout] test src/ch2/6_3_match_scene.rs - ch2::match_scene::basic (line 37) ... FAILED
[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/8_2_trait.rs - ch2::trait_mod::new_type (line 268) ... 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/8_1_generics.rs - ch2::generics::enum_generics (line 97) ... ok
[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 29) ... 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/2_2_char_bool_unit.rs - ch2::char_bool_unit::unit_type (line 54) ... ok
[INFO] [stdout] test src/ch2/6_3_match_scene.rs - ch2::match_scene::func_args (line 91) ... ok
[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/4_4_enum.rs - ch2::enumeration::enum_option (line 108) ... ok
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[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/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/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] ---- 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 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/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_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] 
[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.44s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "65e7a498db6058d3f6f560c535f2729e7f2bdcd515568a3903fe85d0ab63b8e4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "65e7a498db6058d3f6f560c535f2729e7f2bdcd515568a3903fe85d0ab63b8e4", kill_on_drop: false }`
[INFO] [stdout] 65e7a498db6058d3f6f560c535f2729e7f2bdcd515568a3903fe85d0ab63b8e4
