[INFO] fetching crate rwasm 0.0.1... [INFO] testing rwasm-0.0.1 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate rwasm 0.0.1 into /workspace/builds/worker-3-tc1/source [INFO] removed /workspace/builds/worker-3-tc1/source/.cargo/config [INFO] started tweaking crates.io crate rwasm 0.0.1 [INFO] finished tweaking crates.io crate rwasm 0.0.1 [INFO] tweaked toml for crates.io crate rwasm 0.0.1 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rwasm 0.0.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 rwasm 0.0.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] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rwasm_macro v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] f9258a7d7a31af7751de258238f2f77ad25bfa957fc8d4c7b9eda22c2bb18da9 [INFO] running `Command { std: "docker" "start" "-a" "f9258a7d7a31af7751de258238f2f77ad25bfa957fc8d4c7b9eda22c2bb18da9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f9258a7d7a31af7751de258238f2f77ad25bfa957fc8d4c7b9eda22c2bb18da9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f9258a7d7a31af7751de258238f2f77ad25bfa957fc8d4c7b9eda22c2bb18da9", kill_on_drop: false }` [INFO] [stdout] f9258a7d7a31af7751de258238f2f77ad25bfa957fc8d4c7b9eda22c2bb18da9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 6fbf7ec7b18c5a29ac0df76406ea69db04b54bc40470fe26a07dd23eff27c7b8 [INFO] running `Command { std: "docker" "start" "-a" "6fbf7ec7b18c5a29ac0df76406ea69db04b54bc40470fe26a07dd23eff27c7b8", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling gimli v0.26.2 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling rwasm_macro v0.1.0 [INFO] [stderr] Compiling once_cell v1.13.1 [INFO] [stderr] Compiling miniz_oxide v0.5.3 [INFO] [stderr] Compiling object v0.29.0 [INFO] [stderr] Compiling backtrace v0.3.66 [INFO] [stderr] Compiling addr2line v0.17.0 [INFO] [stderr] Compiling rwasm v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: attribute should be applied to a free function, impl method or static [INFO] [stdout] --> src/timer.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 50 | / extern "C" { [INFO] [stdout] 51 | | pub fn request_timeout(listener_id: u32, millis: u32); [INFO] [stdout] 52 | | } [INFO] [stdout] | |_- not a free function, impl method or static [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead [INFO] [stdout] --> src/error_hook.rs:5:27 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn hook(info: &panic::PanicInfo) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to a free function, impl method or static [INFO] [stdout] --> src/wasm.rs:86:1 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 87 | / extern "C" { [INFO] [stdout] 88 | | pub fn upload_bytes(data: *const u8, length: usize) -> usize; [INFO] [stdout] 89 | | } [INFO] [stdout] | |_- not a free function, impl method or static [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/timer.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | if LISTENERS.is_none() { [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] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/timer.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | LISTENERS.as_mut().unwrap() [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 shared reference to mutable static [INFO] [stdout] --> src/wasm.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | if BUFFERS.is_none() { [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/wasm.rs:15:19 [INFO] [stdout] | [INFO] [stdout] 15 | buffers = BUFFERS.as_mut().unwrap(); [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 shared reference to mutable static [INFO] [stdout] --> src/wasm.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | if BUFFERS.is_none() { [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/wasm.rs:44:19 [INFO] [stdout] | [INFO] [stdout] 44 | buffers = BUFFERS.as_mut().unwrap(); [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 9.71s [INFO] running `Command { std: "docker" "inspect" "6fbf7ec7b18c5a29ac0df76406ea69db04b54bc40470fe26a07dd23eff27c7b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6fbf7ec7b18c5a29ac0df76406ea69db04b54bc40470fe26a07dd23eff27c7b8", kill_on_drop: false }` [INFO] [stdout] 6fbf7ec7b18c5a29ac0df76406ea69db04b54bc40470fe26a07dd23eff27c7b8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 768fbebdb60bd25e981b29a8af29388b4e3204a02cd1cec70847e6ef9e4b4d13 [INFO] running `Command { std: "docker" "start" "-a" "768fbebdb60bd25e981b29a8af29388b4e3204a02cd1cec70847e6ef9e4b4d13", kill_on_drop: false }` [INFO] [stderr] Compiling rwasm v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: attribute should be applied to a free function, impl method or static [INFO] [stdout] --> src/timer.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 50 | / extern "C" { [INFO] [stdout] 51 | | pub fn request_timeout(listener_id: u32, millis: u32); [INFO] [stdout] 52 | | } [INFO] [stdout] | |_- not a free function, impl method or static [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead [INFO] [stdout] --> src/error_hook.rs:5:27 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn hook(info: &panic::PanicInfo) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to a free function, impl method or static [INFO] [stdout] --> src/wasm.rs:86:1 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 87 | / extern "C" { [INFO] [stdout] 88 | | pub fn upload_bytes(data: *const u8, length: usize) -> usize; [INFO] [stdout] 89 | | } [INFO] [stdout] | |_- not a free function, impl method or static [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/timer.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | if LISTENERS.is_none() { [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] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/timer.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | LISTENERS.as_mut().unwrap() [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 shared reference to mutable static [INFO] [stdout] --> src/wasm.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | if BUFFERS.is_none() { [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/wasm.rs:15:19 [INFO] [stdout] | [INFO] [stdout] 15 | buffers = BUFFERS.as_mut().unwrap(); [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 shared reference to mutable static [INFO] [stdout] --> src/wasm.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | if BUFFERS.is_none() { [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/wasm.rs:44:19 [INFO] [stdout] | [INFO] [stdout] 44 | buffers = BUFFERS.as_mut().unwrap(); [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: attribute should be applied to a free function, impl method or static [INFO] [stdout] --> src/timer.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 50 | / extern "C" { [INFO] [stdout] 51 | | pub fn request_timeout(listener_id: u32, millis: u32); [INFO] [stdout] 52 | | } [INFO] [stdout] | |_- not a free function, impl method or static [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead [INFO] [stdout] --> src/error_hook.rs:5:27 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn hook(info: &panic::PanicInfo) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to a free function, impl method or static [INFO] [stdout] --> src/wasm.rs:86:1 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 87 | / extern "C" { [INFO] [stdout] 88 | | pub fn upload_bytes(data: *const u8, length: usize) -> usize; [INFO] [stdout] 89 | | } [INFO] [stdout] | |_- not a free function, impl method or static [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/timer.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | if LISTENERS.is_none() { [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] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/timer.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | LISTENERS.as_mut().unwrap() [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 shared reference to mutable static [INFO] [stdout] --> src/wasm.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | if BUFFERS.is_none() { [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/wasm.rs:15:19 [INFO] [stdout] | [INFO] [stdout] 15 | buffers = BUFFERS.as_mut().unwrap(); [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 shared reference to mutable static [INFO] [stdout] --> src/wasm.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | if BUFFERS.is_none() { [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/wasm.rs:44:19 [INFO] [stdout] | [INFO] [stdout] 44 | buffers = BUFFERS.as_mut().unwrap(); [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] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/rcrt1.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crti.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtbeginS.o" "/tmp/rustcZy6J8I/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{librwasm-4e1e164ff5368b6f.rlib,libbacktrace-01004ec065de9679.rlib,libminiz_oxide-3a826a4debd45fea.rlib,libadler-b32dea79b2f05ffd.rlib,libobject-3ecd00fe0442b641.rlib,libmemchr-d57c7cd09fdea38e.rlib,liblibc-7d87868aa1c36bd2.rlib,libaddr2line-63cfa50511a3d120.rlib,libgimli-385050711d28ee71.rlib,libcfg_if-66d55f6b302e88c8.rlib,librustc_demangle-4e14502e0acf1333.rlib,libonce_cell-0167e499dfd386e1.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*}.rlib" "-lunwind" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libcfg_if-*,liblibc-*}.rlib" "-lc" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/tmp/rustcZy6J8I/raw-dylibs" "-Wl,-Bdynamic" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-nostartfiles" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib" "-o" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/examples/main-92298fcf76c87a3e" "-Wl,--gc-sections" "-static-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtendS.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtn.o" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/librwasm-4e1e164ff5368b6f.rlib(rwasm-4e1e164ff5368b6f.rwasm.34d651ae5057a72b-cgu.1.rcgu.o): in function `rwasm::wasm::send_bytes': [INFO] [stdout] /opt/rustwide/workdir/src/wasm.rs:63:(.text._ZN5rwasm4wasm10send_bytes17h9eae0d1f1597898dE+0x341): undefined reference to `upload_bytes' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/librwasm-4e1e164ff5368b6f.rlib(rwasm-4e1e164ff5368b6f.rwasm.34d651ae5057a72b-cgu.2.rcgu.o): in function `rwasm::timer::TimerFuture::new': [INFO] [stdout] /opt/rustwide/workdir/src/timer.rs:103:(.text._ZN5rwasm5timer11TimerFuture3new17h1ca5762bb42b792fE+0x180): undefined reference to `request_timeout' [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] = note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified [INFO] [stdout] = note: use the `-l` flag to specify native libraries to link [INFO] [stdout] = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#rustc-link-lib) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rwasm` (example "main") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "768fbebdb60bd25e981b29a8af29388b4e3204a02cd1cec70847e6ef9e4b4d13", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "768fbebdb60bd25e981b29a8af29388b4e3204a02cd1cec70847e6ef9e4b4d13", kill_on_drop: false }` [INFO] [stdout] 768fbebdb60bd25e981b29a8af29388b4e3204a02cd1cec70847e6ef9e4b4d13