[INFO] cloning repository https://github.com/widmogrod/rust-playground [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/widmogrod/rust-playground" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwidmogrod%2Frust-playground", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwidmogrod%2Frust-playground'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 55d83ce6e3003ca60ae90b8989a771a7f2ce0770 [INFO] checking widmogrod/rust-playground against master#4c5f6e6277b89e47d73a192078697f7a5f3dc0ac for pr-97086 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwidmogrod%2Frust-playground" "/workspace/builds/worker-60/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-60/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/widmogrod/rust-playground on toolchain 4c5f6e6277b89e47d73a192078697f7a5f3dc0ac [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4c5f6e6277b89e47d73a192078697f7a5f3dc0ac" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/widmogrod/rust-playground [INFO] finished tweaking git repo https://github.com/widmogrod/rust-playground [INFO] tweaked toml for git repo https://github.com/widmogrod/rust-playground written to /workspace/builds/worker-60/source/Cargo.toml [INFO] crate git repo https://github.com/widmogrod/rust-playground already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4c5f6e6277b89e47d73a192078697f7a5f3dc0ac" "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-60/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-60/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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+4c5f6e6277b89e47d73a192078697f7a5f3dc0ac" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 763a3fe7e67941225e13e458fd0d73dc352d680753a695824b0ae3cd763a73a6 [INFO] running `Command { std: "docker" "start" "-a" "763a3fe7e67941225e13e458fd0d73dc352d680753a695824b0ae3cd763a73a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "763a3fe7e67941225e13e458fd0d73dc352d680753a695824b0ae3cd763a73a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "763a3fe7e67941225e13e458fd0d73dc352d680753a695824b0ae3cd763a73a6", kill_on_drop: false }` [INFO] [stdout] 763a3fe7e67941225e13e458fd0d73dc352d680753a695824b0ae3cd763a73a6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-60/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-60/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" "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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+4c5f6e6277b89e47d73a192078697f7a5f3dc0ac" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ed6d64d31921a2257330a75407ae154515e09274150cabd4a31ad88c30826d7f [INFO] running `Command { std: "docker" "start" "-a" "ed6d64d31921a2257330a75407ae154515e09274150cabd4a31ad88c30826d7f", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking playground v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variant is never constructed: `EmptyCart` [INFO] [stdout] --> src/ply/ddd.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | EmptyCart, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `ShoppingCart` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/ply/ddd.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug, PartialEq)] [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: variant is never constructed: `ActiveCart` [INFO] [stdout] --> src/ply/ddd.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | ActiveCart(UnpayedItems), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ShoppingCart` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/ply/ddd.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug, PartialEq)] [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: variant is never constructed: `PaidCart` [INFO] [stdout] --> src/ply/ddd.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | PaidCart(PayedItems, PaymentMethod) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ShoppingCart` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/ply/ddd.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug, PartialEq)] [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: function is never used: `new_cart` [INFO] [stdout] --> src/ply/ddd.rs:26:4 [INFO] [stdout] | [INFO] [stdout] 26 | fn new_cart() -> ShoppingCart { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `items_in_cart` [INFO] [stdout] --> src/ply/ddd.rs:30:4 [INFO] [stdout] | [INFO] [stdout] 30 | fn items_in_cart(c: ShoppingCart) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `add_to_cart` [INFO] [stdout] --> src/ply/ddd.rs:39:4 [INFO] [stdout] | [INFO] [stdout] 39 | fn add_to_cart(c: ShoppingCart, i: Item) -> ShoppingCart { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `PaidCart` [INFO] [stdout] --> src/ply/ddd.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | PaidCart(PayedItems, PaymentMethod) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `ShoppingCart` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/ply/ddd.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug, PartialEq)] [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: function is never used: `items_in_cart` [INFO] [stdout] --> src/ply/ddd.rs:30:4 [INFO] [stdout] | [INFO] [stdout] 30 | fn items_in_cart(c: ShoppingCart) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 28.54s [INFO] running `Command { std: "docker" "inspect" "ed6d64d31921a2257330a75407ae154515e09274150cabd4a31ad88c30826d7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ed6d64d31921a2257330a75407ae154515e09274150cabd4a31ad88c30826d7f", kill_on_drop: false }` [INFO] [stdout] ed6d64d31921a2257330a75407ae154515e09274150cabd4a31ad88c30826d7f