[INFO] cloning repository https://github.com/neoeinstein/new_type_derive
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/neoeinstein/new_type_derive" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fneoeinstein%2Fnew_type_derive", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fneoeinstein%2Fnew_type_derive'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 5e5ea2e86cfe77ac3bd0f817522cdc165ca4fed5
[INFO] checking neoeinstein/new_type_derive against try#24e1a22664233bce1f9b5dc6eee7c1f74327e28c for pr-159343
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fneoeinstein%2Fnew_type_derive" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/neoeinstein/new_type_derive
[INFO] finished tweaking git repo https://github.com/neoeinstein/new_type_derive
[INFO] tweaked toml for git repo https://github.com/neoeinstein/new_type_derive written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/neoeinstein/new_type_derive on toolchain 24e1a22664233bce1f9b5dc6eee7c1f74327e28c
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+24e1a22664233bce1f9b5dc6eee7c1f74327e28c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/neoeinstein/new_type_derive 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" "+24e1a22664233bce1f9b5dc6eee7c1f74327e28c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `new_type_derive` (manifest) generated 1 warning
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded serde_derive v1.0.70
[INFO] [stderr]   Downloaded proc-macro2 v0.4.9
[INFO] [stderr]   Downloaded static_assertions v0.2.5
[INFO] [stderr]   Downloaded quote v0.6.4
[INFO] [stderr]   Downloaded quick-error v1.2.2
[INFO] [stderr]   Downloaded bit-set v0.5.0
[INFO] [stderr]   Downloaded syn v0.14.5
[INFO] [stderr]   Downloaded wait-timeout v0.1.5
[INFO] [stderr]   Downloaded bit-vec v0.5.0
[INFO] [stderr]   Downloaded bincode v1.0.1
[INFO] [stderr]   Downloaded tempfile v3.0.3
[INFO] [stderr]   Downloaded rusty-fork v0.2.0
[INFO] [stderr]   Downloaded byteorder v1.2.3
[INFO] [stderr]   Downloaded serde v1.0.70
[INFO] [stderr]   Downloaded proptest v0.8.4
[INFO] [stderr]   Downloaded regex-syntax v0.6.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] d416462226d94970c54f5bba6cdc274bb953dfb90f211ce0007989c8f9416170
[INFO] running `Command { std: "docker" "start" "d416462226d94970c54f5bba6cdc274bb953dfb90f211ce0007989c8f9416170", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d416462226d94970c54f5bba6cdc274bb953dfb90f211ce0007989c8f9416170", 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" "d416462226d94970c54f5bba6cdc274bb953dfb90f211ce0007989c8f9416170" "/opt/rustwide/cargo-home/bin/cargo" "+24e1a22664233bce1f9b5dc6eee7c1f74327e28c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d416462226d94970c54f5bba6cdc274bb953dfb90f211ce0007989c8f9416170", 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" "d416462226d94970c54f5bba6cdc274bb953dfb90f211ce0007989c8f9416170" "/opt/rustwide/cargo-home/bin/cargo" "+24e1a22664233bce1f9b5dc6eee7c1f74327e28c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `new_type_derive` (manifest) generated 1 warning
[INFO] [stderr]     Checking libc v0.2.42
[INFO] [stderr]     Checking rand_core v0.2.1
[INFO] [stderr]    Compiling serde v1.0.70
[INFO] [stderr]    Compiling proc-macro2 v0.4.9
[INFO] [stderr]    Compiling num-traits v0.2.5
[INFO] [stderr]     Checking remove_dir_all v0.5.1
[INFO] [stderr]     Checking byteorder v1.2.3
[INFO] [stderr]     Checking bit-vec v0.5.0
[INFO] [stderr]     Checking quick-error v1.2.2
[INFO] [stderr]     Checking regex-syntax v0.6.2
[INFO] [stderr]     Checking nodrop v0.1.12
[INFO] [stderr]     Checking bitflags v1.0.3
[INFO] [stderr]     Checking lazy_static v1.0.2
[INFO] [stderr]     Checking static_assertions v0.2.5
[INFO] [stderr]     Checking new_type_derive v0.2.2 (/opt/rustwide/workdir)
[INFO] [stderr]     Checking bit-set v0.5.0
[INFO] [stderr]     Checking rand v0.5.4
[INFO] [stderr]     Checking wait-timeout v0.1.5
[INFO] [stderr]    Compiling quote v0.6.4
[INFO] [stderr]    Compiling syn v0.14.5
[INFO] [stderr]     Checking tempfile v3.0.3
[INFO] [stderr]     Checking rusty-fork v0.2.0
[INFO] [stderr]     Checking proptest v0.8.4
[INFO] [stderr]    Compiling serde_derive v1.0.70
[INFO] [stderr]     Checking bincode v1.0.1
[INFO] [stderr]     Checking arrayvec v0.4.7
[INFO] [stdout] error[E0283]: type annotations needed
[INFO] [stdout]    --> src/new_type_pair.rs:473:25
[INFO] [stdout]     |
[INFO] [stdout] 473 |             let inner = String::from(self.as_ref());
[INFO] [stdout]     |                         ^^^^^^ cannot infer type for reference `&_`
[INFO] [stdout]     |
[INFO] [stdout]     = note: multiple `impl`s satisfying `String: From<&_>` found in the `alloc` crate:
[INFO] [stdout]             - impl From<&String> for String;
[INFO] [stdout]             - impl From<&str> for String;
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0283]: type annotations needed
[INFO] [stdout]    --> src/new_type_pair.rs:473:43
[INFO] [stdout]     |
[INFO] [stdout] 473 |             let inner = String::from(self.as_ref());
[INFO] [stdout]     |                                           ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: multiple `impl`s satisfying `StrWrapRef: AsRef<_>` found
[INFO] [stdout]    --> src/new_type_pair.rs:149:1
[INFO] [stdout]     |
[INFO] [stdout] 149 |   impl ::std::convert::AsRef<$stype> for $rtype {
[INFO] [stdout]     |   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 156 |   impl ::std::convert::AsRef<$rtype> for $rtype {
[INFO] [stdout]     |   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 450 | /     new_type_pair! {
[INFO] [stdout] 451 | |         #[derive(Clone, Debug, Hash, PartialEq, Eq, PartialOrd, Ord)]
[INFO] [stdout] 452 | |         /// And now it's documented!
[INFO] [stdout] 453 | |         pub struct StrWrap(String);
[INFO] [stdout] ...   |
[INFO] [stdout] 457 | |         pub struct StrWrapRef(str);
[INFO] [stdout] 458 | |     }
[INFO] [stdout]     | |_____- in this macro invocation
[INFO] [stdout]     = note: this error originates in the macro `new_type_pair` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: try using a fully qualified path to specify the expected types
[INFO] [stdout]     |
[INFO] [stdout] 473 -             let inner = String::from(self.as_ref());
[INFO] [stdout] 473 +             let inner = String::from(<StrWrapRef as AsRef<T>>::as_ref(self));
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0283`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `new_type_derive` (lib test) due to 2 previous errors
[INFO] running `Command { std: "docker" "inspect" "d416462226d94970c54f5bba6cdc274bb953dfb90f211ce0007989c8f9416170", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d416462226d94970c54f5bba6cdc274bb953dfb90f211ce0007989c8f9416170", kill_on_drop: false }`
[INFO] [stdout] d416462226d94970c54f5bba6cdc274bb953dfb90f211ce0007989c8f9416170
