[INFO] cloning repository https://github.com/MechShcweiss98/KarnelExp [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MechShcweiss98/KarnelExp" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMechShcweiss98%2FKarnelExp", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMechShcweiss98%2FKarnelExp'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4d8547e0bc078a281f2c563336558cfe13c97655 [INFO] checking MechShcweiss98/KarnelExp/4d8547e0bc078a281f2c563336558cfe13c97655 against master#d14d202262d13df896b0c624b0cec6e4bfde631a for pr-143028 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMechShcweiss98%2FKarnelExp" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/MechShcweiss98/KarnelExp [INFO] finished tweaking git repo https://github.com/MechShcweiss98/KarnelExp [INFO] tweaked toml for git repo https://github.com/MechShcweiss98/KarnelExp written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/MechShcweiss98/KarnelExp on toolchain d14d202262d13df896b0c624b0cec6e4bfde631a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d14d202262d13df896b0c624b0cec6e4bfde631a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/MechShcweiss98/KarnelExp already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d14d202262d13df896b0c624b0cec6e4bfde631a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+d14d202262d13df896b0c624b0cec6e4bfde631a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8a4c9d559e8a4c00702e54da36ae2c808f6c2d6b2f2c567d8de4e28adbcdedb5 [INFO] running `Command { std: "docker" "start" "-a" "8a4c9d559e8a4c00702e54da36ae2c808f6c2d6b2f2c567d8de4e28adbcdedb5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8a4c9d559e8a4c00702e54da36ae2c808f6c2d6b2f2c567d8de4e28adbcdedb5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a4c9d559e8a4c00702e54da36ae2c808f6c2d6b2f2c567d8de4e28adbcdedb5", kill_on_drop: false }` [INFO] [stdout] 8a4c9d559e8a4c00702e54da36ae2c808f6c2d6b2f2c567d8de4e28adbcdedb5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+d14d202262d13df896b0c624b0cec6e4bfde631a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 45ef0d0aa8751b54a34d4631172bc3656343078badbb59e6ec64f251d7ea739c [INFO] running `Command { std: "docker" "start" "-a" "45ef0d0aa8751b54a34d4631172bc3656343078badbb59e6ec64f251d7ea739c", kill_on_drop: false }` [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking kernel-experiment v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | #![feature(const_fn)] [INFO] [stdout] | ^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: removed in 1.54.0; see for more information [INFO] [stdout] = note: split into finer-grained feature gates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | #![feature(const_fn)] [INFO] [stdout] | ^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: removed in 1.54.0; see for more information [INFO] [stdout] = note: split into finer-grained feature gates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `StdRng` in `rngs` [INFO] [stdout] --> src/experimental.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | rand::rngs::StdRng::seed_from_u64(nanosecond_timer_c()) [INFO] [stdout] | ^^^^^^ could not find `StdRng` in `rngs` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand-0.8.5/src/rngs/mod.rs:115:48 [INFO] [stdout] | [INFO] [stdout] 115 | #[cfg(feature = "std_rng")] pub use self::std::StdRng; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: the item is gated behind the `std_rng` feature [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand-0.8.5/src/rngs/mod.rs:115:7 [INFO] [stdout] | [INFO] [stdout] 115 | #[cfg(feature = "std_rng")] pub use self::std::StdRng; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `StdRng` in module `rand::rngs` [INFO] [stdout] --> src/experimental.rs:15:38 [INFO] [stdout] | [INFO] [stdout] 15 | unsafe fn crate_rng() -> rand::rngs::StdRng{ [INFO] [stdout] | ^^^^^^ not found in `rand::rngs` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand-0.8.5/src/rngs/mod.rs:115:48 [INFO] [stdout] | [INFO] [stdout] 115 | #[cfg(feature = "std_rng")] pub use self::std::StdRng; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: the item is gated behind the `std_rng` feature [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand-0.8.5/src/rngs/mod.rs:115:7 [INFO] [stdout] | [INFO] [stdout] 115 | #[cfg(feature = "std_rng")] pub use self::std::StdRng; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `StdRng` in module `rand::rngs` [INFO] [stdout] --> src/experimental.rs:21:39 [INFO] [stdout] | [INFO] [stdout] 21 | static ref RNG: Mutex = Mutex::new(unsafe {crate_rng()}); [INFO] [stdout] | ^^^^^^ not found in `rand::rngs` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand-0.8.5/src/rngs/mod.rs:115:48 [INFO] [stdout] | [INFO] [stdout] 115 | #[cfg(feature = "std_rng")] pub use self::std::StdRng; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: the item is gated behind the `std_rng` feature [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand-0.8.5/src/rngs/mod.rs:115:7 [INFO] [stdout] | [INFO] [stdout] 115 | #[cfg(feature = "std_rng")] pub use self::std::StdRng; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `alloc` is ambiguous [INFO] [stdout] --> src/io/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use alloc::*; [INFO] [stdout] | ^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of a conflict between a name from a glob import and an outer scope during import or macro resolution [INFO] [stdout] note: `alloc` could refer to the module imported here [INFO] [stdout] --> src/io/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use alloc::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `alloc` to disambiguate [INFO] [stdout] = help: or use `self::alloc` to refer to this module unambiguously [INFO] [stdout] note: `alloc` could also refer to the crate imported here [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | extern crate alloc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: use `::alloc` to refer to this crate unambiguously [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `alloc` is ambiguous [INFO] [stdout] --> src/io/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use alloc::vec::Vec; [INFO] [stdout] | ^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of a conflict between a name from a glob import and an outer scope during import or macro resolution [INFO] [stdout] note: `alloc` could refer to the module imported here [INFO] [stdout] --> src/io/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use alloc::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `alloc` to disambiguate [INFO] [stdout] = help: or use `self::alloc` to refer to this module unambiguously [INFO] [stdout] note: `alloc` could also refer to the crate imported here [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | extern crate alloc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: use `::alloc` to refer to this crate unambiguously [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot define multiple allocation error handlers [INFO] [stdout] --> src/lang.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 34 | #[alloc_error_handler] [INFO] [stdout] | ---------------------- in this procedural macro expansion [INFO] [stdout] 35 | / pub fn alloc_error(_: core::alloc::Layout) -> ! { [INFO] [stdout] 36 | | unsafe { abort() } [INFO] [stdout] 37 | | } [INFO] [stdout] | |_^ cannot define a new allocation error handler [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / fn alloc_error_handler(layout: Layout) -> ! { [INFO] [stdout] 20 | | panic!("Error de asignación para layout: {:?}", layout); [INFO] [stdout] 21 | | } [INFO] [stdout] | |_- previous allocation error handler defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `lang_items` is internal to the compiler or standard library [INFO] [stdout] --> src/lib.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | #![feature(lang_items)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] = note: `#[warn(internal_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private item shadows public glob re-export [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | extern crate alloc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the name `alloc` in the type namespace is supposed to be publicly re-exported here [INFO] [stdout] --> src/lib.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub use alloc::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] note: but the private item here shadows it [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | extern crate alloc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(hidden_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `StdRng` in `rngs` [INFO] [stdout] --> src/experimental.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | rand::rngs::StdRng::seed_from_u64(nanosecond_timer_c()) [INFO] [stdout] | ^^^^^^ could not find `StdRng` in `rngs` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand-0.8.5/src/rngs/mod.rs:115:48 [INFO] [stdout] | [INFO] [stdout] 115 | #[cfg(feature = "std_rng")] pub use self::std::StdRng; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: the item is gated behind the `std_rng` feature [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand-0.8.5/src/rngs/mod.rs:115:7 [INFO] [stdout] | [INFO] [stdout] 115 | #[cfg(feature = "std_rng")] pub use self::std::StdRng; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `panic_info_message` has been stable since 1.81.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | #![feature(panic_info_message)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `alloc` has been stable since 1.36.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | #![feature(alloc)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `#[no_mangle]` cannot be used on internal language items [INFO] [stdout] --> src/lang.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 5 | pub extern "C" fn eh_personality() {} [INFO] [stdout] | ---------------------------------- should be the internal language item [INFO] [stdout] | [INFO] [stdout] = note: Rustc requires this item to have a specific mangled name. [INFO] [stdout] = note: If you are trying to prevent mangling to ease debugging, many [INFO] [stdout] = note: debuggers support a command such as `rbreak rust_eh_personality` to [INFO] [stdout] = note: match `.*rust_eh_personality.*` instead of `break rust_eh_personality` on a specific name [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `#[no_mangle]` cannot be used on internal language items [INFO] [stdout] --> src/lang.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 15 | pub fn rust_begin_panic(info: &PanicInfo) -> ! { [INFO] [stdout] | ---------------------------------------------- should be the internal language item [INFO] [stdout] | [INFO] [stdout] = note: Rustc requires this item to have a specific mangled name. [INFO] [stdout] = note: If you are trying to prevent mangling to ease debugging, many [INFO] [stdout] = note: debuggers support a command such as `rbreak rust_begin_unwind` to [INFO] [stdout] = note: match `.*rust_begin_unwind.*` instead of `break rust_begin_unwind` on a specific name [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `StdRng` in module `rand::rngs` [INFO] [stdout] --> src/experimental.rs:15:38 [INFO] [stdout] | [INFO] [stdout] 15 | unsafe fn crate_rng() -> rand::rngs::StdRng{ [INFO] [stdout] | ^^^^^^ not found in `rand::rngs` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand-0.8.5/src/rngs/mod.rs:115:48 [INFO] [stdout] | [INFO] [stdout] 115 | #[cfg(feature = "std_rng")] pub use self::std::StdRng; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: the item is gated behind the `std_rng` feature [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand-0.8.5/src/rngs/mod.rs:115:7 [INFO] [stdout] | [INFO] [stdout] 115 | #[cfg(feature = "std_rng")] pub use self::std::StdRng; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `StdRng` in module `rand::rngs` [INFO] [stdout] --> src/experimental.rs:21:39 [INFO] [stdout] | [INFO] [stdout] 21 | static ref RNG: Mutex = Mutex::new(unsafe {crate_rng()}); [INFO] [stdout] | ^^^^^^ not found in `rand::rngs` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand-0.8.5/src/rngs/mod.rs:115:48 [INFO] [stdout] | [INFO] [stdout] 115 | #[cfg(feature = "std_rng")] pub use self::std::StdRng; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: the item is gated behind the `std_rng` feature [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand-0.8.5/src/rngs/mod.rs:115:7 [INFO] [stdout] | [INFO] [stdout] 115 | #[cfg(feature = "std_rng")] pub use self::std::StdRng; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `alloc` is ambiguous [INFO] [stdout] --> src/io/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use alloc::*; [INFO] [stdout] | ^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of a conflict between a name from a glob import and an outer scope during import or macro resolution [INFO] [stdout] note: `alloc` could refer to the module imported here [INFO] [stdout] --> src/io/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use alloc::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `alloc` to disambiguate [INFO] [stdout] = help: or use `self::alloc` to refer to this module unambiguously [INFO] [stdout] note: `alloc` could also refer to the crate imported here [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | extern crate alloc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: use `::alloc` to refer to this crate unambiguously [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `alloc` is ambiguous [INFO] [stdout] --> src/io/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use alloc::vec::Vec; [INFO] [stdout] | ^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of a conflict between a name from a glob import and an outer scope during import or macro resolution [INFO] [stdout] note: `alloc` could refer to the module imported here [INFO] [stdout] --> src/io/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use alloc::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `alloc` to disambiguate [INFO] [stdout] = help: or use `self::alloc` to refer to this module unambiguously [INFO] [stdout] note: `alloc` could also refer to the crate imported here [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | extern crate alloc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: use `::alloc` to refer to this crate unambiguously [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the `#[alloc_error_handler]` in this crate conflicts with allocation error handler in: std [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `lang_items` is internal to the compiler or standard library [INFO] [stdout] --> src/lib.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | #![feature(lang_items)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] = note: `#[warn(internal_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private item shadows public glob re-export [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | extern crate alloc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the name `alloc` in the type namespace is supposed to be publicly re-exported here [INFO] [stdout] --> src/lib.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub use alloc::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] note: but the private item here shadows it [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | extern crate alloc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(hidden_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `eh_personality` [INFO] [stdout] --> src/lang.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub extern "C" fn eh_personality() {} [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/d14d202262d13df896b0c624b0cec6e4bfde631a/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-c3f1bd7325067ba3.rlib [INFO] [stdout] = note: second definition in the local crate (`experiment`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lang.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | if let Some(message) = info.message() { [INFO] [stdout] | ^^^^^^^^^^^^^ -------------- this expression has type `PanicMessage<'_>` [INFO] [stdout] | | [INFO] [stdout] | expected `PanicMessage<'_>`, found `Option<_>` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `PanicMessage<'_>` [INFO] [stdout] found enum `Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `experimentConfig` [INFO] [stdout] --> src/experimental.rs:22:65 [INFO] [stdout] | [INFO] [stdout] 22 | pub static ref CONFIG: Mutex = Mutex::new(experimentConfig::new()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of unresolved module or unlinked crate `experimentConfig` [INFO] [stdout] | help: a struct with a similar name exists: `ExperimentConfig` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `experimentConfig`, use `cargo add experimentConfig` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0152, E0412, E0433, E0557, E0659. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0152`. [INFO] [stdout] [INFO] [stderr] error: could not compile `kernel-experiment` (lib test) due to 9 previous errors; 2 warnings emitted [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `experimentConfig` [INFO] [stdout] --> src/experimental.rs:22:65 [INFO] [stdout] | [INFO] [stdout] 22 | pub static ref CONFIG: Mutex = Mutex::new(experimentConfig::new()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of unresolved module or unlinked crate `experimentConfig` [INFO] [stdout] | help: a struct with a similar name exists: `ExperimentConfig` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `experimentConfig`, use `cargo add experimentConfig` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no method named `lock` found for struct `RNG` in the current scope [INFO] [stdout] --> src/experimental.rs:32:26 [INFO] [stdout] | [INFO] [stdout] 19 | / lazy_static! { [INFO] [stdout] 20 | | // static ref RNG: Mutex = Mutex::new(rand::JitterRng::new_with_timer(|| unsafe { nanosecond_timer_c() })); [INFO] [stdout] 21 | | static ref RNG: Mutex = Mutex::new(unsafe {crate_rng()}); [INFO] [stdout] 22 | | pub static ref CONFIG: Mutex = Mutex::new(experimentConfig::new()); [INFO] [stdout] 23 | | } [INFO] [stdout] | |_- method `lock` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 32 | let chance = RNG.lock().gen_range(MIN_RAND..=MAX_RAND); [INFO] [stdout] | ^^^^ method not found in `RNG` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `lock`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `lock_api::mutex::RawMutex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lock` found for struct `RNG` in the current scope [INFO] [stdout] --> src/experimental.rs:39:23 [INFO] [stdout] | [INFO] [stdout] 19 | / lazy_static! { [INFO] [stdout] 20 | | // static ref RNG: Mutex = Mutex::new(rand::JitterRng::new_with_timer(|| unsafe { nanosecond_timer_c() })); [INFO] [stdout] 21 | | static ref RNG: Mutex = Mutex::new(unsafe {crate_rng()}); [INFO] [stdout] 22 | | pub static ref CONFIG: Mutex = Mutex::new(experimentConfig::new()); [INFO] [stdout] 23 | | } [INFO] [stdout] | |_- method `lock` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 39 | let sampled = RNG.lock().gen_range(MIN_RAND..=MAX_RAND); [INFO] [stdout] | ^^^^ method not found in `RNG` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `lock`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `lock_api::mutex::RawMutex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0412, E0433, E0557, E0599, E0659. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `kernel-experiment` (lib) due to 13 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "45ef0d0aa8751b54a34d4631172bc3656343078badbb59e6ec64f251d7ea739c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "45ef0d0aa8751b54a34d4631172bc3656343078badbb59e6ec64f251d7ea739c", kill_on_drop: false }` [INFO] [stdout] 45ef0d0aa8751b54a34d4631172bc3656343078badbb59e6ec64f251d7ea739c