[INFO] cloning repository https://github.com/abigger87/RustAlgorithms [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/abigger87/RustAlgorithms" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fabigger87%2FRustAlgorithms", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fabigger87%2FRustAlgorithms'... [INFO] updating cached repository https://github.com/abigger87/RustAlgorithms [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/abigger87/RustAlgorithms [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/abigger87/RustAlgorithms [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/abigger87/RustAlgorithms [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/abigger87/RustAlgorithms [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/abigger87/RustAlgorithms [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/abigger87/RustAlgorithms [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/abigger87/RustAlgorithms [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/abigger87/RustAlgorithms [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/abigger87/RustAlgorithms [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/abigger87/RustAlgorithms [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/abigger87/RustAlgorithms [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/abigger87/RustAlgorithms [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached repository https://github.com/abigger87/RustAlgorithms [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 14e3bd073f08fc24757d3aea4abaad3f9d198d48 [INFO] checking abigger87/RustAlgorithms against master#ea6ab1bd845790fb31ba790d2c7aec898f89fe62 for pr-99880 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fabigger87%2FRustAlgorithms" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 29% (1156/3949) Updating files: 30% (1185/3949) Updating files: 31% (1225/3949) Updating files: 32% (1264/3949) Updating files: 33% (1304/3949) Updating files: 34% (1343/3949) Updating files: 35% (1383/3949) Updating files: 36% (1422/3949) Updating files: 37% (1462/3949) Updating files: 38% (1501/3949) Updating files: 39% (1541/3949) Updating files: 40% (1580/3949) Updating files: 41% (1620/3949) Updating files: 42% (1659/3949) Updating files: 43% (1699/3949) Updating files: 44% (1738/3949) Updating files: 45% (1778/3949) Updating files: 46% (1817/3949) Updating files: 47% (1857/3949) Updating files: 48% (1896/3949) Updating files: 49% (1936/3949) Updating files: 50% (1975/3949) Updating files: 51% (2014/3949) Updating files: 52% (2054/3949) Updating files: 53% (2093/3949) Updating files: 54% (2133/3949) Updating files: 55% (2172/3949) Updating files: 56% (2212/3949) Updating files: 57% (2251/3949) Updating files: 58% (2291/3949) Updating files: 59% (2330/3949) Updating files: 60% (2370/3949) Updating files: 61% (2409/3949) Updating files: 62% (2449/3949) Updating files: 63% (2488/3949) Updating files: 64% (2528/3949) Updating files: 65% (2567/3949) Updating files: 66% (2607/3949) Updating files: 67% (2646/3949) Updating files: 68% (2686/3949) Updating files: 69% (2725/3949) Updating files: 70% (2765/3949) Updating files: 71% (2804/3949) Updating files: 72% (2844/3949) Updating files: 73% (2883/3949) Updating files: 74% (2923/3949) Updating files: 75% (2962/3949) Updating files: 76% (3002/3949) Updating files: 77% (3041/3949) Updating files: 78% (3081/3949) Updating files: 79% (3120/3949) Updating files: 80% (3160/3949) Updating files: 81% (3199/3949) Updating files: 82% (3239/3949) Updating files: 83% (3278/3949) Updating files: 84% (3318/3949) Updating files: 85% (3357/3949) Updating files: 86% (3397/3949) Updating files: 87% (3436/3949) Updating files: 88% (3476/3949) Updating files: 89% (3515/3949) Updating files: 90% (3555/3949) Updating files: 91% (3594/3949) Updating files: 92% (3634/3949) Updating files: 93% (3673/3949) Updating files: 94% (3713/3949) Updating files: 95% (3752/3949) Updating files: 96% (3792/3949) Updating files: 97% (3831/3949) Updating files: 98% (3871/3949) Updating files: 99% (3910/3949) Updating files: 100% (3949/3949) Updating files: 100% (3949/3949), done. [INFO] validating manifest of git repo https://github.com/abigger87/RustAlgorithms on toolchain ea6ab1bd845790fb31ba790d2c7aec898f89fe62 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ea6ab1bd845790fb31ba790d2c7aec898f89fe62" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/abigger87/RustAlgorithms [INFO] finished tweaking git repo https://github.com/abigger87/RustAlgorithms [INFO] tweaked toml for git repo https://github.com/abigger87/RustAlgorithms written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/abigger87/RustAlgorithms already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ea6ab1bd845790fb31ba790d2c7aec898f89fe62" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:ecb52c4cf6672b83cc996368a05b4a059042425f2b6ba9cd23a06cdead5d8d70" "/opt/rustwide/cargo-home/bin/cargo" "+ea6ab1bd845790fb31ba790d2c7aec898f89fe62" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] be80019c280990fc2236ae61c1e8352464882568946c310bc7c6ebc6179c27a4 [INFO] running `Command { std: "docker" "start" "-a" "be80019c280990fc2236ae61c1e8352464882568946c310bc7c6ebc6179c27a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "be80019c280990fc2236ae61c1e8352464882568946c310bc7c6ebc6179c27a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be80019c280990fc2236ae61c1e8352464882568946c310bc7c6ebc6179c27a4", kill_on_drop: false }` [INFO] [stdout] be80019c280990fc2236ae61c1e8352464882568946c310bc7c6ebc6179c27a4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ecb52c4cf6672b83cc996368a05b4a059042425f2b6ba9cd23a06cdead5d8d70" "/opt/rustwide/cargo-home/bin/cargo" "+ea6ab1bd845790fb31ba790d2c7aec898f89fe62" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 101ca9f77da6f744fb653df98393076ed5d1fdfefe509ddcd357c564eaf00c93 [INFO] running `Command { std: "docker" "start" "-a" "101ca9f77da6f744fb653df98393076ed5d1fdfefe509ddcd357c564eaf00c93", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.90 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Checking restaurant v0.1.0 (/opt/rustwide/workdir/restaurant) [INFO] [stdout] warning: function `serve_order` is never used [INFO] [stdout] --> restaurant/src/lib.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn serve_order() {} [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `eat_at_restaurant` is never used [INFO] [stdout] --> restaurant/src/lib.rs:8:4 [INFO] [stdout] | [INFO] [stdout] 8 | fn eat_at_restaurant() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fix_incorrect_order` is never used [INFO] [stdout] --> restaurant/src/back_of_house.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn fix_incorrect_order() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cook_order` is never used [INFO] [stdout] --> restaurant/src/back_of_house.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | fn cook_order() {} [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Soup` and `Salad` are never constructed [INFO] [stdout] --> restaurant/src/back_of_house.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum Appetizer { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 9 | Soup, [INFO] [stdout] | ^^^^ [INFO] [stdout] 10 | Salad, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Appetizer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `seasonal_fruit` is never read [INFO] [stdout] --> restaurant/src/back_of_house.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Breakfast { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 14 | pub toast: String, [INFO] [stdout] 15 | seasonal_fruit: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `seat_at_table` is never used [INFO] [stdout] --> restaurant/src/front_of_house.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | fn seat_at_table() {} [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `take_order` is never used [INFO] [stdout] --> restaurant/src/front_of_house.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | fn take_order() {} [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `serve_order` is never used [INFO] [stdout] --> restaurant/src/front_of_house.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | fn serve_order() {} [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `take_payment` is never used [INFO] [stdout] --> restaurant/src/front_of_house.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | fn take_payment() {} [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Checking rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `secret_number` [INFO] [stdout] --> src/main.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | let secret_number = rand::thread_rng().gen_range(1, 101); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_secret_number` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `secret_number` [INFO] [stdout] --> src/main.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | let secret_number = rand::thread_rng().gen_range(1, 101); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_secret_number` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.59s [INFO] running `Command { std: "docker" "inspect" "101ca9f77da6f744fb653df98393076ed5d1fdfefe509ddcd357c564eaf00c93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "101ca9f77da6f744fb653df98393076ed5d1fdfefe509ddcd357c564eaf00c93", kill_on_drop: false }` [INFO] [stdout] 101ca9f77da6f744fb653df98393076ed5d1fdfefe509ddcd357c564eaf00c93