[INFO] updating cached repository https://github.com/nicohman/carbon [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fc78e9cd355415edbfbea87aada6dcee6cdec8d1 [INFO] checking nicohman/carbon against try#c8bdaa84ec1b37f18f30375e196a65b7602f3790 for pr-73345 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnicohman%2Fcarbon" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nicohman/carbon on toolchain c8bdaa84ec1b37f18f30375e196a65b7602f3790 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "read-manifest" "--manifest-path" "Cargo.toml", 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-12/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" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:6c9ffe128752d56c8d75334ed354142a5229917ed99767f56566dd8e857ad726" "/opt/rustwide/cargo-home/bin/cargo" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1b87357b475c58e946baa15bb7662b408918dcd374ffcb917ca8e8ade499c06b [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "1b87357b475c58e946baa15bb7662b408918dcd374ffcb917ca8e8ade499c06b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1b87357b475c58e946baa15bb7662b408918dcd374ffcb917ca8e8ade499c06b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b87357b475c58e946baa15bb7662b408918dcd374ffcb917ca8e8ade499c06b", kill_on_drop: false }` [INFO] [stdout] 1b87357b475c58e946baa15bb7662b408918dcd374ffcb917ca8e8ade499c06b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:6c9ffe128752d56c8d75334ed354142a5229917ed99767f56566dd8e857ad726" "/opt/rustwide/cargo-home/bin/cargo" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 07b9110ef895a7c292acf997e21e5d106e3f8d2fefc376cf152347a4c5b7ca66 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "07b9110ef895a7c292acf997e21e5d106e3f8d2fefc376cf152347a4c5b7ca66", kill_on_drop: false }` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [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: use of deprecated item '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:25 [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: 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 item '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:25 [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 for `std::vec::Vec` [INFO] [stdout] --> src/bin/carbon.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 91 | let mut vec: Vec; [INFO] [stdout] | ------- consider giving `vec` the explicit type `std::vec::Vec`, where the type parameter `std::string::String` is specified [INFO] [stdout] ... [INFO] [stdout] 110 | String::from(vec[0].as_ref()), [INFO] [stdout] | ^^^^^^^^^^^^ cannot infer type for struct `std::string::String` [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `std::string::String: std::convert::From<&_>` [INFO] [stdout] = note: required by `std::convert::From::from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed for `std::vec::Vec` [INFO] [stdout] --> src/bin/carbon.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 91 | let mut vec: Vec; [INFO] [stdout] | ------- consider giving `vec` the explicit type `std::vec::Vec`, where the type parameter `std::string::String` is specified [INFO] [stdout] ... [INFO] [stdout] 110 | String::from(vec[0].as_ref()), [INFO] [stdout] | ^^^^^^^^^^^^ cannot infer type for struct `std::string::String` [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `std::string::String: std::convert::From<&_>` [INFO] [stdout] = note: required by `std::convert::From::from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed for `std::string::String` [INFO] [stdout] --> src/bin/carbon.rs:138:33 [INFO] [stdout] | [INFO] [stdout] 120 | let mut name = String::new(); [INFO] [stdout] | -------- consider giving `name` a type [INFO] [stdout] ... [INFO] [stdout] 138 | let camp = String::from(String::from(name.as_ref()) + "\n" + &sys + "\n" + &desc); [INFO] [stdout] | ^^^^^^^^^^^^ cannot infer type for struct `std::string::String` [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `std::string::String: std::convert::From<&_>` [INFO] [stdout] = note: required by `std::convert::From::from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 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] error[E0283]: type annotations needed for `std::string::String` [INFO] [stdout] --> src/bin/carbon.rs:138:33 [INFO] [stdout] | [INFO] [stdout] 120 | let mut name = String::new(); [INFO] [stdout] | -------- consider giving `name` a type [INFO] [stdout] ... [INFO] [stdout] 138 | let camp = String::from(String::from(name.as_ref()) + "\n" + &sys + "\n" + &desc); [INFO] [stdout] | ^^^^^^^^^^^^ cannot infer type for struct `std::string::String` [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `std::string::String: std::convert::From<&_>` [INFO] [stdout] = note: required by `std::convert::From::from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 2 warnings emitted [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`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "07b9110ef895a7c292acf997e21e5d106e3f8d2fefc376cf152347a4c5b7ca66", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07b9110ef895a7c292acf997e21e5d106e3f8d2fefc376cf152347a4c5b7ca66", kill_on_drop: false }` [INFO] [stdout] 07b9110ef895a7c292acf997e21e5d106e3f8d2fefc376cf152347a4c5b7ca66