[INFO] cloning repository https://github.com/developerworks/rust-design-patterns [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/developerworks/rust-design-patterns" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdeveloperworks%2Frust-design-patterns", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdeveloperworks%2Frust-design-patterns'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 805621eb6c819d5fe7a6ea30e70dcf549c60e6e0 [INFO] checking developerworks/rust-design-patterns against master#4b596bbd847672da87763b76171687d3544863c2 for pr-144544 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdeveloperworks%2Frust-design-patterns" "/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/developerworks/rust-design-patterns [INFO] finished tweaking git repo https://github.com/developerworks/rust-design-patterns [INFO] tweaked toml for git repo https://github.com/developerworks/rust-design-patterns written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/developerworks/rust-design-patterns on toolchain 4b596bbd847672da87763b76171687d3544863c2 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4b596bbd847672da87763b76171687d3544863c2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/developerworks/rust-design-patterns 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" "+4b596bbd847672da87763b76171687d3544863c2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+4b596bbd847672da87763b76171687d3544863c2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 375bdc22609b064518446592bd34566add5ff8d6d6762209968a0e7512d5e1be [INFO] running `Command { std: "docker" "start" "-a" "375bdc22609b064518446592bd34566add5ff8d6d6762209968a0e7512d5e1be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "375bdc22609b064518446592bd34566add5ff8d6d6762209968a0e7512d5e1be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "375bdc22609b064518446592bd34566add5ff8d6d6762209968a0e7512d5e1be", kill_on_drop: false }` [INFO] [stdout] 375bdc22609b064518446592bd34566add5ff8d6d6762209968a0e7512d5e1be [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=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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+4b596bbd847672da87763b76171687d3544863c2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d77f58fd4bd3b7d8531fd3869a8a6bd5a9704d27a4cd7a33682058d401f7c48d [INFO] running `Command { std: "docker" "start" "-a" "d77f58fd4bd3b7d8531fd3869a8a6bd5a9704d27a4cd7a33682058d401f7c48d", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Checking command-pattern v0.1.0 (/opt/rustwide/workdir/command-pattern) [INFO] [stdout] warning: methods `create` and `register_product` are never used [INFO] [stdout] --> command-pattern/examples/factory_product.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 40 | trait Factory { [INFO] [stdout] | ------- methods in this trait [INFO] [stdout] 41 | type Object; [INFO] [stdout] 42 | fn create(&mut self, manufacturer: String, model: String) -> Box { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | fn register_product(&mut self, product: Box) -> Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `phones` is never read [INFO] [stdout] --> command-pattern/examples/factory_product.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 51 | struct PhoneFactory { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 52 | phones: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.34s [INFO] running `Command { std: "docker" "inspect" "d77f58fd4bd3b7d8531fd3869a8a6bd5a9704d27a4cd7a33682058d401f7c48d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d77f58fd4bd3b7d8531fd3869a8a6bd5a9704d27a4cd7a33682058d401f7c48d", kill_on_drop: false }` [INFO] [stdout] d77f58fd4bd3b7d8531fd3869a8a6bd5a9704d27a4cd7a33682058d401f7c48d