[INFO] cloning repository https://github.com/jopalach/legato [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jopalach/legato" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjopalach%2Flegato", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjopalach%2Flegato'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 746ceda042853f9a4b8a5d7b273ced4a2b9a76a1 [INFO] checking jopalach/legato against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjopalach%2Flegato" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jopalach/legato on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jopalach/legato [INFO] finished tweaking git repo https://github.com/jopalach/legato [INFO] tweaked toml for git repo https://github.com/jopalach/legato written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/jopalach/legato already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 71adafbbbc4bfff18fffa5e1c52ecc28ba6ddded31c31e2203e43c0bc3954cd0 [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" "71adafbbbc4bfff18fffa5e1c52ecc28ba6ddded31c31e2203e43c0bc3954cd0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "71adafbbbc4bfff18fffa5e1c52ecc28ba6ddded31c31e2203e43c0bc3954cd0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "71adafbbbc4bfff18fffa5e1c52ecc28ba6ddded31c31e2203e43c0bc3954cd0", kill_on_drop: false }` [INFO] [stdout] 71adafbbbc4bfff18fffa5e1c52ecc28ba6ddded31c31e2203e43c0bc3954cd0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 00fc1b6aed5e41906dc5edcc5b028118c2efd531a4e6ae241c962d946a2bb78d [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" "00fc1b6aed5e41906dc5edcc5b028118c2efd531a4e6ae241c962d946a2bb78d", kill_on_drop: false }` [INFO] [stderr] Checking legato v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `std::io::process` [INFO] [stdout] --> src/compiler/common.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::process::{ProcessOutput}; [INFO] [stdout] | ^^^^^^^ could not find `process` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::io::IoResult` [INFO] [stdout] --> src/compiler/common.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::{IoResult}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `IoResult` in `io` [INFO] [stdout] | help: a similar name exists in the module: `Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::io::process` [INFO] [stdout] --> src/compiler/gcc.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::process::{Command, ProcessOutput}; [INFO] [stdout] | ^^^^^^^ could not find `process` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::io::IoResult` [INFO] [stdout] --> src/compiler/gcc.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::{IoResult}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `IoResult` in `io` [INFO] [stdout] | help: a similar name exists in the module: `Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::str::StrExt` [INFO] [stdout] --> src/compiler/gcc.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::str::StrExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ no `StrExt` in `str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::io::process` [INFO] [stdout] --> src/compiler/common.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::process::{ProcessOutput}; [INFO] [stdout] | ^^^^^^^ could not find `process` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::io::IoResult` [INFO] [stdout] --> src/compiler/common.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::{IoResult}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `IoResult` in `io` [INFO] [stdout] | help: a similar name exists in the module: `Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::io::process` [INFO] [stdout] --> src/compiler/gcc.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::process::{Command, ProcessOutput}; [INFO] [stdout] | ^^^^^^^ could not find `process` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::io::IoResult` [INFO] [stdout] --> src/compiler/gcc.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::{IoResult}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `IoResult` in `io` [INFO] [stdout] | help: a similar name exists in the module: `Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::str::StrExt` [INFO] [stdout] --> src/compiler/gcc.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::str::StrExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ no `StrExt` in `str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope [INFO] [stdout] --> src/compiler/gcc.rs:26:50 [INFO] [stdout] | [INFO] [stdout] 26 | let mut compiler = Command::new(self.exe.as_slice()); [INFO] [stdout] | ^^^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for reference `&String` in the current scope [INFO] [stdout] --> src/compiler/gcc.rs:29:30 [INFO] [stdout] | [INFO] [stdout] 29 | compiler.arg(arg.as_slice()); [INFO] [stdout] | ^^^^^^^^ method not found in `&String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `legato` [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] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope [INFO] [stdout] --> src/compiler/gcc.rs:26:50 [INFO] [stdout] | [INFO] [stdout] 26 | let mut compiler = Command::new(self.exe.as_slice()); [INFO] [stdout] | ^^^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for reference `&String` in the current scope [INFO] [stdout] --> src/compiler/gcc.rs:29:30 [INFO] [stdout] | [INFO] [stdout] 29 | compiler.arg(arg.as_slice()); [INFO] [stdout] | ^^^^^^^^ method not found in `&String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "00fc1b6aed5e41906dc5edcc5b028118c2efd531a4e6ae241c962d946a2bb78d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "00fc1b6aed5e41906dc5edcc5b028118c2efd531a4e6ae241c962d946a2bb78d", kill_on_drop: false }` [INFO] [stdout] 00fc1b6aed5e41906dc5edcc5b028118c2efd531a4e6ae241c962d946a2bb78d