[INFO] cloning repository https://github.com/xdlin/wasm_tools_error_demo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/xdlin/wasm_tools_error_demo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxdlin%2Fwasm_tools_error_demo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxdlin%2Fwasm_tools_error_demo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e049083d8d2562d3421105c14339840f222e1457 [INFO] checking xdlin/wasm_tools_error_demo against master#5337252b9952fdd9482ed6a4add17254e5bd2c40 for pr-138785 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxdlin%2Fwasm_tools_error_demo" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/xdlin/wasm_tools_error_demo on toolchain 5337252b9952fdd9482ed6a4add17254e5bd2c40 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5337252b9952fdd9482ed6a4add17254e5bd2c40" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-5-tc1/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/xdlin/wasm_tools_error_demo [INFO] finished tweaking git repo https://github.com/xdlin/wasm_tools_error_demo [INFO] tweaked toml for git repo https://github.com/xdlin/wasm_tools_error_demo written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/xdlin/wasm_tools_error_demo 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" "+5337252b9952fdd9482ed6a4add17254e5bd2c40" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wit-bindgen v0.39.0 [INFO] [stderr] Downloaded wit-bindgen-rust-macro v0.39.0 [INFO] [stderr] Downloaded wit-bindgen-rust v0.39.0 [INFO] [stderr] Downloaded wit-bindgen-core v0.39.0 [INFO] [stderr] Downloaded wasm-metadata v0.225.0 [INFO] [stderr] Downloaded wasm-encoder v0.225.0 [INFO] [stderr] Downloaded wit-parser v0.225.0 [INFO] [stderr] Downloaded wasmparser v0.225.0 [INFO] [stderr] Downloaded wit-component v0.225.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+5337252b9952fdd9482ed6a4add17254e5bd2c40" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e41122bec05f9ac01cba95026b6e12f1ca545d11df17c6903d51c676709c5df7 [INFO] running `Command { std: "docker" "start" "-a" "e41122bec05f9ac01cba95026b6e12f1ca545d11df17c6903d51c676709c5df7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e41122bec05f9ac01cba95026b6e12f1ca545d11df17c6903d51c676709c5df7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e41122bec05f9ac01cba95026b6e12f1ca545d11df17c6903d51c676709c5df7", kill_on_drop: false }` [INFO] [stdout] e41122bec05f9ac01cba95026b6e12f1ca545d11df17c6903d51c676709c5df7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+5337252b9952fdd9482ed6a4add17254e5bd2c40" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 164fa3e2960409c598e399ad1cc0f727c079786daf5e1390085a881a6780d24c [INFO] running `Command { std: "docker" "start" "-a" "164fa3e2960409c598e399ad1cc0f727c079786daf5e1390085a881a6780d24c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling litemap v0.7.5 [INFO] [stderr] Compiling foldhash v0.1.4 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Compiling wasmparser v0.225.0 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling anyhow v1.0.97 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling wasm-encoder v0.225.0 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling prettyplease v0.2.31 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling id-arena v2.2.1 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Compiling log v0.4.26 [INFO] [stderr] Compiling leb128fmt v0.1.0 [INFO] [stderr] Compiling spdx v0.10.8 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Compiling wit-bindgen-rust v0.39.0 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling wit-bindgen-rt v0.39.0 [INFO] [stderr] Compiling wit-bindgen-rust-macro v0.39.0 [INFO] [stderr] Checking once_cell v1.21.1 [INFO] [stderr] Compiling indexmap v2.8.0 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling wit-parser v0.225.0 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling wasm-metadata v0.225.0 [INFO] [stderr] Compiling wit-bindgen-core v0.39.0 [INFO] [stderr] Compiling wit-component v0.225.0 [INFO] [stderr] Checking wit-bindgen v0.39.0 [INFO] [stderr] Checking wit_test v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `bindings::huygens::service::native` [INFO] [stdout] --> src/lib.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use bindings::huygens::service::native; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bindings::huygens::service::native` [INFO] [stdout] --> src/lib.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use bindings::huygens::service::native; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/lib.rs:18:25 [INFO] [stdout] | [INFO] [stdout] 18 | async fn factor_get(s: String) -> String { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/lib.rs:18:25 [INFO] [stdout] | [INFO] [stdout] 18 | async fn factor_get(s: String) -> String { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `bindings::exports::huygens::service::guest::_export_factor_get_cabi` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | / wit_bindgen::generate!({ [INFO] [stdout] 3 | | path: "wit", [INFO] [stdout] 4 | | world: "factor-server", [INFO] [stdout] 5 | | async: true, [INFO] [stdout] 6 | | }); [INFO] [stdout] | |______^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 9 | export!(Component); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | / wit_bindgen::generate!({ [INFO] [stdout] 3 | | path: "wit", [INFO] [stdout] 4 | | world: "factor-server", [INFO] [stdout] 5 | | async: true, [INFO] [stdout] 6 | | }); [INFO] [stdout] | |______^ [INFO] [stdout] ... [INFO] [stdout] 9 | export!(Component); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` on by default [INFO] [stdout] = note: this warning originates in the macro `export` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `bindings::exports::huygens::service::guest::__callback_factor_get` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | / wit_bindgen::generate!({ [INFO] [stdout] 3 | | path: "wit", [INFO] [stdout] 4 | | world: "factor-server", [INFO] [stdout] 5 | | async: true, [INFO] [stdout] 6 | | }); [INFO] [stdout] | |______^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 9 | export!(Component); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | / wit_bindgen::generate!({ [INFO] [stdout] 3 | | path: "wit", [INFO] [stdout] 4 | | world: "factor-server", [INFO] [stdout] 5 | | async: true, [INFO] [stdout] 6 | | }); [INFO] [stdout] | |______^ [INFO] [stdout] ... [INFO] [stdout] 9 | export!(Component); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `export` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `bindings::exports::huygens::service::guest::_export_factor_get_cabi` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | / wit_bindgen::generate!({ [INFO] [stdout] 3 | | path: "wit", [INFO] [stdout] 4 | | world: "factor-server", [INFO] [stdout] 5 | | async: true, [INFO] [stdout] 6 | | }); [INFO] [stdout] | |______^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 9 | export!(Component); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | / wit_bindgen::generate!({ [INFO] [stdout] 3 | | path: "wit", [INFO] [stdout] 4 | | world: "factor-server", [INFO] [stdout] 5 | | async: true, [INFO] [stdout] 6 | | }); [INFO] [stdout] | |______^ [INFO] [stdout] ... [INFO] [stdout] 9 | export!(Component); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` on by default [INFO] [stdout] = note: this warning originates in the macro `export` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `bindings::exports::huygens::service::guest::__callback_factor_get` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | / wit_bindgen::generate!({ [INFO] [stdout] 3 | | path: "wit", [INFO] [stdout] 4 | | world: "factor-server", [INFO] [stdout] 5 | | async: true, [INFO] [stdout] 6 | | }); [INFO] [stdout] | |______^ call to unsafe function [INFO] [stdout] ... [INFO] [stdout] 9 | export!(Component); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | / wit_bindgen::generate!({ [INFO] [stdout] 3 | | path: "wit", [INFO] [stdout] 4 | | world: "factor-server", [INFO] [stdout] 5 | | async: true, [INFO] [stdout] 6 | | }); [INFO] [stdout] | |______^ [INFO] [stdout] ... [INFO] [stdout] 9 | export!(Component); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `export` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 51.90s [INFO] running `Command { std: "docker" "inspect" "164fa3e2960409c598e399ad1cc0f727c079786daf5e1390085a881a6780d24c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "164fa3e2960409c598e399ad1cc0f727c079786daf5e1390085a881a6780d24c", kill_on_drop: false }` [INFO] [stdout] 164fa3e2960409c598e399ad1cc0f727c079786daf5e1390085a881a6780d24c