[INFO] fetching crate wasmer-engine-universal-near 2.4.0... [INFO] checking wasmer-engine-universal-near-2.4.0 against master#80ed61fbd64936ed676c2050e7e660b5ad78c9f2 for pr-100555 [INFO] extracting crate wasmer-engine-universal-near 2.4.0 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate wasmer-engine-universal-near 2.4.0 on toolchain 80ed61fbd64936ed676c2050e7e660b5ad78c9f2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+80ed61fbd64936ed676c2050e7e660b5ad78c9f2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate wasmer-engine-universal-near 2.4.0 [INFO] finished tweaking crates.io crate wasmer-engine-universal-near 2.4.0 [INFO] tweaked toml for crates.io crate wasmer-engine-universal-near 2.4.0 written to /workspace/builds/worker-3/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+80ed61fbd64936ed676c2050e7e660b5ad78c9f2" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+80ed61fbd64936ed676c2050e7e660b5ad78c9f2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasmer-compiler-near v2.4.0 [INFO] [stderr] Downloaded wasmer-vm-near v2.4.0 [INFO] [stderr] Downloaded wasmer-types-near v2.4.0 [INFO] [stderr] Downloaded wasmer-engine-near v2.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+80ed61fbd64936ed676c2050e7e660b5ad78c9f2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dffd907421d17c2f1bded429c0cca444b43439fd019a0663caa3495706d72a1c [INFO] running `Command { std: "docker" "start" "-a" "dffd907421d17c2f1bded429c0cca444b43439fd019a0663caa3495706d72a1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dffd907421d17c2f1bded429c0cca444b43439fd019a0663caa3495706d72a1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dffd907421d17c2f1bded429c0cca444b43439fd019a0663caa3495706d72a1c", kill_on_drop: false }` [INFO] [stdout] dffd907421d17c2f1bded429c0cca444b43439fd019a0663caa3495706d72a1c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+80ed61fbd64936ed676c2050e7e660b5ad78c9f2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7e4a66bc6c66b1c8b8290e0e4f3948a9c4f93e9e45302d3907117e9f8c70cb9a [INFO] running `Command { std: "docker" "start" "-a" "7e4a66bc6c66b1c8b8290e0e4f3948a9c4f93e9e45302d3907117e9f8c70cb9a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling libc v0.2.131 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling bytecheck v0.6.9 [INFO] [stderr] Checking once_cell v1.13.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling rend v0.3.6 [INFO] [stderr] Compiling rkyv v0.7.39 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking gimli v0.26.2 [INFO] [stderr] Checking seahash v4.1.0 [INFO] [stderr] Compiling target-lexicon v0.12.4 [INFO] [stderr] Checking rustc-demangle v0.1.21 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking more-asserts v0.2.2 [INFO] [stderr] Checking smallvec v1.9.0 [INFO] [stderr] Checking wasmparser v0.78.2 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking leb128 v0.2.5 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Checking miniz_oxide v0.5.3 [INFO] [stderr] Compiling backtrace v0.3.66 [INFO] [stderr] Compiling wasmer-vm-near v2.4.0 [INFO] [stderr] Checking object v0.29.0 [INFO] [stderr] Checking getrandom v0.2.7 [INFO] [stderr] Checking region v3.0.0 [INFO] [stderr] Checking memmap2 v0.5.7 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking addr2line v0.17.0 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Compiling ptr_meta_derive v0.1.4 [INFO] [stderr] Compiling bytecheck_derive v0.6.9 [INFO] [stderr] Compiling rkyv_derive v0.7.39 [INFO] [stderr] Compiling thiserror-impl v1.0.32 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Checking ptr_meta v0.1.4 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Compiling enumset_derive v0.6.0 [INFO] [stderr] Checking thiserror v1.0.32 [INFO] [stderr] Checking enumset v1.0.11 [INFO] [stderr] Checking wasmer-types-near v2.4.0 [INFO] [stderr] Checking wasmer-compiler-near v2.4.0 [INFO] [stderr] Checking wasmer-engine-near v2.4.0 [INFO] [stderr] Checking wasmer-engine-universal-near v2.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `binary` [INFO] [stdout] --> src/engine.rs:459:9 [INFO] [stdout] | [INFO] [stdout] 459 | binary: &[u8], [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_binary` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tunables` [INFO] [stdout] --> src/engine.rs:460:9 [INFO] [stdout] | [INFO] [stdout] 460 | tunables: &dyn Tunables, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tunables` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `binary` [INFO] [stdout] --> src/engine.rs:459:9 [INFO] [stdout] | [INFO] [stdout] 459 | binary: &[u8], [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_binary` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tunables` [INFO] [stdout] --> src/engine.rs:460:9 [INFO] [stdout] | [INFO] [stdout] 460 | tunables: &dyn Tunables, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tunables` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/artifact.rs:92:26 [INFO] [stdout] | [INFO] [stdout] 92 | let memory = tunables [INFO] [stdout] | __________________________^ [INFO] [stdout] 93 | | .create_vm_memory(&ty, &style, memory_definition_locations[idx as usize]) [INFO] [stdout] | |_________________________________________________________________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | #![warn(unsafe_op_in_unsafe_fn)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/artifact.rs:107:25 [INFO] [stdout] | [INFO] [stdout] 107 | let table = tunables [INFO] [stdout] | _________________________^ [INFO] [stdout] 108 | | .create_vm_table(ty, style, table_definition_locations[idx as usize]) [INFO] [stdout] | |_____________________________________________________________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/artifact.rs:121:12 [INFO] [stdout] | [INFO] [stdout] 121 | Ok(InstanceHandle::new( [INFO] [stdout] | ____________^ [INFO] [stdout] 122 | | self, [INFO] [stdout] 123 | | allocator, [INFO] [stdout] 124 | | memories.into_boxed_slice(), [INFO] [stdout] ... | [INFO] [stdout] 131 | | config, [INFO] [stdout] 132 | | )) [INFO] [stdout] | |_________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/executable.rs:76:22 [INFO] [stdout] | [INFO] [stdout] 76 | archive: rkyv::archived_value::( [INFO] [stdout] | ______________________^ [INFO] [stdout] 77 | | data, [INFO] [stdout] 78 | | u64::from_le_bytes(position_value) as usize, [INFO] [stdout] 79 | | ), [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/unwind/systemv.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | __register_frame(ptr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/unwind/systemv.rs:80:23 [INFO] [stdout] | [INFO] [stdout] 80 | let end = start.add(eh_frame.len()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/unwind/systemv.rs:85:27 [INFO] [stdout] | [INFO] [stdout] 85 | let len = std::ptr::read::(current as *const u32) as usize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/unwind/systemv.rs:90:21 [INFO] [stdout] | [INFO] [stdout] 90 | __register_frame(current); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/unwind/systemv.rs:95:27 [INFO] [stdout] | [INFO] [stdout] 95 | current = current.add(len + 4); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `features` is never read [INFO] [stdout] --> src/engine.rs:501:5 [INFO] [stdout] | [INFO] [stdout] 496 | pub struct UniversalEngineInner { [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 501 | features: Features, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `features` is never used [INFO] [stdout] --> src/engine.rs:540:12 [INFO] [stdout] | [INFO] [stdout] 540 | pub fn features(&self) -> &Features { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/artifact.rs:92:26 [INFO] [stdout] | [INFO] [stdout] 92 | let memory = tunables [INFO] [stdout] | __________________________^ [INFO] [stdout] 93 | | .create_vm_memory(&ty, &style, memory_definition_locations[idx as usize]) [INFO] [stdout] | |_________________________________________________________________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | #![warn(unsafe_op_in_unsafe_fn)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/artifact.rs:107:25 [INFO] [stdout] | [INFO] [stdout] 107 | let table = tunables [INFO] [stdout] | _________________________^ [INFO] [stdout] 108 | | .create_vm_table(ty, style, table_definition_locations[idx as usize]) [INFO] [stdout] | |_____________________________________________________________________________________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/artifact.rs:121:12 [INFO] [stdout] | [INFO] [stdout] 121 | Ok(InstanceHandle::new( [INFO] [stdout] | ____________^ [INFO] [stdout] 122 | | self, [INFO] [stdout] 123 | | allocator, [INFO] [stdout] 124 | | memories.into_boxed_slice(), [INFO] [stdout] ... | [INFO] [stdout] 131 | | config, [INFO] [stdout] 132 | | )) [INFO] [stdout] | |_________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/executable.rs:76:22 [INFO] [stdout] | [INFO] [stdout] 76 | archive: rkyv::archived_value::( [INFO] [stdout] | ______________________^ [INFO] [stdout] 77 | | data, [INFO] [stdout] 78 | | u64::from_le_bytes(position_value) as usize, [INFO] [stdout] 79 | | ), [INFO] [stdout] | |_____________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/unwind/systemv.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | __register_frame(ptr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/unwind/systemv.rs:80:23 [INFO] [stdout] | [INFO] [stdout] 80 | let end = start.add(eh_frame.len()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/unwind/systemv.rs:85:27 [INFO] [stdout] | [INFO] [stdout] 85 | let len = std::ptr::read::(current as *const u32) as usize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/unwind/systemv.rs:90:21 [INFO] [stdout] | [INFO] [stdout] 90 | __register_frame(current); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to unsafe function is unsafe and requires unsafe block (error E0133) [INFO] [stdout] --> src/unwind/systemv.rs:95:27 [INFO] [stdout] | [INFO] [stdout] 95 | current = current.add(len + 4); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `features` is never read [INFO] [stdout] --> src/engine.rs:501:5 [INFO] [stdout] | [INFO] [stdout] 496 | pub struct UniversalEngineInner { [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 501 | features: Features, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `features` is never used [INFO] [stdout] --> src/engine.rs:540:12 [INFO] [stdout] | [INFO] [stdout] 540 | pub fn features(&self) -> &Features { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 37.67s [INFO] running `Command { std: "docker" "inspect" "7e4a66bc6c66b1c8b8290e0e4f3948a9c4f93e9e45302d3907117e9f8c70cb9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e4a66bc6c66b1c8b8290e0e4f3948a9c4f93e9e45302d3907117e9f8c70cb9a", kill_on_drop: false }` [INFO] [stdout] 7e4a66bc6c66b1c8b8290e0e4f3948a9c4f93e9e45302d3907117e9f8c70cb9a