[INFO] fetching crate nasm 0.0.1...
[INFO] checking nasm-0.0.1 against master#30f74ff0dc4d66debc8b50724c446f817e5f75f4 for pr-121848-1
[INFO] extracting crate nasm 0.0.1 into /workspace/builds/worker-6-tc1/source
[INFO] validating manifest of crates.io crate nasm 0.0.1 on toolchain 30f74ff0dc4d66debc8b50724c446f817e5f75f4
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "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-6-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "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" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[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-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 83f4b6236b77fc3886aa64b2c71effc3337883c84865fd2eb545b85f09eebe92
[INFO] running `Command { std: "docker" "start" "-a" "83f4b6236b77fc3886aa64b2c71effc3337883c84865fd2eb545b85f09eebe92", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "83f4b6236b77fc3886aa64b2c71effc3337883c84865fd2eb545b85f09eebe92", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "83f4b6236b77fc3886aa64b2c71effc3337883c84865fd2eb545b85f09eebe92", kill_on_drop: false }`
[INFO] [stdout] 83f4b6236b77fc3886aa64b2c71effc3337883c84865fd2eb545b85f09eebe92
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5fe7e688e9817fbc464f4d54a950e86cf797126a40c2a64d722f2912d488c8a1
[INFO] running `Command { std: "docker" "start" "-a" "5fe7e688e9817fbc464f4d54a950e86cf797126a40c2a64d722f2912d488c8a1", kill_on_drop: false }`
[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::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::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[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: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: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 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] 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[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: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: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 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/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/core/src/str/mod.rs:1746: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/30f74ff0dc4d66debc8b50724c446f817e5f75f4/library/core/src/str/mod.rs:1746: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] For more information about an error, try `rustc --explain E0425`.
[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] 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" "5fe7e688e9817fbc464f4d54a950e86cf797126a40c2a64d722f2912d488c8a1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5fe7e688e9817fbc464f4d54a950e86cf797126a40c2a64d722f2912d488c8a1", kill_on_drop: false }`
[INFO] [stdout] 5fe7e688e9817fbc464f4d54a950e86cf797126a40c2a64d722f2912d488c8a1
