[INFO] fetching crate neutron_kernel 0.1.1... [INFO] checking neutron_kernel-0.1.1 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate neutron_kernel 0.1.1 into /workspace/builds/worker-2-tc2/source [INFO] removed /workspace/builds/worker-2-tc2/source/.cargo/config.toml [INFO] removed /workspace/builds/worker-2-tc2/source/rust-toolchain [INFO] started tweaking crates.io crate neutron_kernel 0.1.1 [INFO] finished tweaking crates.io crate neutron_kernel 0.1.1 [INFO] tweaked toml for crates.io crate neutron_kernel 0.1.1 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate neutron_kernel 0.1.1 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 8 packages to latest compatible versions [INFO] [stderr] Adding linked_list_allocator v0.9.1 (available: v0.10.5) [INFO] [stderr] Adding spin v0.9.8 (available: v0.10.0) [INFO] [stderr] Adding volatile v0.4.6 (available: v0.6.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: the cargo feature `named-profiles` has been stabilized in the 1.57 release and is no longer necessary to be listed in the manifest [INFO] [stderr] See https://doc.rust-lang.org/nightly/cargo/reference/profiles.html#custom-profiles for more information about using this feature. [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d65d34da0a7553714ffea2bc78346ac7bf3626381475daf3e306942aa9c64e3e [INFO] running `Command { std: "docker" "start" "-a" "d65d34da0a7553714ffea2bc78346ac7bf3626381475daf3e306942aa9c64e3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d65d34da0a7553714ffea2bc78346ac7bf3626381475daf3e306942aa9c64e3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d65d34da0a7553714ffea2bc78346ac7bf3626381475daf3e306942aa9c64e3e", kill_on_drop: false }` [INFO] [stdout] d65d34da0a7553714ffea2bc78346ac7bf3626381475daf3e306942aa9c64e3e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eeab18b1a8642886b2d17dbd9be036709593b39845868f4a4e2f2cfa7781f288 [INFO] running `Command { std: "docker" "start" "-a" "eeab18b1a8642886b2d17dbd9be036709593b39845868f4a4e2f2cfa7781f288", kill_on_drop: false }` [INFO] [stderr] warning: the cargo feature `named-profiles` has been stabilized in the 1.57 release and is no longer necessary to be listed in the manifest [INFO] [stderr] See https://doc.rust-lang.org/nightly/cargo/reference/profiles.html#custom-profiles for more information about using this feature. [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking volatile v0.4.6 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking spinning_top v0.2.5 [INFO] [stderr] Checking linked_list_allocator v0.9.1 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking neutron_kernel v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `std` [INFO] [stdout] --> src/types/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::{vec, vec::Vec, string::String, result::Result}; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `std` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `std`, use `cargo add std` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std` [INFO] [stdout] --> src/types/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::{vec, vec::Vec, string::String, result::Result}; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `std` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `std`, use `cargo add std` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `println` in this scope [INFO] [stdout] --> src/test.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | println!("checking compiler sanity"); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `println` in this scope [INFO] [stdout] --> src/test.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | println!("nice, basics out of the way!"); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `println` in this scope [INFO] [stdout] --> src/test.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | println!("created a process!"); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `println` in this scope [INFO] [stdout] --> src/test.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | println!("{}", byte.content[0]); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `process` [INFO] [stdout] --> src/test.rs:21:19 [INFO] [stdout] | [INFO] [stdout] 21 | let process = process::Process; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `process` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/process/mod.rs, use `mod process` in this file to declare the module [INFO] [stdout] --> src/lib.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 + mod process; [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 12 + use crate::process; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `RD_ONLY` should have an upper camel case name [INFO] [stdout] --> src/process/mod.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | FULL, RD_ONLY, RD_WRITE, NONE [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `RdOnly` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `RD_WRITE` should have an upper camel case name [INFO] [stdout] --> src/process/mod.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | FULL, RD_ONLY, RD_WRITE, NONE [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `RdWrite` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::option::Option` [INFO] [stdout] --> src/types/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use core::option::Option; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `panic_impl` [INFO] [stdout] --> src/lib.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | / pub fn panic(_info: &PanicInfo) -> ! { [INFO] [stdout] 21 | | loop {} [INFO] [stdout] 22 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `std` (which `test` depends on) [INFO] [stdout] = note: first definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-9fbdd90241d2d923.rlib [INFO] [stdout] = note: second definition in the local crate (`neutron_kernel`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0152, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0152`. [INFO] [stdout] [INFO] [stderr] error: could not compile `neutron_kernel` (lib test) due to 8 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: cannot find macro `vec` in this scope [INFO] [stdout] --> src/types/mod.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | vec!(*self) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these macros [INFO] [stdout] | [INFO] [stdout] 15 + use crate::vec; [INFO] [stdout] | [INFO] [stdout] 15 + use alloc::vec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `vec` in this scope [INFO] [stdout] --> src/types/mod.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | vec!(*self != 0) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these macros [INFO] [stdout] | [INFO] [stdout] 15 + use crate::vec; [INFO] [stdout] | [INFO] [stdout] 15 + use alloc::vec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `vec` in this scope [INFO] [stdout] --> src/types/mod.rs:70:24 [INFO] [stdout] | [INFO] [stdout] 70 | Bytes{content: vec!(i)} [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these macros [INFO] [stdout] | [INFO] [stdout] 15 + use crate::vec; [INFO] [stdout] | [INFO] [stdout] 15 + use alloc::vec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec` in this scope [INFO] [stdout] --> src/types/mod.rs:18:14 [INFO] [stdout] | [INFO] [stdout] 18 | content: Vec [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 15 + use crate::Vec; [INFO] [stdout] | [INFO] [stdout] 15 + use alloc::vec::Vec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec` in this scope [INFO] [stdout] --> src/types/mod.rs:22:27 [INFO] [stdout] | [INFO] [stdout] 22 | fn condense(&self) -> Vec; [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 15 + use crate::Vec; [INFO] [stdout] | [INFO] [stdout] 15 + use alloc::vec::Vec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec` in this scope [INFO] [stdout] --> src/types/mod.rs:26:27 [INFO] [stdout] | [INFO] [stdout] 26 | fn condense(&self) -> Vec { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 15 + use crate::Vec; [INFO] [stdout] | [INFO] [stdout] 15 + use alloc::vec::Vec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec` in this scope [INFO] [stdout] --> src/types/mod.rs:33:27 [INFO] [stdout] | [INFO] [stdout] 33 | fn condense(&self) -> Vec { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 15 + use crate::Vec; [INFO] [stdout] | [INFO] [stdout] 15 + use alloc::vec::Vec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec` in this scope [INFO] [stdout] --> src/types/mod.rs:52:18 [INFO] [stdout] | [INFO] [stdout] 52 | pub content: Vec [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 15 + use crate::Vec; [INFO] [stdout] | [INFO] [stdout] 15 + use alloc::vec::Vec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: no global memory allocator found but one is required; link to std or add `#[global_allocator]` to a static item that implements the GlobalAlloc trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `RD_ONLY` should have an upper camel case name [INFO] [stdout] --> src/process/mod.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | FULL, RD_ONLY, RD_WRITE, NONE [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `RdOnly` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `RD_WRITE` should have an upper camel case name [INFO] [stdout] --> src/process/mod.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | FULL, RD_ONLY, RD_WRITE, NONE [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `RdWrite` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::option::Option` [INFO] [stdout] --> src/types/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use core::option::Option; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `neutron_kernel` (lib) due to 9 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "eeab18b1a8642886b2d17dbd9be036709593b39845868f4a4e2f2cfa7781f288", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eeab18b1a8642886b2d17dbd9be036709593b39845868f4a4e2f2cfa7781f288", kill_on_drop: false }` [INFO] [stdout] eeab18b1a8642886b2d17dbd9be036709593b39845868f4a4e2f2cfa7781f288