[INFO] cloning repository https://github.com/rehwinkel/mewkernel [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rehwinkel/mewkernel" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frehwinkel%2Fmewkernel", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frehwinkel%2Fmewkernel'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5baf5cb6a626c10c52a7644825b244c7815b6b95 [INFO] checking rehwinkel/mewkernel against try#1383df06117fd218068d1f39fd5326256dd4a348 for pr-145181 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frehwinkel%2Fmewkernel" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-2-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/rehwinkel/mewkernel [INFO] finished tweaking git repo https://github.com/rehwinkel/mewkernel [INFO] tweaked toml for git repo https://github.com/rehwinkel/mewkernel written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/rehwinkel/mewkernel on toolchain 1383df06117fd218068d1f39fd5326256dd4a348 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1383df06117fd218068d1f39fd5326256dd4a348" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/rehwinkel/mewkernel 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" "+1383df06117fd218068d1f39fd5326256dd4a348" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking rehwinkel/mewkernel against try#1383df06117fd218068d1f39fd5326256dd4a348 for pr-145181 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frehwinkel%2Fmewkernel" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-2-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/rehwinkel/mewkernel [INFO] finished tweaking git repo https://github.com/rehwinkel/mewkernel [INFO] tweaked toml for git repo https://github.com/rehwinkel/mewkernel written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/rehwinkel/mewkernel on toolchain 1383df06117fd218068d1f39fd5326256dd4a348 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1383df06117fd218068d1f39fd5326256dd4a348" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/rehwinkel/mewkernel 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" "+1383df06117fd218068d1f39fd5326256dd4a348" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+1383df06117fd218068d1f39fd5326256dd4a348" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7192013a9ef6b2d3e8ba1dd549f0ca0dffb1a81e8b62cefff31d26925f74bbb8 [INFO] running `Command { std: "docker" "start" "-a" "7192013a9ef6b2d3e8ba1dd549f0ca0dffb1a81e8b62cefff31d26925f74bbb8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7192013a9ef6b2d3e8ba1dd549f0ca0dffb1a81e8b62cefff31d26925f74bbb8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7192013a9ef6b2d3e8ba1dd549f0ca0dffb1a81e8b62cefff31d26925f74bbb8", kill_on_drop: false }` [INFO] [stdout] 7192013a9ef6b2d3e8ba1dd549f0ca0dffb1a81e8b62cefff31d26925f74bbb8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+1383df06117fd218068d1f39fd5326256dd4a348" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4811b7d2fe26017f611b6c9595fea3e848d82b7f6d0e67caeefeccfa5a937d1a [INFO] running `Command { std: "docker" "start" "-a" "4811b7d2fe26017f611b6c9595fea3e848d82b7f6d0e67caeefeccfa5a937d1a", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Checking mewkernel-hal v0.1.0 (/opt/rustwide/workdir/mewkernel-hal) [INFO] [stderr] Checking mewkernel-rt v0.1.0 (/opt/rustwide/workdir/mewkernel-rt) [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> mewkernel-rt/src/lib.rs:96:22 [INFO] [stdout] | [INFO] [stdout] 96 | let data_size = (&_edata as *const usize as usize) - (&_sdata as *const usize as usize); [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: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 96 | let data_size = (&raw const _edata as *const usize as usize) - (&_sdata as *const usize as usize); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> mewkernel-rt/src/lib.rs:96:22 [INFO] [stdout] | [INFO] [stdout] 96 | let data_size = (&_edata as *const usize as usize) - (&_sdata as *const usize as usize); [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: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 96 | let data_size = (&raw const _edata as *const usize as usize) - (&_sdata as *const usize as usize); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> mewkernel-rt/src/lib.rs:96:59 [INFO] [stdout] | [INFO] [stdout] 96 | let data_size = (&_edata as *const usize as usize) - (&_sdata as *const usize as usize); [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] 96 | let data_size = (&_edata as *const usize as usize) - (&raw const _sdata as *const usize as usize); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> mewkernel-rt/src/lib.rs:96:59 [INFO] [stdout] | [INFO] [stdout] 96 | let data_size = (&_edata as *const usize as usize) - (&_sdata as *const usize as usize); [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] 96 | let data_size = (&_edata as *const usize as usize) - (&raw const _sdata as *const usize as usize); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> mewkernel-rt/src/lib.rs:97:22 [INFO] [stdout] | [INFO] [stdout] 97 | let flash_data = &_etext as *const usize as *const u8; [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] 97 | let flash_data = &raw const _etext as *const usize as *const u8; [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> mewkernel-rt/src/lib.rs:97:22 [INFO] [stdout] | [INFO] [stdout] 97 | let flash_data = &_etext as *const usize as *const u8; [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] 97 | let flash_data = &raw const _etext as *const usize as *const u8; [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> mewkernel-rt/src/lib.rs:98:21 [INFO] [stdout] | [INFO] [stdout] 98 | let sram_data = &_sdata as *const usize as *mut u8; [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] 98 | let sram_data = &raw const _sdata as *const usize as *mut u8; [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> mewkernel-rt/src/lib.rs:98:21 [INFO] [stdout] | [INFO] [stdout] 98 | let sram_data = &_sdata as *const usize as *mut u8; [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] 98 | let sram_data = &raw const _sdata as *const usize as *mut u8; [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> mewkernel-rt/src/lib.rs:102:21 [INFO] [stdout] | [INFO] [stdout] 102 | let bss_size = (&_ebss as *const usize as usize) - (&_sbss as *const usize as usize); [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] 102 | let bss_size = (&raw const _ebss as *const usize as usize) - (&_sbss as *const usize as usize); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> mewkernel-rt/src/lib.rs:102:21 [INFO] [stdout] | [INFO] [stdout] 102 | let bss_size = (&_ebss as *const usize as usize) - (&_sbss as *const usize as usize); [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] 102 | let bss_size = (&raw const _ebss as *const usize as usize) - (&_sbss as *const usize as usize); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> mewkernel-rt/src/lib.rs:102:57 [INFO] [stdout] | [INFO] [stdout] 102 | let bss_size = (&_ebss as *const usize as usize) - (&_sbss as *const usize as usize); [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] 102 | let bss_size = (&_ebss as *const usize as usize) - (&raw const _sbss as *const usize as usize); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> mewkernel-rt/src/lib.rs:102:57 [INFO] [stdout] | [INFO] [stdout] 102 | let bss_size = (&_ebss as *const usize as usize) - (&_sbss as *const usize as usize); [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] 102 | let bss_size = (&_ebss as *const usize as usize) - (&raw const _sbss as *const usize as usize); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> mewkernel-rt/src/lib.rs:103:20 [INFO] [stdout] | [INFO] [stdout] 103 | let bss_data = &_sbss as *const usize as *mut u8; [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] 103 | let bss_data = &raw const _sbss as *const usize as *mut u8; [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> mewkernel-rt/src/lib.rs:103:20 [INFO] [stdout] | [INFO] [stdout] 103 | let bss_data = &_sbss as *const usize as *mut u8; [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] 103 | let bss_data = &raw const _sbss as *const usize as *mut u8; [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> mewkernel-rt/src/lib.rs:96:22 [INFO] [stdout] | [INFO] [stdout] 96 | let data_size = (&_edata as *const usize as usize) - (&_sdata as *const usize as usize); [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: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 96 | let data_size = (&raw const _edata as *const usize as usize) - (&_sdata as *const usize as usize); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> mewkernel-rt/src/lib.rs:96:59 [INFO] [stdout] | [INFO] [stdout] 96 | let data_size = (&_edata as *const usize as usize) - (&_sdata as *const usize as usize); [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] 96 | let data_size = (&_edata as *const usize as usize) - (&raw const _sdata as *const usize as usize); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> mewkernel-rt/src/lib.rs:97:22 [INFO] [stdout] | [INFO] [stdout] 97 | let flash_data = &_etext as *const usize as *const u8; [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] 97 | let flash_data = &raw const _etext as *const usize as *const u8; [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> mewkernel-rt/src/lib.rs:98:21 [INFO] [stdout] | [INFO] [stdout] 98 | let sram_data = &_sdata as *const usize as *mut u8; [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] 98 | let sram_data = &raw const _sdata as *const usize as *mut u8; [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> mewkernel-rt/src/lib.rs:102:21 [INFO] [stdout] | [INFO] [stdout] 102 | let bss_size = (&_ebss as *const usize as usize) - (&_sbss as *const usize as usize); [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] 102 | let bss_size = (&raw const _ebss as *const usize as usize) - (&_sbss as *const usize as usize); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> mewkernel-rt/src/lib.rs:102:57 [INFO] [stdout] | [INFO] [stdout] 102 | let bss_size = (&_ebss as *const usize as usize) - (&_sbss as *const usize as usize); [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] 102 | let bss_size = (&_ebss as *const usize as usize) - (&raw const _sbss as *const usize as usize); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> mewkernel-rt/src/lib.rs:103:20 [INFO] [stdout] | [INFO] [stdout] 103 | let bss_data = &_sbss as *const usize as *mut u8; [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] 103 | let bss_data = &raw const _sbss as *const usize as *mut u8; [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking ringbuf v0.3.3 [INFO] [stderr] Checking mewkernel v0.1.0 (/opt/rustwide/workdir/mewkernel) [INFO] [stdout] error[E0152]: found duplicate lang item `panic_impl` [INFO] [stdout] --> mewkernel/src/main.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / fn panic(_info: &core::panic::PanicInfo) -> ! { [INFO] [stdout] 15 | | loop {} [INFO] [stdout] 16 | | } [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/1383df06117fd218068d1f39fd5326256dd4a348/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-9fbdd90241d2d923.rlib [INFO] [stdout] = note: second definition in the local crate (`mewkernel`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0152`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mewkernel` (bin "mewkernel" test) due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> mewkernel/src/main.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | / BUFFERED_USART.get_or_init(|| { [INFO] [stdout] 42 | | UnsafeCell::new(UsartBuffer { [INFO] [stdout] 43 | | tx_buffer: StaticRb::default(), [INFO] [stdout] 44 | | rx_buffer: StaticRb::default(), [INFO] [stdout] 45 | | }) [INFO] [stdout] 46 | | }) [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: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "4811b7d2fe26017f611b6c9595fea3e848d82b7f6d0e67caeefeccfa5a937d1a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4811b7d2fe26017f611b6c9595fea3e848d82b7f6d0e67caeefeccfa5a937d1a", kill_on_drop: false }` [INFO] [stdout] 4811b7d2fe26017f611b6c9595fea3e848d82b7f6d0e67caeefeccfa5a937d1a