[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 try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjopalach%2Flegato" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jopalach/legato on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "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-5/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" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3318e5320f7e8fdb7c5532cc9af438dba53805055b25182f9e686559c4cfe0d8 [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" "3318e5320f7e8fdb7c5532cc9af438dba53805055b25182f9e686559c4cfe0d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3318e5320f7e8fdb7c5532cc9af438dba53805055b25182f9e686559c4cfe0d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3318e5320f7e8fdb7c5532cc9af438dba53805055b25182f9e686559c4cfe0d8", kill_on_drop: false }` [INFO] [stdout] 3318e5320f7e8fdb7c5532cc9af438dba53805055b25182f9e686559c4cfe0d8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] ad409a035c9435f507b3fbad23d0a7d242586423dd03d0693c11a21fcfefbda6 [INFO] running `Command { std: "docker" "start" "-a" "ad409a035c9435f507b3fbad23d0a7d242586423dd03d0693c11a21fcfefbda6", 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 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[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] [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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "ad409a035c9435f507b3fbad23d0a7d242586423dd03d0693c11a21fcfefbda6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad409a035c9435f507b3fbad23d0a7d242586423dd03d0693c11a21fcfefbda6", kill_on_drop: false }` [INFO] [stdout] ad409a035c9435f507b3fbad23d0a7d242586423dd03d0693c11a21fcfefbda6