[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#9053a8ad740a9e131b53ea98acecf68cf79134fe for pr-137045 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftimonv%2Ftraitobjects-dynclone" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/timonv/traitobjects-dynclone on toolchain 9053a8ad740a9e131b53ea98acecf68cf79134fe [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9053a8ad740a9e131b53ea98acecf68cf79134fe" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-7-tc2/source/Cargo.toml [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" "+9053a8ad740a9e131b53ea98acecf68cf79134fe" "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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+9053a8ad740a9e131b53ea98acecf68cf79134fe" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 256aa36e1247fa7da1fbbd692df0027cf253b3086e505f4e6c70d8e7e1ff7437 [INFO] running `Command { std: "docker" "start" "-a" "256aa36e1247fa7da1fbbd692df0027cf253b3086e505f4e6c70d8e7e1ff7437", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "256aa36e1247fa7da1fbbd692df0027cf253b3086e505f4e6c70d8e7e1ff7437", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "256aa36e1247fa7da1fbbd692df0027cf253b3086e505f4e6c70d8e7e1ff7437", kill_on_drop: false }` [INFO] [stdout] 256aa36e1247fa7da1fbbd692df0027cf253b3086e505f4e6c70d8e7e1ff7437 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+9053a8ad740a9e131b53ea98acecf68cf79134fe" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0623043428a88ca778217783363a96d2dfa53d6175aacf455b8211af08f291a8 [INFO] running `Command { std: "docker" "start" "-a" "0623043428a88ca778217783363a96d2dfa53d6175aacf455b8211af08f291a8", 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.08s [INFO] running `Command { std: "docker" "inspect" "0623043428a88ca778217783363a96d2dfa53d6175aacf455b8211af08f291a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0623043428a88ca778217783363a96d2dfa53d6175aacf455b8211af08f291a8", kill_on_drop: false }` [INFO] [stdout] 0623043428a88ca778217783363a96d2dfa53d6175aacf455b8211af08f291a8