[INFO] cloning repository https://github.com/nicohman/carbon
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nicohman/carbon" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnicohman%2Fcarbon", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnicohman%2Fcarbon'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] fc78e9cd355415edbfbea87aada6dcee6cdec8d1
[INFO] checking nicohman/carbon against try#0bdee9e879c87b7211d316e9152109cfd46c576b for pr-150097
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnicohman%2Fcarbon" "/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/nicohman/carbon
[INFO] finished tweaking git repo https://github.com/nicohman/carbon
[INFO] tweaked toml for git repo https://github.com/nicohman/carbon written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/nicohman/carbon on toolchain 0bdee9e879c87b7211d316e9152109cfd46c576b
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0bdee9e879c87b7211d316e9152109cfd46c576b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/nicohman/carbon 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" "+0bdee9e879c87b7211d316e9152109cfd46c576b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[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] 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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0bdee9e879c87b7211d316e9152109cfd46c576b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 33f5f1d14d7f938150c804444f63f68ed3f0eeae4d2c6c116fb60c5b8237592d
[INFO] running `Command { std: "docker" "start" "-a" "33f5f1d14d7f938150c804444f63f68ed3f0eeae4d2c6c116fb60c5b8237592d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "33f5f1d14d7f938150c804444f63f68ed3f0eeae4d2c6c116fb60c5b8237592d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "33f5f1d14d7f938150c804444f63f68ed3f0eeae4d2c6c116fb60c5b8237592d", kill_on_drop: false }`
[INFO] [stdout] 33f5f1d14d7f938150c804444f63f68ed3f0eeae4d2c6c116fb60c5b8237592d
[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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0bdee9e879c87b7211d316e9152109cfd46c576b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 00def2f7960762becca10b6f3f6b2c3d9de5130a9b0ddba54e7743246d3f0db9
[INFO] running `Command { std: "docker" "start" "-a" "00def2f7960762becca10b6f3f6b2c3d9de5130a9b0ddba54e7743246d3f0db9", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]     Checking carbon v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::str::FromStr`
[INFO] [stdout]  --> src/bin/carbon.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::str::FromStr;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0283]: type annotations needed
[INFO] [stdout]    --> src/bin/carbon.rs:110:13
[INFO] [stdout]     |
[INFO] [stdout] 110 |             String::from(vec[0].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/bin/carbon.rs:110:33
[INFO] [stdout]     |
[INFO] [stdout] 110 |             String::from(vec[0].as_ref()),
[INFO] [stdout]     |                                 ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: multiple `impl`s satisfying `String: AsRef<_>` found in the following crates: `alloc`, `std`:
[INFO] [stdout]             - impl AsRef<OsStr> for String;
[INFO] [stdout]             - impl AsRef<Path> for String;
[INFO] [stdout]             - impl AsRef<[u8]> for String;
[INFO] [stdout]             - impl AsRef<str> for String;
[INFO] [stdout] help: try using a fully qualified path to specify the expected types
[INFO] [stdout]     |
[INFO] [stdout] 110 -             String::from(vec[0].as_ref()),
[INFO] [stdout] 110 +             String::from(<String as AsRef<T>>::as_ref(&vec[0])),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0283]: type annotations needed
[INFO] [stdout]    --> src/bin/carbon.rs:111:33
[INFO] [stdout]     |
[INFO] [stdout] 111 |             String::from(vec[1].as_ref()),
[INFO] [stdout]     |                                 ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: multiple `impl`s satisfying `String: AsRef<_>` found in the following crates: `alloc`, `std`:
[INFO] [stdout]             - impl AsRef<OsStr> for String;
[INFO] [stdout]             - impl AsRef<Path> for String;
[INFO] [stdout]             - impl AsRef<[u8]> for String;
[INFO] [stdout]             - impl AsRef<str> for String;
[INFO] [stdout] help: try using a fully qualified path to specify the expected types
[INFO] [stdout]     |
[INFO] [stdout] 111 -             String::from(vec[1].as_ref()),
[INFO] [stdout] 111 +             String::from(<String as AsRef<T>>::as_ref(&vec[1])),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0283]: type annotations needed
[INFO] [stdout]    --> src/bin/carbon.rs:112:33
[INFO] [stdout]     |
[INFO] [stdout] 112 |             String::from(vec[2].as_ref()),
[INFO] [stdout]     |                                 ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: multiple `impl`s satisfying `String: AsRef<_>` found in the following crates: `alloc`, `std`:
[INFO] [stdout]             - impl AsRef<OsStr> for String;
[INFO] [stdout]             - impl AsRef<Path> for String;
[INFO] [stdout]             - impl AsRef<[u8]> for String;
[INFO] [stdout]             - impl AsRef<str> for String;
[INFO] [stdout] help: try using a fully qualified path to specify the expected types
[INFO] [stdout]     |
[INFO] [stdout] 112 -             String::from(vec[2].as_ref()),
[INFO] [stdout] 112 +             String::from(<String as AsRef<T>>::as_ref(&vec[2])),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::str::FromStr`
[INFO] [stdout]  --> src/bin/carbon.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::str::FromStr;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0283]: type annotations needed
[INFO] [stdout]    --> src/bin/carbon.rs:138:33
[INFO] [stdout]     |
[INFO] [stdout] 138 |         let camp = String::from(String::from(name.as_ref()) + "\n" + &sys + "\n" + &desc);
[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/bin/carbon.rs:138:51
[INFO] [stdout]     |
[INFO] [stdout] 138 |         let camp = String::from(String::from(name.as_ref()) + "\n" + &sys + "\n" + &desc);
[INFO] [stdout]     |                                                   ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: multiple `impl`s satisfying `String: AsRef<_>` found in the following crates: `alloc`, `std`:
[INFO] [stdout]             - impl AsRef<OsStr> for String;
[INFO] [stdout]             - impl AsRef<Path> for String;
[INFO] [stdout]             - impl AsRef<[u8]> for String;
[INFO] [stdout]             - impl AsRef<str> for String;
[INFO] [stdout] help: try using a fully qualified path to specify the expected types
[INFO] [stdout]     |
[INFO] [stdout] 138 -         let camp = String::from(String::from(name.as_ref()) + "\n" + &sys + "\n" + &desc);
[INFO] [stdout] 138 +         let camp = String::from(String::from(<String as AsRef<T>>::as_ref(&name)) + "\n" + &sys + "\n" + &desc);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `disp`
[INFO] [stdout]   --> src/bin/carbon.rs:81:23
[INFO] [stdout]    |
[INFO] [stdout] 81 | fn gen_npc(sys: &str, disp: bool) {
[INFO] [stdout]    |                       ^^^^ help: if this is intentional, prefix it with an underscore: `_disp`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0283`.
[INFO] [stdout] 
[INFO] [stdout] error[E0283]: type annotations needed
[INFO] [stdout]    --> src/bin/carbon.rs:110:13
[INFO] [stdout]     |
[INFO] [stdout] 110 |             String::from(vec[0].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/bin/carbon.rs:110:33
[INFO] [stdout]     |
[INFO] [stdout] 110 |             String::from(vec[0].as_ref()),
[INFO] [stdout]     |                                 ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: multiple `impl`s satisfying `String: AsRef<_>` found in the following crates: `alloc`, `std`:
[INFO] [stdout]             - impl AsRef<OsStr> for String;
[INFO] [stdout]             - impl AsRef<Path> for String;
[INFO] [stdout]             - impl AsRef<[u8]> for String;
[INFO] [stdout]             - impl AsRef<str> for String;
[INFO] [stdout] help: try using a fully qualified path to specify the expected types
[INFO] [stdout]     |
[INFO] [stdout] 110 -             String::from(vec[0].as_ref()),
[INFO] [stdout] 110 +             String::from(<String as AsRef<T>>::as_ref(&vec[0])),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0283]: type annotations needed
[INFO] [stdout]    --> src/bin/carbon.rs:111:33
[INFO] [stdout]     |
[INFO] [stdout] 111 |             String::from(vec[1].as_ref()),
[INFO] [stdout]     |                                 ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: multiple `impl`s satisfying `String: AsRef<_>` found in the following crates: `alloc`, `std`:
[INFO] [stdout]             - impl AsRef<OsStr> for String;
[INFO] [stdout]             - impl AsRef<Path> for String;
[INFO] [stdout]             - impl AsRef<[u8]> for String;
[INFO] [stdout]             - impl AsRef<str> for String;
[INFO] [stdout] help: try using a fully qualified path to specify the expected types
[INFO] [stdout]     |
[INFO] [stdout] 111 -             String::from(vec[1].as_ref()),
[INFO] [stdout] 111 +             String::from(<String as AsRef<T>>::as_ref(&vec[1])),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0283]: type annotations needed
[INFO] [stdout]    --> src/bin/carbon.rs:112:33
[INFO] [stdout]     |
[INFO] [stdout] 112 |             String::from(vec[2].as_ref()),
[INFO] [stdout]     |                                 ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: multiple `impl`s satisfying `String: AsRef<_>` found in the following crates: `alloc`, `std`:
[INFO] [stdout]             - impl AsRef<OsStr> for String;
[INFO] [stdout]             - impl AsRef<Path> for String;
[INFO] [stdout]             - impl AsRef<[u8]> for String;
[INFO] [stdout]             - impl AsRef<str> for String;
[INFO] [stdout] help: try using a fully qualified path to specify the expected types
[INFO] [stdout]     |
[INFO] [stdout] 112 -             String::from(vec[2].as_ref()),
[INFO] [stdout] 112 +             String::from(<String as AsRef<T>>::as_ref(&vec[2])),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0283]: type annotations needed
[INFO] [stdout]    --> src/bin/carbon.rs:138:33
[INFO] [stdout]     |
[INFO] [stdout] 138 |         let camp = String::from(String::from(name.as_ref()) + "\n" + &sys + "\n" + &desc);
[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/bin/carbon.rs:138:51
[INFO] [stdout]     |
[INFO] [stdout] 138 |         let camp = String::from(String::from(name.as_ref()) + "\n" + &sys + "\n" + &desc);
[INFO] [stdout]     |                                                   ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: multiple `impl`s satisfying `String: AsRef<_>` found in the following crates: `alloc`, `std`:
[INFO] [stdout]             - impl AsRef<OsStr> for String;
[INFO] [stdout]             - impl AsRef<Path> for String;
[INFO] [stdout]             - impl AsRef<[u8]> for String;
[INFO] [stdout]             - impl AsRef<str> for String;
[INFO] [stdout] help: try using a fully qualified path to specify the expected types
[INFO] [stdout]     |
[INFO] [stdout] 138 -         let camp = String::from(String::from(name.as_ref()) + "\n" + &sys + "\n" + &desc);
[INFO] [stdout] 138 +         let camp = String::from(String::from(<String as AsRef<T>>::as_ref(&name)) + "\n" + &sys + "\n" + &desc);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `carbon` (bin "carbon" test) due to 6 previous errors; 2 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unused variable: `disp`
[INFO] [stdout]   --> src/bin/carbon.rs:81:23
[INFO] [stdout]    |
[INFO] [stdout] 81 | fn gen_npc(sys: &str, disp: bool) {
[INFO] [stdout]    |                       ^^^^ help: if this is intentional, prefix it with an underscore: `_disp`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0283`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `carbon` (bin "carbon") due to 6 previous errors; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "00def2f7960762becca10b6f3f6b2c3d9de5130a9b0ddba54e7743246d3f0db9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "00def2f7960762becca10b6f3f6b2c3d9de5130a9b0ddba54e7743246d3f0db9", kill_on_drop: false }`
[INFO] [stdout] 00def2f7960762becca10b6f3f6b2c3d9de5130a9b0ddba54e7743246d3f0db9
