[INFO] cloning repository https://github.com/timonv/traitobjects-dynclone [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/timonv/traitobjects-dynclone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftimonv%2Ftraitobjects-dynclone", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftimonv%2Ftraitobjects-dynclone'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ac91a9ce5e3e8ee69b18ab9771d1958c5ed06b15 [INFO] checking timonv/traitobjects-dynclone against try#e784c10fc2dd34bf2bb7b1e51117e35d3f9c5837 for pr-143619 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftimonv%2Ftraitobjects-dynclone" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/timonv/traitobjects-dynclone [INFO] finished tweaking git repo https://github.com/timonv/traitobjects-dynclone [INFO] tweaked toml for git repo https://github.com/timonv/traitobjects-dynclone written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/timonv/traitobjects-dynclone on toolchain e784c10fc2dd34bf2bb7b1e51117e35d3f9c5837 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e784c10fc2dd34bf2bb7b1e51117e35d3f9c5837" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/timonv/traitobjects-dynclone 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" "+e784c10fc2dd34bf2bb7b1e51117e35d3f9c5837" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+e784c10fc2dd34bf2bb7b1e51117e35d3f9c5837" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7a83db3d28981c1e8a348d72f3c33c0648c0b3fb6e68d146637a9efd3b16cf80 [INFO] running `Command { std: "docker" "start" "-a" "7a83db3d28981c1e8a348d72f3c33c0648c0b3fb6e68d146637a9efd3b16cf80", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7a83db3d28981c1e8a348d72f3c33c0648c0b3fb6e68d146637a9efd3b16cf80", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a83db3d28981c1e8a348d72f3c33c0648c0b3fb6e68d146637a9efd3b16cf80", kill_on_drop: false }` [INFO] [stdout] 7a83db3d28981c1e8a348d72f3c33c0648c0b3fb6e68d146637a9efd3b16cf80 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=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" "+e784c10fc2dd34bf2bb7b1e51117e35d3f9c5837" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f84aaf610e7340c68dafff129ccfc248128d275babf6a96d1f517ca945876ee2 [INFO] running `Command { std: "docker" "start" "-a" "f84aaf610e7340c68dafff129ccfc248128d275babf6a96d1f517ca945876ee2", kill_on_drop: false }` [INFO] [stderr] Checking dyn-clone v1.0.17 [INFO] [stderr] Checking traitobjects-dynclone v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: method `clone_boxed` is never used [INFO] [stdout] --> src/asref_with_dynclone.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 3 | trait MyTrait: DynClone { [INFO] [stdout] | ------- method in this trait [INFO] [stdout] 4 | fn clone_boxed(&self) -> Box [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MyStruct` is never constructed [INFO] [stdout] --> src/asref_with_dynclone.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | struct MyStruct {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MyThing` is never constructed [INFO] [stdout] --> src/asref_with_dynclone.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | struct MyThing { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MyBox` is never constructed [INFO] [stdout] --> src/asref_with_dynclone.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | struct MyBox(T); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/asref_with_dynclone.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl MyThing { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 35 | // This should work [INFO] [stdout] 36 | pub fn new(thing: impl AsRef) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `example` is never used [INFO] [stdout] --> src/asref_with_dynclone.rs:43:4 [INFO] [stdout] | [INFO] [stdout] 43 | fn example() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `MyTrait` is never used [INFO] [stdout] --> src/asref_wo_dynclone_rc.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | trait MyTrait {} [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MyStruct` is never constructed [INFO] [stdout] --> src/asref_wo_dynclone_rc.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | struct MyStruct {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MyThing` is never constructed [INFO] [stdout] --> src/asref_wo_dynclone_rc.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | struct MyThing { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/asref_wo_dynclone_rc.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl MyThing { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 20 | // This should work [INFO] [stdout] 21 | pub fn new(thing: impl AsRef) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/asref_wo_dynclone_rc.rs:29:4 [INFO] [stdout] | [INFO] [stdout] 29 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `clone_boxed` is never used [INFO] [stdout] --> src/asref_with_dynclone.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 3 | trait MyTrait: DynClone { [INFO] [stdout] | ------- method in this trait [INFO] [stdout] 4 | fn clone_boxed(&self) -> Box [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MyStruct` is never constructed [INFO] [stdout] --> src/asref_with_dynclone.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | struct MyStruct {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MyThing` is never constructed [INFO] [stdout] --> src/asref_with_dynclone.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | struct MyThing { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MyBox` is never constructed [INFO] [stdout] --> src/asref_with_dynclone.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | struct MyBox(T); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/asref_with_dynclone.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl MyThing { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 35 | // This should work [INFO] [stdout] 36 | pub fn new(thing: impl AsRef) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `example` is never used [INFO] [stdout] --> src/asref_with_dynclone.rs:43:4 [INFO] [stdout] | [INFO] [stdout] 43 | fn example() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `MyTrait` is never used [INFO] [stdout] --> src/asref_wo_dynclone_rc.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | trait MyTrait {} [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MyStruct` is never constructed [INFO] [stdout] --> src/asref_wo_dynclone_rc.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | struct MyStruct {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MyThing` is never constructed [INFO] [stdout] --> src/asref_wo_dynclone_rc.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | struct MyThing { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/asref_wo_dynclone_rc.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl MyThing { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 20 | // This should work [INFO] [stdout] 21 | pub fn new(thing: impl AsRef) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/asref_wo_dynclone_rc.rs:29:4 [INFO] [stdout] | [INFO] [stdout] 29 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.11s [INFO] running `Command { std: "docker" "inspect" "f84aaf610e7340c68dafff129ccfc248128d275babf6a96d1f517ca945876ee2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f84aaf610e7340c68dafff129ccfc248128d275babf6a96d1f517ca945876ee2", kill_on_drop: false }` [INFO] [stdout] f84aaf610e7340c68dafff129ccfc248128d275babf6a96d1f517ca945876ee2