[INFO] fetching crate rslab 0.2.1... [INFO] testing rslab-0.2.1 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate rslab 0.2.1 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate rslab 0.2.1 [INFO] finished tweaking crates.io crate rslab 0.2.1 [INFO] tweaked toml for crates.io crate rslab 0.2.1 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rslab 0.2.1 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate rslab 0.2.1 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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bit_field v0.10.1 [INFO] [stderr] Downloaded preprint v0.1.0 [INFO] [stderr] Downloaded spin v0.9.4 [INFO] [stderr] Downloaded easy-cast v0.4.4 [INFO] [stderr] Downloaded libm v0.2.5 [INFO] [stderr] Downloaded linked_list_allocator v0.10.4 [INFO] [stderr] Downloaded simple-chunk-allocator v0.1.5 [INFO] [stderr] Downloaded raw-cpuid v10.6.0 [INFO] [stderr] Downloaded float-ord v0.3.2 [INFO] [stderr] Downloaded average v0.13.1 [INFO] [stderr] Downloaded doubly-linked-list v0.2.0 [INFO] [stderr] Downloaded buddy_system_allocator v0.8.0 [INFO] [stderr] Downloaded spin v0.7.1 [INFO] [stderr] Downloaded volatile v0.4.5 [INFO] [stderr] Downloaded spinning_top v0.2.4 [INFO] [stderr] Downloaded x86 v0.51.0 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 15be165230810253aeaebac2f928c0ed17a11c878dcf493b998ffa76313552d4 [INFO] running `Command { std: "docker" "start" "-a" "15be165230810253aeaebac2f928c0ed17a11c878dcf493b998ffa76313552d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "15be165230810253aeaebac2f928c0ed17a11c878dcf493b998ffa76313552d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "15be165230810253aeaebac2f928c0ed17a11c878dcf493b998ffa76313552d4", kill_on_drop: false }` [INFO] [stdout] 15be165230810253aeaebac2f928c0ed17a11c878dcf493b998ffa76313552d4 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 07be4de4b9b0f4766d685d5de3aa8fafa7e81134091739d8b58c3860c84c72a3 [INFO] running `Command { std: "docker" "start" "-a" "07be4de4b9b0f4766d685d5de3aa8fafa7e81134091739d8b58c3860c84c72a3", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling volatile v0.4.5 [INFO] [stderr] Compiling preprint v0.1.0 [INFO] [stderr] Compiling doubly-linked-list v0.2.0 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Compiling spin v0.9.4 [INFO] [stderr] Compiling rslab v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: the feature `nonnull_slice_from_raw_parts` has been stable since 1.70.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(nonnull_slice_from_raw_parts)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/slab.rs:321:39 [INFO] [stdout] | [INFO] [stdout] 321 | let cache_head = unsafe { &mut MEM_CACHE_BOOT }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 321 | let cache_head = unsafe { &raw mut MEM_CACHE_BOOT }; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/slab.rs:330:35 [INFO] [stdout] | [INFO] [stdout] 330 | let cache_head = unsafe { &mut MEM_CACHE_BOOT }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 330 | let cache_head = unsafe { &raw mut MEM_CACHE_BOOT }; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/slab.rs:630:35 [INFO] [stdout] | [INFO] [stdout] 630 | let cache_head = unsafe { &mut MEM_CACHE_BOOT }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 630 | let cache_head = unsafe { &raw mut MEM_CACHE_BOOT }; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/slab.rs:842:31 [INFO] [stdout] | [INFO] [stdout] 842 | let cache_head = unsafe { &mut MEM_CACHE_BOOT }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 842 | let cache_head = unsafe { &raw mut MEM_CACHE_BOOT }; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/slab.rs:851:25 [INFO] [stdout] | [INFO] [stdout] 851 | list_head_init!(SLAB_CACHES); [INFO] [stdout] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/slab.rs:853:26 [INFO] [stdout] | [INFO] [stdout] 853 | let cache = unsafe { &mut MEM_CACHE_BOOT }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 853 | let cache = unsafe { &raw mut MEM_CACHE_BOOT }; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/slab.rs:865:39 [INFO] [stdout] | [INFO] [stdout] 865 | cache.mem_cache_node.shared = &mut ARRAY_CACHE_NODE_BOOT as *mut ArrayCache; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 865 | cache.mem_cache_node.shared = &raw mut ARRAY_CACHE_NODE_BOOT as *mut ArrayCache; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/slab.rs:869:27 [INFO] [stdout] | [INFO] [stdout] 869 | to_list_head_ptr!(SLAB_CACHES) [INFO] [stdout] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/slab.rs:883:45 [INFO] [stdout] | [INFO] [stdout] 883 | array_cache.mem_cache_node.shared = &mut ARRAY_CACHE_NODE_ARRAY as *mut ArrayCache; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 883 | array_cache.mem_cache_node.shared = &raw mut ARRAY_CACHE_NODE_ARRAY as *mut ArrayCache; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/slab.rs:890:12 [INFO] [stdout] | [INFO] [stdout] 890 | name: &'static str, [INFO] [stdout] | ^^^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 893 | ) -> Result<&mut MemCache, SlabError> { [INFO] [stdout] | ------------- the lifetime gets resolved as `'static` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to consistently use `'static` [INFO] [stdout] | [INFO] [stdout] 893 | ) -> Result<&'static mut MemCache, SlabError> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/slab.rs:895:31 [INFO] [stdout] | [INFO] [stdout] 895 | let cache_head = unsafe { &mut SLAB_CACHES }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 895 | let cache_head = unsafe { &raw mut SLAB_CACHES }; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/slab.rs:910:18 [INFO] [stdout] | [INFO] [stdout] 910 | fn create(name: &'static str, object_size: u32, align: u32) -> Result<&mut MemCache, SlabError> { [INFO] [stdout] | ^^^^^^^ this lifetime flows to the output ------------- the lifetime gets resolved as `'static` [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'static` [INFO] [stdout] | [INFO] [stdout] 910 | fn create(name: &'static str, object_size: u32, align: u32) -> Result<&'static mut MemCache, SlabError> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/slab.rs:912:26 [INFO] [stdout] | [INFO] [stdout] 912 | let cache = unsafe { &mut MEM_CACHE_BOOT }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 912 | let cache = unsafe { &raw mut MEM_CACHE_BOOT }; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/slab.rs:921:27 [INFO] [stdout] | [INFO] [stdout] 921 | to_list_head_ptr!(SLAB_CACHES) [INFO] [stdout] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/slab.rs:935:31 [INFO] [stdout] | [INFO] [stdout] 935 | let cache_list = unsafe { &mut SLAB_CACHES }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 935 | let cache_list = unsafe { &raw mut SLAB_CACHES }; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/slab.rs:954:31 [INFO] [stdout] | [INFO] [stdout] 954 | let cache_list = unsafe { &SLAB_CACHES }; [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 954 | let cache_list = unsafe { &raw const SLAB_CACHES }; [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/slab.rs:975:31 [INFO] [stdout] | [INFO] [stdout] 975 | let cache_list = unsafe { &SLAB_CACHES }; [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 975 | let cache_list = unsafe { &raw const SLAB_CACHES }; [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.61s [INFO] running `Command { std: "docker" "inspect" "07be4de4b9b0f4766d685d5de3aa8fafa7e81134091739d8b58c3860c84c72a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07be4de4b9b0f4766d685d5de3aa8fafa7e81134091739d8b58c3860c84c72a3", kill_on_drop: false }` [INFO] [stdout] 07be4de4b9b0f4766d685d5de3aa8fafa7e81134091739d8b58c3860c84c72a3 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 71abac26a1edda6269caaf3b6826e6f242d52aaa659f42ac921855058a908706 [INFO] running `Command { std: "docker" "start" "-a" "71abac26a1edda6269caaf3b6826e6f242d52aaa659f42ac921855058a908706", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.137 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Compiling libm v0.2.5 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling x86 v0.51.0 [INFO] [stderr] Compiling bit_field v0.10.1 [INFO] [stderr] Compiling float-ord v0.3.2 [INFO] [stderr] Compiling raw-cpuid v10.6.0 [INFO] [stderr] Compiling spin v0.7.1 [INFO] [stderr] Compiling buddy_system_allocator v0.8.0 [INFO] [stderr] Compiling spin v0.9.4 [INFO] [stderr] Compiling spinning_top v0.2.4 [INFO] [stderr] Compiling linked_list_allocator v0.10.4 [INFO] [stderr] Compiling rslab v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: the feature `nonnull_slice_from_raw_parts` has been stable since 1.70.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(nonnull_slice_from_raw_parts)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/slab.rs:321:39 [INFO] [stdout] | [INFO] [stdout] 321 | let cache_head = unsafe { &mut MEM_CACHE_BOOT }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 321 | let cache_head = unsafe { &raw mut MEM_CACHE_BOOT }; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/slab.rs:330:35 [INFO] [stdout] | [INFO] [stdout] 330 | let cache_head = unsafe { &mut MEM_CACHE_BOOT }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 330 | let cache_head = unsafe { &raw mut MEM_CACHE_BOOT }; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/slab.rs:630:35 [INFO] [stdout] | [INFO] [stdout] 630 | let cache_head = unsafe { &mut MEM_CACHE_BOOT }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 630 | let cache_head = unsafe { &raw mut MEM_CACHE_BOOT }; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/slab.rs:842:31 [INFO] [stdout] | [INFO] [stdout] 842 | let cache_head = unsafe { &mut MEM_CACHE_BOOT }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 842 | let cache_head = unsafe { &raw mut MEM_CACHE_BOOT }; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/slab.rs:851:25 [INFO] [stdout] | [INFO] [stdout] 851 | list_head_init!(SLAB_CACHES); [INFO] [stdout] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/slab.rs:853:26 [INFO] [stdout] | [INFO] [stdout] 853 | let cache = unsafe { &mut MEM_CACHE_BOOT }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 853 | let cache = unsafe { &raw mut MEM_CACHE_BOOT }; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/slab.rs:865:39 [INFO] [stdout] | [INFO] [stdout] 865 | cache.mem_cache_node.shared = &mut ARRAY_CACHE_NODE_BOOT as *mut ArrayCache; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 865 | cache.mem_cache_node.shared = &raw mut ARRAY_CACHE_NODE_BOOT as *mut ArrayCache; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/slab.rs:869:27 [INFO] [stdout] | [INFO] [stdout] 869 | to_list_head_ptr!(SLAB_CACHES) [INFO] [stdout] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/slab.rs:883:45 [INFO] [stdout] | [INFO] [stdout] 883 | array_cache.mem_cache_node.shared = &mut ARRAY_CACHE_NODE_ARRAY as *mut ArrayCache; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 883 | array_cache.mem_cache_node.shared = &raw mut ARRAY_CACHE_NODE_ARRAY as *mut ArrayCache; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/slab.rs:890:12 [INFO] [stdout] | [INFO] [stdout] 890 | name: &'static str, [INFO] [stdout] | ^^^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 893 | ) -> Result<&mut MemCache, SlabError> { [INFO] [stdout] | ------------- the lifetime gets resolved as `'static` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to consistently use `'static` [INFO] [stdout] | [INFO] [stdout] 893 | ) -> Result<&'static mut MemCache, SlabError> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/slab.rs:895:31 [INFO] [stdout] | [INFO] [stdout] 895 | let cache_head = unsafe { &mut SLAB_CACHES }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 895 | let cache_head = unsafe { &raw mut SLAB_CACHES }; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/slab.rs:910:18 [INFO] [stdout] | [INFO] [stdout] 910 | fn create(name: &'static str, object_size: u32, align: u32) -> Result<&mut MemCache, SlabError> { [INFO] [stdout] | ^^^^^^^ this lifetime flows to the output ------------- the lifetime gets resolved as `'static` [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'static` [INFO] [stdout] | [INFO] [stdout] 910 | fn create(name: &'static str, object_size: u32, align: u32) -> Result<&'static mut MemCache, SlabError> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/slab.rs:912:26 [INFO] [stdout] | [INFO] [stdout] 912 | let cache = unsafe { &mut MEM_CACHE_BOOT }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 912 | let cache = unsafe { &raw mut MEM_CACHE_BOOT }; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/slab.rs:921:27 [INFO] [stdout] | [INFO] [stdout] 921 | to_list_head_ptr!(SLAB_CACHES) [INFO] [stdout] | ^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/slab.rs:935:31 [INFO] [stdout] | [INFO] [stdout] 935 | let cache_list = unsafe { &mut SLAB_CACHES }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 935 | let cache_list = unsafe { &raw mut SLAB_CACHES }; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/slab.rs:954:31 [INFO] [stdout] | [INFO] [stdout] 954 | let cache_list = unsafe { &SLAB_CACHES }; [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 954 | let cache_list = unsafe { &raw const SLAB_CACHES }; [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/slab.rs:975:31 [INFO] [stdout] | [INFO] [stdout] 975 | let cache_list = unsafe { &SLAB_CACHES }; [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 975 | let cache_list = unsafe { &raw const SLAB_CACHES }; [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling getrandom v0.2.8 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling core_affinity v0.5.10 [INFO] [stderr] Compiling easy-cast v0.4.4 [INFO] [stderr] Compiling simple-chunk-allocator v0.1.5 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stdout] error[E0635]: unknown feature `const_align_offset` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/simple-chunk-allocator-0.1.5/src/lib.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 135 | #![feature(const_align_offset)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method `core::ptr::const_ptr::::align_offset` in constant functions [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/simple-chunk-allocator-0.1.5/src/allocator.rs:146:36 [INFO] [stdout] | [INFO] [stdout] 146 | let offset = heap.as_ptr().align_offset(CHUNK_SIZE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method `core::ptr::const_ptr::::align_offset` in constant functions [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/simple-chunk-allocator-0.1.5/src/allocator.rs:208:36 [INFO] [stdout] | [INFO] [stdout] 208 | let offset = heap.as_ptr().align_offset(CHUNK_SIZE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0015, E0635. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0015`. [INFO] [stdout] [INFO] [stderr] error: could not compile `simple-chunk-allocator` (lib) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "71abac26a1edda6269caaf3b6826e6f242d52aaa659f42ac921855058a908706", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "71abac26a1edda6269caaf3b6826e6f242d52aaa659f42ac921855058a908706", kill_on_drop: false }` [INFO] [stdout] 71abac26a1edda6269caaf3b6826e6f242d52aaa659f42ac921855058a908706