[INFO] fetching crate nasm 0.0.1... [INFO] checking nasm-0.0.1 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate nasm 0.0.1 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate nasm 0.0.1 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-0-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 33210083d04a51b0085a1cd865659e3ed0ee23fde7cd9e380719ad357a63b71f [INFO] running `Command { std: "docker" "start" "-a" "33210083d04a51b0085a1cd865659e3ed0ee23fde7cd9e380719ad357a63b71f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "33210083d04a51b0085a1cd865659e3ed0ee23fde7cd9e380719ad357a63b71f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "33210083d04a51b0085a1cd865659e3ed0ee23fde7cd9e380719ad357a63b71f", kill_on_drop: false }` [INFO] [stdout] 33210083d04a51b0085a1cd865659e3ed0ee23fde7cd9e380719ad357a63b71f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a6af636f40eb182af9a75d46403da02eb1494785bc3e73442ef077fe66e50918 [INFO] running `Command { std: "docker" "start" "-a" "a6af636f40eb182af9a75d46403da02eb1494785bc3e73442ef077fe66e50918", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [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] help: consider importing this struct instead [INFO] [stdout] | [INFO] [stdout] 4 | use std::process::Command; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [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] help: consider importing this struct instead [INFO] [stdout] | [INFO] [stdout] 4 | use std::process::Command; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [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[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] [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] [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] [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] | ^^^^ use of undeclared type `Path` [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:25 [INFO] [stdout] | [INFO] [stdout] 19 | let opt_level = os::getenv("OPT_LEVEL").unwrap(); [INFO] [stdout] | ^^^^^^ not found in `os` [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] [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] | ^^^^ use of undeclared type `Path` [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[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] | ^^^^ use of undeclared type `Path` [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] [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] [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[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] | ^^^^ use of undeclared type `Path` [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] [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] [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] [INFO] [stdout] warning: the feature `if_let` has been stable since 1.0.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(if_let)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `if_let` has been stable since 1.0.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(if_let)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [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] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `split_once` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/str/mod.rs:1717:5 [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] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `split_once` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/str/mod.rs:1717:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [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` (lib) due to 13 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `nasm` (lib test) due to 13 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "a6af636f40eb182af9a75d46403da02eb1494785bc3e73442ef077fe66e50918", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a6af636f40eb182af9a75d46403da02eb1494785bc3e73442ef077fe66e50918", kill_on_drop: false }` [INFO] [stdout] a6af636f40eb182af9a75d46403da02eb1494785bc3e73442ef077fe66e50918