[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 f4dd856795debe636f2ba39a900f162f5abeb7e8 for pr-160904
[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 f4dd856795debe636f2ba39a900f162f5abeb7e8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f4dd856795debe636f2ba39a900f162f5abeb7e8" "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" "+f4dd856795debe636f2ba39a900f162f5abeb7e8" "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/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3111399a4047eeb3a02b7a90e478d715f38a8c6669b5c4b49d30a17385265909" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 22fa891851e02312637092dc34bc6db629e935d3311d3456d9fe8fc8d0ea4145
[INFO] running `Command { std: "docker" "start" "22fa891851e02312637092dc34bc6db629e935d3311d3456d9fe8fc8d0ea4145", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "22fa891851e02312637092dc34bc6db629e935d3311d3456d9fe8fc8d0ea4145", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "22fa891851e02312637092dc34bc6db629e935d3311d3456d9fe8fc8d0ea4145" "/opt/rustwide/cargo-home/bin/cargo" "+f4dd856795debe636f2ba39a900f162f5abeb7e8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "22fa891851e02312637092dc34bc6db629e935d3311d3456d9fe8fc8d0ea4145", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "22fa891851e02312637092dc34bc6db629e935d3311d3456d9fe8fc8d0ea4145" "/opt/rustwide/cargo-home/bin/cargo" "+f4dd856795debe636f2ba39a900f162f5abeb7e8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", 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<dyn MyTrait>
[INFO] [stdout]   |        ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) 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>(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<T: MyTrait + 'static>(thing: impl AsRef<T>) -> 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<T: MyTrait + Clone + 'static>(thing: impl AsRef<T>) -> 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<dyn MyTrait>
[INFO] [stdout]   |        ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) 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>(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<T: MyTrait + 'static>(thing: impl AsRef<T>) -> 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<T: MyTrait + Clone + 'static>(thing: impl AsRef<T>) -> 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.12s
[INFO] running `Command { std: "docker" "inspect" "22fa891851e02312637092dc34bc6db629e935d3311d3456d9fe8fc8d0ea4145", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "22fa891851e02312637092dc34bc6db629e935d3311d3456d9fe8fc8d0ea4145", kill_on_drop: false }`
[INFO] [stdout] 22fa891851e02312637092dc34bc6db629e935d3311d3456d9fe8fc8d0ea4145
