[INFO] cloning repository https://github.com/LiamHauchard/rust_book [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LiamHauchard/rust_book" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLiamHauchard%2Frust_book", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLiamHauchard%2Frust_book'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2d5d31cee35cb110188792724c79582f2dec1e84 [INFO] testing LiamHauchard/rust_book against beta-2022-02-22 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLiamHauchard%2Frust_book" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/LiamHauchard/rust_book on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/LiamHauchard/rust_book [INFO] finished tweaking git repo https://github.com/LiamHauchard/rust_book [INFO] tweaked toml for git repo https://github.com/LiamHauchard/rust_book written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/LiamHauchard/rust_book already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] ceba413a586bc67b6c567fae406ef77880908cb08a27e305bd99acd99596a728 [INFO] running `Command { std: "docker" "start" "-a" "ceba413a586bc67b6c567fae406ef77880908cb08a27e305bd99acd99596a728", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ceba413a586bc67b6c567fae406ef77880908cb08a27e305bd99acd99596a728", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ceba413a586bc67b6c567fae406ef77880908cb08a27e305bd99acd99596a728", kill_on_drop: false }` [INFO] [stdout] ceba413a586bc67b6c567fae406ef77880908cb08a27e305bd99acd99596a728 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 7ffbbaae88527dab8e27fa3bf013ccfa337a01faf830c2c5706fce7acf67ac48 [INFO] running `Command { std: "docker" "start" "-a" "7ffbbaae88527dab8e27fa3bf013ccfa337a01faf830c2c5706fce7acf67ac48", kill_on_drop: false }` [INFO] [stderr] Compiling rust_book v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function is never used: `days_of_christmas` [INFO] [stdout] --> src/chapter_3/mod.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn days_of_christmas() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `first_word` [INFO] [stdout] --> src/chapter_4/mod.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn first_word<'a>(s: &str) -> &str { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `height` [INFO] [stdout] --> src/chapter_5/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | height: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Rectangle` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/chapter_5/mod.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `width` [INFO] [stdout] --> src/chapter_5/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | width: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Rectangle` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/chapter_5/mod.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/chapter_5/mod.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn new(height: u32, width: u32) -> Rectangle { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `area` [INFO] [stdout] --> src/chapter_5/mod.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn area(&self) -> u32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `can_hold` [INFO] [stdout] --> src/chapter_5/mod.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn can_hold(&self, rec: &Rectangle) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.71s [INFO] running `Command { std: "docker" "inspect" "7ffbbaae88527dab8e27fa3bf013ccfa337a01faf830c2c5706fce7acf67ac48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ffbbaae88527dab8e27fa3bf013ccfa337a01faf830c2c5706fce7acf67ac48", kill_on_drop: false }` [INFO] [stdout] 7ffbbaae88527dab8e27fa3bf013ccfa337a01faf830c2c5706fce7acf67ac48 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eb19ae63f329346cb15850fbc047cd8a82363eb20729d60181eb9bcd04dd1ced [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "eb19ae63f329346cb15850fbc047cd8a82363eb20729d60181eb9bcd04dd1ced", kill_on_drop: false }` [INFO] [stderr] Compiling rust_book v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function is never used: `days_of_christmas` [INFO] [stdout] --> src/chapter_3/mod.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn days_of_christmas() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `first_word` [INFO] [stdout] --> src/chapter_4/mod.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn first_word<'a>(s: &str) -> &str { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `height` [INFO] [stdout] --> src/chapter_5/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | height: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Rectangle` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/chapter_5/mod.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `width` [INFO] [stdout] --> src/chapter_5/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | width: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Rectangle` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/chapter_5/mod.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/chapter_5/mod.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn new(height: u32, width: u32) -> Rectangle { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `area` [INFO] [stdout] --> src/chapter_5/mod.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn area(&self) -> u32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `can_hold` [INFO] [stdout] --> src/chapter_5/mod.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn can_hold(&self, rec: &Rectangle) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.94s [INFO] running `Command { std: "docker" "inspect" "eb19ae63f329346cb15850fbc047cd8a82363eb20729d60181eb9bcd04dd1ced", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb19ae63f329346cb15850fbc047cd8a82363eb20729d60181eb9bcd04dd1ced", kill_on_drop: false }` [INFO] [stdout] eb19ae63f329346cb15850fbc047cd8a82363eb20729d60181eb9bcd04dd1ced [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 403c64895d6f24d546569582b6cfcfa82260cf573651c724057af16265b683f7 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "403c64895d6f24d546569582b6cfcfa82260cf573651c724057af16265b683f7", kill_on_drop: false }` [INFO] [stdout] [INFO] [stderr] warning: function is never used: `days_of_christmas` [INFO] [stdout] running 0 tests [INFO] [stderr] --> src/chapter_3/mod.rs:17:8 [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] 17 | pub fn days_of_christmas() { [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `first_word` [INFO] [stderr] --> src/chapter_4/mod.rs:1:8 [INFO] [stderr] | [INFO] [stderr] 1 | pub fn first_word<'a>(s: &str) -> &str { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `height` [INFO] [stderr] --> src/chapter_5/mod.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | height: u32, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Rectangle` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/chapter_5/mod.rs:1:10 [INFO] [stderr] | [INFO] [stderr] 1 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `width` [INFO] [stderr] --> src/chapter_5/mod.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | width: u32, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Rectangle` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/chapter_5/mod.rs:1:10 [INFO] [stderr] | [INFO] [stderr] 1 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/chapter_5/mod.rs:8:12 [INFO] [stderr] | [INFO] [stderr] 8 | pub fn new(height: u32, width: u32) -> Rectangle { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `area` [INFO] [stderr] --> src/chapter_5/mod.rs:12:12 [INFO] [stderr] | [INFO] [stderr] 12 | pub fn area(&self) -> u32 { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `can_hold` [INFO] [stderr] --> src/chapter_5/mod.rs:16:12 [INFO] [stderr] | [INFO] [stderr] 16 | pub fn can_hold(&self, rec: &Rectangle) -> bool { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `rust_book` (bin "rust_book" test) generated 7 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/rust_book-8771e75e0af0928b) [INFO] running `Command { std: "docker" "inspect" "403c64895d6f24d546569582b6cfcfa82260cf573651c724057af16265b683f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "403c64895d6f24d546569582b6cfcfa82260cf573651c724057af16265b683f7", kill_on_drop: false }` [INFO] [stdout] 403c64895d6f24d546569582b6cfcfa82260cf573651c724057af16265b683f7