[INFO] fetching crate userspace-pagefault 0.0.4... [INFO] testing userspace-pagefault-0.0.4 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-8 [INFO] extracting crate userspace-pagefault 0.0.4 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate userspace-pagefault 0.0.4 [INFO] finished tweaking crates.io crate userspace-pagefault 0.0.4 [INFO] tweaked toml for crates.io crate userspace-pagefault 0.0.4 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate userspace-pagefault 0.0.4 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate userspace-pagefault 0.0.4 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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 62536373eca6f46d9bdd4626dd25459545a031c5e299af7e286917d8dde79014 [INFO] running `Command { std: "docker" "start" "-a" "62536373eca6f46d9bdd4626dd25459545a031c5e299af7e286917d8dde79014", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "62536373eca6f46d9bdd4626dd25459545a031c5e299af7e286917d8dde79014", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "62536373eca6f46d9bdd4626dd25459545a031c5e299af7e286917d8dde79014", kill_on_drop: false }` [INFO] [stdout] 62536373eca6f46d9bdd4626dd25459545a031c5e299af7e286917d8dde79014 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f033e9786e6e489a29ce170ab778620f02f5ecaf83a121ae16efa0730e5d1100 [INFO] running `Command { std: "docker" "start" "-a" "f033e9786e6e489a29ce170ab778620f02f5ecaf83a121ae16efa0730e5d1100", kill_on_drop: false }` [INFO] [stderr] Compiling nix v0.30.1 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling userspace-pagefault v0.0.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused macro definition: `bits_set` [INFO] [stdout] --> src/machdep.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | macro_rules! bits_set { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `not_bits_set` [INFO] [stdout] --> src/machdep.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | macro_rules! not_bits_set { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `nix::sys::memfd::MemFdCreateFlag`: Use `MFdFlags instead` [INFO] [stdout] --> src/machdep.rs:98:79 [INFO] [stdout] | [INFO] [stdout] 98 | match nix::sys::memfd::memfd_create(c"userspace-paging", nix::sys::memfd::MemFdCreateFlag::empty()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/lib.rs:201:32 [INFO] [stdout] | [INFO] [stdout] 201 | signal::SIGSEGV => PREV_SIGSEGV.as_ptr(), [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] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | #![warn(static_mut_refs)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/lib.rs:202:31 [INFO] [stdout] | [INFO] [stdout] 202 | signal::SIGBUS => PREV_SIGBUS.as_ptr(), [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/lib.rs:248:18 [INFO] [stdout] | [INFO] [stdout] 248 | register(PREV_SIGSEGV.as_mut_ptr(), signal::SIGSEGV); [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:249:18 [INFO] [stdout] | [INFO] [stdout] 249 | register(PREV_SIGBUS.as_mut_ptr(), signal::SIGBUS); [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] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.79s [INFO] running `Command { std: "docker" "inspect" "f033e9786e6e489a29ce170ab778620f02f5ecaf83a121ae16efa0730e5d1100", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f033e9786e6e489a29ce170ab778620f02f5ecaf83a121ae16efa0730e5d1100", kill_on_drop: false }` [INFO] [stdout] f033e9786e6e489a29ce170ab778620f02f5ecaf83a121ae16efa0730e5d1100 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8237e1fc47ffc3fb6f8f1e41cb86c9a127c61f27f91019e56732a63659b702b9 [INFO] running `Command { std: "docker" "start" "-a" "8237e1fc47ffc3fb6f8f1e41cb86c9a127c61f27f91019e56732a63659b702b9", kill_on_drop: false }` [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling userspace-pagefault v0.0.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused macro definition: `bits_set` [INFO] [stdout] --> src/machdep.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | macro_rules! bits_set { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `not_bits_set` [INFO] [stdout] --> src/machdep.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | macro_rules! not_bits_set { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `nix::sys::memfd::MemFdCreateFlag`: Use `MFdFlags instead` [INFO] [stdout] --> src/machdep.rs:98:79 [INFO] [stdout] | [INFO] [stdout] 98 | match nix::sys::memfd::memfd_create(c"userspace-paging", nix::sys::memfd::MemFdCreateFlag::empty()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/lib.rs:201:32 [INFO] [stdout] | [INFO] [stdout] 201 | signal::SIGSEGV => PREV_SIGSEGV.as_ptr(), [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] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | #![warn(static_mut_refs)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/lib.rs:202:31 [INFO] [stdout] | [INFO] [stdout] 202 | signal::SIGBUS => PREV_SIGBUS.as_ptr(), [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/lib.rs:248:18 [INFO] [stdout] | [INFO] [stdout] 248 | register(PREV_SIGSEGV.as_mut_ptr(), signal::SIGSEGV); [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:249:18 [INFO] [stdout] | [INFO] [stdout] 249 | register(PREV_SIGBUS.as_mut_ptr(), signal::SIGBUS); [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] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `bits_set` [INFO] [stdout] --> src/machdep.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | macro_rules! bits_set { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `not_bits_set` [INFO] [stdout] --> src/machdep.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | macro_rules! not_bits_set { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `nix::sys::memfd::MemFdCreateFlag`: Use `MFdFlags instead` [INFO] [stdout] --> src/machdep.rs:98:79 [INFO] [stdout] | [INFO] [stdout] 98 | match nix::sys::memfd::memfd_create(c"userspace-paging", nix::sys::memfd::MemFdCreateFlag::empty()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/lib.rs:201:32 [INFO] [stdout] | [INFO] [stdout] 201 | signal::SIGSEGV => PREV_SIGSEGV.as_ptr(), [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] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | #![warn(static_mut_refs)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/lib.rs:202:31 [INFO] [stdout] | [INFO] [stdout] 202 | signal::SIGBUS => PREV_SIGBUS.as_ptr(), [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/lib.rs:248:18 [INFO] [stdout] | [INFO] [stdout] 248 | register(PREV_SIGSEGV.as_mut_ptr(), signal::SIGSEGV); [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:249:18 [INFO] [stdout] | [INFO] [stdout] 249 | register(PREV_SIGBUS.as_mut_ptr(), signal::SIGBUS); [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] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.10s [INFO] running `Command { std: "docker" "inspect" "8237e1fc47ffc3fb6f8f1e41cb86c9a127c61f27f91019e56732a63659b702b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8237e1fc47ffc3fb6f8f1e41cb86c9a127c61f27f91019e56732a63659b702b9", kill_on_drop: false }` [INFO] [stdout] 8237e1fc47ffc3fb6f8f1e41cb86c9a127c61f27f91019e56732a63659b702b9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 819983a2f76e08aedb7fb4bce845fa71e7a230b55b6dd14e25d550e40383ac9d [INFO] running `Command { std: "docker" "start" "-a" "819983a2f76e08aedb7fb4bce845fa71e7a230b55b6dd14e25d550e40383ac9d", kill_on_drop: false }` [INFO] [stderr] warning: unused macro definition: `bits_set` [INFO] [stderr] --> src/machdep.rs:4:14 [INFO] [stderr] | [INFO] [stderr] 4 | macro_rules! bits_set { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_macros)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused macro definition: `not_bits_set` [INFO] [stderr] --> src/machdep.rs:11:14 [INFO] [stderr] | [INFO] [stderr] 11 | macro_rules! not_bits_set { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated type alias `nix::sys::memfd::MemFdCreateFlag`: Use `MFdFlags instead` [INFO] [stderr] --> src/machdep.rs:98:79 [INFO] [stderr] | [INFO] [stderr] 98 | match nix::sys::memfd::memfd_create(c"userspace-paging", nix::sys::memfd::MemFdCreateFlag::empty()) { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/lib.rs:201:32 [INFO] [stderr] | [INFO] [stderr] 201 | signal::SIGSEGV => PREV_SIGSEGV.as_ptr(), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] note: the lint level is defined here [INFO] [stderr] --> src/lib.rs:1:9 [INFO] [stderr] | [INFO] [stderr] 1 | #![warn(static_mut_refs)] [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/lib.rs:202:31 [INFO] [stderr] | [INFO] [stderr] 202 | signal::SIGBUS => PREV_SIGBUS.as_ptr(), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/lib.rs:248:18 [INFO] [stderr] | [INFO] [stderr] 248 | register(PREV_SIGSEGV.as_mut_ptr(), signal::SIGSEGV); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/lib.rs:249:18 [INFO] [stderr] | [INFO] [stderr] 249 | register(PREV_SIGBUS.as_mut_ptr(), signal::SIGBUS); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: `userspace-pagefault` (lib) generated 7 warnings [INFO] [stderr] warning: `userspace-pagefault` (lib test) generated 7 warnings (7 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/userspace_pagefault-64189475b92fcea6) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test tests::test_release_page ... ok [INFO] [stdout] test tests::test_shared_memory ... ok [INFO] [stdout] test tests::out_of_order_scan ... ok [INFO] [stdout] test tests::test1 ... ok [INFO] [stdout] test tests::test2 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.47s [INFO] [stdout] [INFO] [stderr] Doc-tests userspace_pagefault [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "819983a2f76e08aedb7fb4bce845fa71e7a230b55b6dd14e25d550e40383ac9d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "819983a2f76e08aedb7fb4bce845fa71e7a230b55b6dd14e25d550e40383ac9d", kill_on_drop: false }` [INFO] [stdout] 819983a2f76e08aedb7fb4bce845fa71e7a230b55b6dd14e25d550e40383ac9d