[INFO] fetching crate neutron_kernel 0.1.1... [INFO] testing neutron_kernel-0.1.1 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate neutron_kernel 0.1.1 into /workspace/builds/worker-1-tc2/source [INFO] removed /workspace/builds/worker-1-tc2/source/.cargo/config.toml [INFO] removed /workspace/builds/worker-1-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-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate neutron_kernel 0.1.1 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fb60bee152a96c7edf0a0722a8d1f9da12afd5ea98fd36c558aa99a37f1d14c8 [INFO] running `Command { std: "docker" "start" "-a" "fb60bee152a96c7edf0a0722a8d1f9da12afd5ea98fd36c558aa99a37f1d14c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fb60bee152a96c7edf0a0722a8d1f9da12afd5ea98fd36c558aa99a37f1d14c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb60bee152a96c7edf0a0722a8d1f9da12afd5ea98fd36c558aa99a37f1d14c8", kill_on_drop: false }` [INFO] [stdout] fb60bee152a96c7edf0a0722a8d1f9da12afd5ea98fd36c558aa99a37f1d14c8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0bcdc3408f118311d2fbaa644a7862369361527679145a794306ee0d443eddfc [INFO] running `Command { std: "docker" "start" "-a" "0bcdc3408f118311d2fbaa644a7862369361527679145a794306ee0d443eddfc", 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 scopeguard v1.2.0 [INFO] [stderr] Compiling volatile v0.4.6 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling spinning_top v0.2.5 [INFO] [stderr] Compiling linked_list_allocator v0.9.1 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling neutron_kernel v0.1.1 (/opt/rustwide/workdir) [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] [stderr] error: could not compile `neutron_kernel` (lib) due to 9 previous errors; 3 warnings emitted [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)]` (part of `#[warn(nonstandard_style)]`) 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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "0bcdc3408f118311d2fbaa644a7862369361527679145a794306ee0d443eddfc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0bcdc3408f118311d2fbaa644a7862369361527679145a794306ee0d443eddfc", kill_on_drop: false }` [INFO] [stdout] 0bcdc3408f118311d2fbaa644a7862369361527679145a794306ee0d443eddfc