[INFO] fetching crate ld 0.0.1... [INFO] checking ld-0.0.1 against try#d990716b6a1fdde1300748828a9c9e79dfd0b898 for pr-74846 [INFO] extracting crate ld 0.0.1 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate ld 0.0.1 on toolchain d990716b6a1fdde1300748828a9c9e79dfd0b898 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d990716b6a1fdde1300748828a9c9e79dfd0b898" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate ld 0.0.1 [INFO] finished tweaking crates.io crate ld 0.0.1 [INFO] tweaked toml for crates.io crate ld 0.0.1 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d990716b6a1fdde1300748828a9c9e79dfd0b898" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d990716b6a1fdde1300748828a9c9e79dfd0b898" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+d990716b6a1fdde1300748828a9c9e79dfd0b898" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c205ffdcb8c530ea34df1a540b434cb257753b31a69e2b810c9cde9b4fd0f32a [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" "c205ffdcb8c530ea34df1a540b434cb257753b31a69e2b810c9cde9b4fd0f32a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c205ffdcb8c530ea34df1a540b434cb257753b31a69e2b810c9cde9b4fd0f32a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c205ffdcb8c530ea34df1a540b434cb257753b31a69e2b810c9cde9b4fd0f32a", kill_on_drop: false }` [INFO] [stdout] c205ffdcb8c530ea34df1a540b434cb257753b31a69e2b810c9cde9b4fd0f32a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+d990716b6a1fdde1300748828a9c9e79dfd0b898" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 71f515f74934d9e6e2c5a1c513b51c3040fb47750084053bfe99da640f6ec482 [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" "71f515f74934d9e6e2c5a1c513b51c3040fb47750084053bfe99da640f6ec482", kill_on_drop: false }` [INFO] [stderr] Checking ld v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `std::io::Command` [INFO] [stdout] --> src/lib.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::Command; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ no `Command` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::io::process` [INFO] [stdout] --> src/lib.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::process::InheritFd; [INFO] [stdout] | ^^^^^^^ could not find `process` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::io::Command` [INFO] [stdout] --> src/lib.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::Command; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ no `Command` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::io::process` [INFO] [stdout] --> src/lib.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::process::InheritFd; [INFO] [stdout] | ^^^^^^^ could not find `process` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `getenv` in module `os` [INFO] [stdout] --> src/lib.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | let target = os::getenv("TARGET").unwrap(); [INFO] [stdout] | ^^^^^^ not found in `os` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 3 | use os::unix::process::sys::os::getenv; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `getenv` in module `os` [INFO] [stdout] --> src/lib.rs:15:25 [INFO] [stdout] | [INFO] [stdout] 15 | let opt_level = os::getenv("OPT_LEVEL").unwrap(); [INFO] [stdout] | ^^^^^^ not found in `os` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 3 | use os::unix::process::sys::os::getenv; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Path` [INFO] [stdout] --> src/lib.rs:19:15 [INFO] [stdout] | [INFO] [stdout] 19 | let dst = Path::new(os::getenv("OUT_DIR").unwrap()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `getenv` in module `os` [INFO] [stdout] --> src/lib.rs:19:29 [INFO] [stdout] | [INFO] [stdout] 19 | let dst = Path::new(os::getenv("OUT_DIR").unwrap()); [INFO] [stdout] | ^^^^^^ not found in `os` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 3 | use os::unix::process::sys::os::getenv; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Path` [INFO] [stdout] --> src/lib.rs:21:15 [INFO] [stdout] | [INFO] [stdout] 21 | let src = Path::new(os::getenv("CARGO_MANIFEST_DIR").unwrap()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `getenv` in module `os` [INFO] [stdout] --> src/lib.rs:21:29 [INFO] [stdout] | [INFO] [stdout] 21 | let src = Path::new(os::getenv("CARGO_MANIFEST_DIR").unwrap()); [INFO] [stdout] | ^^^^^^ not found in `os` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 3 | use os::unix::process::sys::os::getenv; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `getenv` in module `os` [INFO] [stdout] --> src/lib.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | let target = os::getenv("TARGET").unwrap(); [INFO] [stdout] | ^^^^^^ not found in `os` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 3 | use os::unix::process::sys::os::getenv; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `getenv` in module `os` [INFO] [stdout] --> src/lib.rs:15:25 [INFO] [stdout] | [INFO] [stdout] 15 | let opt_level = os::getenv("OPT_LEVEL").unwrap(); [INFO] [stdout] | ^^^^^^ not found in `os` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 3 | use os::unix::process::sys::os::getenv; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Path` [INFO] [stdout] --> src/lib.rs:19:15 [INFO] [stdout] | [INFO] [stdout] 19 | let dst = Path::new(os::getenv("OUT_DIR").unwrap()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `getenv` in module `os` [INFO] [stdout] --> src/lib.rs:19:29 [INFO] [stdout] | [INFO] [stdout] 19 | let dst = Path::new(os::getenv("OUT_DIR").unwrap()); [INFO] [stdout] | ^^^^^^ not found in `os` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 3 | use os::unix::process::sys::os::getenv; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Path` [INFO] [stdout] --> src/lib.rs:21:15 [INFO] [stdout] | [INFO] [stdout] 21 | let src = Path::new(os::getenv("CARGO_MANIFEST_DIR").unwrap()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `getenv` in module `os` [INFO] [stdout] --> src/lib.rs:21:29 [INFO] [stdout] | [INFO] [stdout] 21 | let src = Path::new(os::getenv("CARGO_MANIFEST_DIR").unwrap()); [INFO] [stdout] | ^^^^^^ not found in `os` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 3 | use os::unix::process::sys::os::getenv; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ld`. [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: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "71f515f74934d9e6e2c5a1c513b51c3040fb47750084053bfe99da640f6ec482", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "71f515f74934d9e6e2c5a1c513b51c3040fb47750084053bfe99da640f6ec482", kill_on_drop: false }` [INFO] [stdout] 71f515f74934d9e6e2c5a1c513b51c3040fb47750084053bfe99da640f6ec482