[INFO] fetching crate nasm 0.0.1... [INFO] checking nasm-0.0.1 against try#575650af7d7ca88602df28e39d27bf3e456c306e for pr-80579 [INFO] extracting crate nasm 0.0.1 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate nasm 0.0.1 on toolchain 575650af7d7ca88602df28e39d27bf3e456c306e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+575650af7d7ca88602df28e39d27bf3e456c306e" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate nasm 0.0.1 [INFO] finished tweaking crates.io crate nasm 0.0.1 [INFO] tweaked toml for crates.io crate nasm 0.0.1 written to /workspace/builds/worker-8/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+575650af7d7ca88602df28e39d27bf3e456c306e" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+575650af7d7ca88602df28e39d27bf3e456c306e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+575650af7d7ca88602df28e39d27bf3e456c306e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f30518a1d2376c0a20e8963dfc8efae31eb4f001c2201d99ea70e8769952d16a [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" "f30518a1d2376c0a20e8963dfc8efae31eb4f001c2201d99ea70e8769952d16a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f30518a1d2376c0a20e8963dfc8efae31eb4f001c2201d99ea70e8769952d16a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f30518a1d2376c0a20e8963dfc8efae31eb4f001c2201d99ea70e8769952d16a", kill_on_drop: false }` [INFO] [stdout] f30518a1d2376c0a20e8963dfc8efae31eb4f001c2201d99ea70e8769952d16a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+575650af7d7ca88602df28e39d27bf3e456c306e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7acbcf55b114f1437876aeba1b0db41779981f6064c81804ef74f43f298581eb [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" "7acbcf55b114f1437876aeba1b0db41779981f6064c81804ef74f43f298581eb", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking nasm 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[E0433]: failed to resolve: could not find `fs` in `io` [INFO] [stdout] --> src/lib.rs:34:18 [INFO] [stdout] | [INFO] [stdout] 34 | std::io::fs::mkdir_recursive(&obj.dir_path(), std::io::USER_RWX).unwrap(); [INFO] [stdout] | ^^ could not find `fs` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `getenv` in module `os` [INFO] [stdout] --> src/lib.rs:17:22 [INFO] [stdout] | [INFO] [stdout] 17 | 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:19:25 [INFO] [stdout] | [INFO] [stdout] 19 | 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 `Path` [INFO] [stdout] --> src/lib.rs:25:15 [INFO] [stdout] | [INFO] [stdout] 25 | 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:25:29 [INFO] [stdout] | [INFO] [stdout] 25 | 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[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/lib.rs:27:15 [INFO] [stdout] | [INFO] [stdout] 27 | 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:27:29 [INFO] [stdout] | [INFO] [stdout] 27 | 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[E0425]: cannot find value `USER_RWX` in module `std::io` [INFO] [stdout] --> src/lib.rs:34:64 [INFO] [stdout] | [INFO] [stdout] 34 | std::io::fs::mkdir_recursive(&obj.dir_path(), std::io::USER_RWX).unwrap(); [INFO] [stdout] | ^^^^^^^^ not found in `std::io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `getenv` in module `os` [INFO] [stdout] --> src/lib.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | os::getenv("AR").unwrap_or("ar".to_string()) [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[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[E0433]: failed to resolve: could not find `fs` in `io` [INFO] [stdout] --> src/lib.rs:34:18 [INFO] [stdout] | [INFO] [stdout] 34 | std::io::fs::mkdir_recursive(&obj.dir_path(), std::io::USER_RWX).unwrap(); [INFO] [stdout] | ^^ could not find `fs` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `getenv` in module `os` [INFO] [stdout] --> src/lib.rs:17:22 [INFO] [stdout] | [INFO] [stdout] 17 | 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:19:25 [INFO] [stdout] | [INFO] [stdout] 19 | 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 `Path` [INFO] [stdout] --> src/lib.rs:25:15 [INFO] [stdout] | [INFO] [stdout] 25 | 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:25:29 [INFO] [stdout] | [INFO] [stdout] 25 | 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[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/lib.rs:27:15 [INFO] [stdout] | [INFO] [stdout] 27 | 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:27:29 [INFO] [stdout] | [INFO] [stdout] 27 | 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[E0425]: cannot find value `USER_RWX` in module `std::io` [INFO] [stdout] --> src/lib.rs:34:64 [INFO] [stdout] | [INFO] [stdout] 34 | std::io::fs::mkdir_recursive(&obj.dir_path(), std::io::USER_RWX).unwrap(); [INFO] [stdout] | ^^^^^^^^ not found in `std::io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `getenv` in module `os` [INFO] [stdout] --> src/lib.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | os::getenv("AR").unwrap_or("ar".to_string()) [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[E0599]: no method named `slice` found for reference `&str` in the current scope [INFO] [stdout] --> src/lib.rs:45:21 [INFO] [stdout] | [INFO] [stdout] 45 | output.slice(3, output.len() - 2)); [INFO] [stdout] | ^^^^^ method not found in `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `nasm` [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 `slice` found for reference `&str` in the current scope [INFO] [stdout] --> src/lib.rs:45:21 [INFO] [stdout] | [INFO] [stdout] 45 | output.slice(3, output.len() - 2)); [INFO] [stdout] | ^^^^^ method not found in `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433, E0599. [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" "7acbcf55b114f1437876aeba1b0db41779981f6064c81804ef74f43f298581eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7acbcf55b114f1437876aeba1b0db41779981f6064c81804ef74f43f298581eb", kill_on_drop: false }` [INFO] [stdout] 7acbcf55b114f1437876aeba1b0db41779981f6064c81804ef74f43f298581eb