[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#cac44d9528e3bbbdaa1537d187bd489ccc5de18c for pr-91141 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnicohman%2Fcarbon" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nicohman/carbon on toolchain cac44d9528e3bbbdaa1537d187bd489ccc5de18c [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-11/source/Cargo.toml [INFO] crate git repo https://github.com/nicohman/carbon already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "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-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1ef8b96cb5be66c12c8a9a9e830244a11f2af53643f3046ea43db60ee8e0eddb [INFO] running `Command { std: "docker" "start" "-a" "1ef8b96cb5be66c12c8a9a9e830244a11f2af53643f3046ea43db60ee8e0eddb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1ef8b96cb5be66c12c8a9a9e830244a11f2af53643f3046ea43db60ee8e0eddb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ef8b96cb5be66c12c8a9a9e830244a11f2af53643f3046ea43db60ee8e0eddb", kill_on_drop: false }` [INFO] [stdout] 1ef8b96cb5be66c12c8a9a9e830244a11f2af53643f3046ea43db60ee8e0eddb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f8406b27ec0dcf97090a46244a5f26c3ebe5ab40cec2b55e4da2c21c69161e74 [INFO] running `Command { std: "docker" "start" "-a" "f8406b27ec0dcf97090a46244a5f26c3ebe5ab40cec2b55e4da2c21c69161e74", kill_on_drop: false }` [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)]` on by default [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior is unexpected and probably not what you want. Consider using a crate from crates.io instead. [INFO] [stdout] --> src/bin/carbon.rs:179:30 [INFO] [stdout] | [INFO] [stdout] 179 | return String::from(env::home_dir().unwrap().to_str().unwrap()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior is unexpected and probably not what you want. Consider using a crate from crates.io instead. [INFO] [stdout] --> src/bin/carbon.rs:179:30 [INFO] [stdout] | [INFO] [stdout] 179 | return String::from(env::home_dir().unwrap().to_str().unwrap()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` 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: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] | | cannot infer type for type parameter `T` declared on the trait `AsRef` [INFO] [stdout] | this method call resolves to `&T` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `String: AsRef<_>` found in the following crates: `alloc`, `std`: [INFO] [stdout] - impl AsRef for String; [INFO] [stdout] - impl AsRef for String; [INFO] [stdout] - impl AsRef<[u8]> for String; [INFO] [stdout] - impl AsRef for String; [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/bin/carbon.rs:111:13 [INFO] [stdout] | [INFO] [stdout] 111 | String::from(vec[1].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:111:33 [INFO] [stdout] | [INFO] [stdout] 111 | String::from(vec[1].as_ref()), [INFO] [stdout] | -------^^^^^^-- [INFO] [stdout] | | | [INFO] [stdout] | | cannot infer type for type parameter `T` declared on the trait `AsRef` [INFO] [stdout] | this method call resolves to `&T` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `String: AsRef<_>` found in the following crates: `alloc`, `std`: [INFO] [stdout] - impl AsRef for String; [INFO] [stdout] - impl AsRef for String; [INFO] [stdout] - impl AsRef<[u8]> for String; [INFO] [stdout] - impl AsRef 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] | | cannot infer type for type parameter `T` declared on the trait `AsRef` [INFO] [stdout] | this method call resolves to `&T` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `String: AsRef<_>` found in the following crates: `alloc`, `std`: [INFO] [stdout] - impl AsRef for String; [INFO] [stdout] - impl AsRef for String; [INFO] [stdout] - impl AsRef<[u8]> for String; [INFO] [stdout] - impl AsRef for String; [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/bin/carbon.rs:111:13 [INFO] [stdout] | [INFO] [stdout] 111 | String::from(vec[1].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:112:13 [INFO] [stdout] | [INFO] [stdout] 112 | String::from(vec[2].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:111:33 [INFO] [stdout] | [INFO] [stdout] 111 | String::from(vec[1].as_ref()), [INFO] [stdout] | -------^^^^^^-- [INFO] [stdout] | | | [INFO] [stdout] | | cannot infer type for type parameter `T` declared on the trait `AsRef` [INFO] [stdout] | this method call resolves to `&T` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `String: AsRef<_>` found in the following crates: `alloc`, `std`: [INFO] [stdout] - impl AsRef for String; [INFO] [stdout] - impl AsRef for String; [INFO] [stdout] - impl AsRef<[u8]> for String; [INFO] [stdout] - impl AsRef for String; [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] | | cannot infer type for type parameter `T` declared on the trait `AsRef` [INFO] [stdout] | this method call resolves to `&T` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `String: AsRef<_>` found in the following crates: `alloc`, `std`: [INFO] [stdout] - impl AsRef for String; [INFO] [stdout] - impl AsRef for String; [INFO] [stdout] - impl AsRef<[u8]> for String; [INFO] [stdout] - impl AsRef for String; [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/bin/carbon.rs:112:13 [INFO] [stdout] | [INFO] [stdout] 112 | String::from(vec[2].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:112:33 [INFO] [stdout] | [INFO] [stdout] 112 | String::from(vec[2].as_ref()), [INFO] [stdout] | -------^^^^^^-- [INFO] [stdout] | | | [INFO] [stdout] | | cannot infer type for type parameter `T` declared on the trait `AsRef` [INFO] [stdout] | this method call resolves to `&T` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `String: AsRef<_>` found in the following crates: `alloc`, `std`: [INFO] [stdout] - impl AsRef for String; [INFO] [stdout] - impl AsRef for String; [INFO] [stdout] - impl AsRef<[u8]> for String; [INFO] [stdout] - impl AsRef for String; [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: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] | | cannot infer type for type parameter `T` declared on the trait `AsRef` [INFO] [stdout] | this method call resolves to `&T` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `String: AsRef<_>` found in the following crates: `alloc`, `std`: [INFO] [stdout] - impl AsRef for String; [INFO] [stdout] - impl AsRef for String; [INFO] [stdout] - impl AsRef<[u8]> for String; [INFO] [stdout] - impl AsRef for String; [INFO] [stdout] help: use the fully qualified path for the potential candidates [INFO] [stdout] | [INFO] [stdout] 138 | let camp = String::from(String::from(>::as_ref(name)) + "\n" + &sys + "\n" + &desc); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] 138 | let camp = String::from(String::from(>::as_ref(name)) + "\n" + &sys + "\n" + &desc); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] 138 | let camp = String::from(String::from(>::as_ref(name)) + "\n" + &sys + "\n" + &desc); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] 138 | let camp = String::from(String::from(>::as_ref(name)) + "\n" + &sys + "\n" + &desc); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [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] | | cannot infer type for type parameter `T` declared on the trait `AsRef` [INFO] [stdout] | this method call resolves to `&T` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `String: AsRef<_>` found in the following crates: `alloc`, `std`: [INFO] [stdout] - impl AsRef for String; [INFO] [stdout] - impl AsRef for String; [INFO] [stdout] - impl AsRef<[u8]> for String; [INFO] [stdout] - impl AsRef for String; [INFO] [stdout] help: use the fully qualified path for the potential candidates [INFO] [stdout] | [INFO] [stdout] 138 | let camp = String::from(String::from(>::as_ref(name)) + "\n" + &sys + "\n" + &desc); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] 138 | let camp = String::from(String::from(>::as_ref(name)) + "\n" + &sys + "\n" + &desc); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] 138 | let camp = String::from(String::from(>::as_ref(name)) + "\n" + &sys + "\n" + &desc); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] 138 | let camp = String::from(String::from(>::as_ref(name)) + "\n" + &sys + "\n" + &desc); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0283`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0283`. [INFO] [stdout] [INFO] [stderr] error: could not compile `carbon` due to 9 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "f8406b27ec0dcf97090a46244a5f26c3ebe5ab40cec2b55e4da2c21c69161e74", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f8406b27ec0dcf97090a46244a5f26c3ebe5ab40cec2b55e4da2c21c69161e74", kill_on_drop: false }` [INFO] [stdout] f8406b27ec0dcf97090a46244a5f26c3ebe5ab40cec2b55e4da2c21c69161e74