[INFO] fetching crate nasm 0.0.1... [INFO] checking nasm-0.0.1 against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] extracting crate nasm 0.0.1 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate nasm 0.0.1 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 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-7/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "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-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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] e6733c00f4c09ccb3dfa7c845671a673c407c859a890b1cea7b810fc1547eb10 [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" "e6733c00f4c09ccb3dfa7c845671a673c407c859a890b1cea7b810fc1547eb10", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e6733c00f4c09ccb3dfa7c845671a673c407c859a890b1cea7b810fc1547eb10", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e6733c00f4c09ccb3dfa7c845671a673c407c859a890b1cea7b810fc1547eb10", kill_on_drop: false }` [INFO] [stdout] e6733c00f4c09ccb3dfa7c845671a673c407c859a890b1cea7b810fc1547eb10 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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] [stdout] f45a02a587d637cc3721b4e1c4ea322ad14f022967d605d39b885e15d3eecbbc [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" "f45a02a587d637cc3721b4e1c4ea322ad14f022967d605d39b885e15d3eecbbc", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [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] [stderr] error: could not compile `nasm` [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] [stderr] [INFO] [stdout] error: aborting due to 12 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [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: build failed [INFO] running `Command { std: "docker" "inspect" "f45a02a587d637cc3721b4e1c4ea322ad14f022967d605d39b885e15d3eecbbc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f45a02a587d637cc3721b4e1c4ea322ad14f022967d605d39b885e15d3eecbbc", kill_on_drop: false }` [INFO] [stdout] f45a02a587d637cc3721b4e1c4ea322ad14f022967d605d39b885e15d3eecbbc