[INFO] fetching crate vl53l1x 1.2.0... [INFO] building vl53l1x-1.2.0 against try#23647e694de8d0904848ad068b2e0ec2dd098c37+target=wasm32-wasip1 for pr-149868 [INFO] extracting crate vl53l1x 1.2.0 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate vl53l1x 1.2.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate vl53l1x 1.2.0 [INFO] tweaked toml for crates.io crate vl53l1x 1.2.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate vl53l1x 1.2.0 on toolchain 23647e694de8d0904848ad068b2e0ec2dd098c37 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 8 packages to latest compatible versions [INFO] [stderr] Adding enum-primitive-derive v0.1.2 (available: v0.3.0) [INFO] [stderr] Adding num-traits v0.1.43 (available: v0.2.19) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 81e3a40b94bac019ddbc33f5125af983609214ff61f5e721487b156d8492ad5b [INFO] running `Command { std: "docker" "start" "-a" "81e3a40b94bac019ddbc33f5125af983609214ff61f5e721487b156d8492ad5b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "81e3a40b94bac019ddbc33f5125af983609214ff61f5e721487b156d8492ad5b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "81e3a40b94bac019ddbc33f5125af983609214ff61f5e721487b156d8492ad5b", kill_on_drop: false }` [INFO] [stdout] 81e3a40b94bac019ddbc33f5125af983609214ff61f5e721487b156d8492ad5b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "build" "--frozen" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] 8a56eaabc579cbfbaa714594cee71cdfebc0daa0b91b55c1821867b641c3f7f7 [INFO] running `Command { std: "docker" "start" "-a" "8a56eaabc579cbfbaa714594cee71cdfebc0daa0b91b55c1821867b641c3f7f7", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling vl53l1x v1.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling enum-primitive-derive v0.1.2 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.31s [INFO] running `Command { std: "docker" "inspect" "8a56eaabc579cbfbaa714594cee71cdfebc0daa0b91b55c1821867b641c3f7f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a56eaabc579cbfbaa714594cee71cdfebc0daa0b91b55c1821867b641c3f7f7", kill_on_drop: false }` [INFO] [stdout] 8a56eaabc579cbfbaa714594cee71cdfebc0daa0b91b55c1821867b641c3f7f7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "test" "--frozen" "--no-run" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] a4d92704f807dbd476cc01afd1dbfe8903df49ce6fd272585cec4f00bea6822f [INFO] running `Command { std: "docker" "start" "-a" "a4d92704f807dbd476cc01afd1dbfe8903df49ce6fd272585cec4f00bea6822f", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling vl53l1x v1.2.0 (/opt/rustwide/workdir) [INFO] [stdout] error: linking with `rust-lld` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "rust-lld" "-flavor" "wasm" "--export" "__main_void" "-z" "stack-size=1048576" "--stack-first" "--no-demangle" "/lib/rustlib/wasm32-wasip1/lib/self-contained/crt1-command.o" "<2 object files omitted>" "/lib/rustlib/wasm32-wasip1/lib/libpanic_abort-*.rlib" "/opt/rustwide/target/wasm32-wasip1/debug/deps/{libvl53l1x-2957135bc87ddd2b,libnum_traits-f5d1496c82eede51,libnum_traits-3a8e83649fd78d15}.rlib" "/lib/rustlib/wasm32-wasip1/lib/{libstd-*,libwasi-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*}.rlib" "-l" "c" "/lib/rustlib/wasm32-wasip1/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/opt/rustwide/target/wasm32-wasip1/debug/build/vl53l1x-00602d1756c38477/out" "-L" "/lib/rustlib/wasm32-wasip1/lib/self-contained" "-o" "/opt/rustwide/target/wasm32-wasip1/debug/examples/scan-bf06a5f0c9818819.wasm" "--gc-sections" "-O0" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libvl53l1x-2957135bc87ddd2b.rlib: archive member 'vl53l1_api.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libvl53l1x-2957135bc87ddd2b.rlib: archive member 'vl53l1_api_calibration.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libvl53l1x-2957135bc87ddd2b.rlib: archive member 'vl53l1_api_core.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libvl53l1x-2957135bc87ddd2b.rlib: archive member 'vl53l1_api_debug.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libvl53l1x-2957135bc87ddd2b.rlib: archive member 'vl53l1_api_preset_modes.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libvl53l1x-2957135bc87ddd2b.rlib: archive member 'vl53l1_api_strings.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libvl53l1x-2957135bc87ddd2b.rlib: archive member 'vl53l1_core.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libvl53l1x-2957135bc87ddd2b.rlib: archive member 'vl53l1_core_support.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libvl53l1x-2957135bc87ddd2b.rlib: archive member 'vl53l1_error_strings.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libvl53l1x-2957135bc87ddd2b.rlib: archive member 'vl53l1_register_funcs.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libvl53l1x-2957135bc87ddd2b.rlib: archive member 'vl53l1_silicon_core.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libvl53l1x-2957135bc87ddd2b.rlib: archive member 'vl53l1_wait.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/libvl53l1x-2957135bc87ddd2b.rlib: archive member 'vl53l1_platform.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libvl53l1x-2957135bc87ddd2b.rlib(vl53l1x-2957135bc87ddd2b.vl53l1x.6739a1a3aa3fb5aa-cgu.0.rcgu.o): undefined symbol: softwareReset [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libvl53l1x-2957135bc87ddd2b.rlib(vl53l1x-2957135bc87ddd2b.vl53l1x.6739a1a3aa3fb5aa-cgu.0.rcgu.o): undefined symbol: getRangingMeasurement [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libvl53l1x-2957135bc87ddd2b.rlib(vl53l1x-2957135bc87ddd2b.vl53l1x.6739a1a3aa3fb5aa-cgu.0.rcgu.o): undefined symbol: getUserROI [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libvl53l1x-2957135bc87ddd2b.rlib(vl53l1x-2957135bc87ddd2b.vl53l1x.6739a1a3aa3fb5aa-cgu.0.rcgu.o): undefined symbol: setUserROI [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libvl53l1x-2957135bc87ddd2b.rlib(vl53l1x-2957135bc87ddd2b.vl53l1x.6739a1a3aa3fb5aa-cgu.0.rcgu.o): undefined symbol: startRanging [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libvl53l1x-2957135bc87ddd2b.rlib(vl53l1x-2957135bc87ddd2b.vl53l1x.6739a1a3aa3fb5aa-cgu.0.rcgu.o): undefined symbol: getInterMeasurementPeriodMilliSeconds [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libvl53l1x-2957135bc87ddd2b.rlib(vl53l1x-2957135bc87ddd2b.vl53l1x.6739a1a3aa3fb5aa-cgu.0.rcgu.o): undefined symbol: setInterMeasurementPeriodMilliSeconds [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libvl53l1x-2957135bc87ddd2b.rlib(vl53l1x-2957135bc87ddd2b.vl53l1x.6739a1a3aa3fb5aa-cgu.0.rcgu.o): undefined symbol: getMeasurementTimingBudgetMicroSeconds [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libvl53l1x-2957135bc87ddd2b.rlib(vl53l1x-2957135bc87ddd2b.vl53l1x.6739a1a3aa3fb5aa-cgu.0.rcgu.o): undefined symbol: setMeasurementTimingBudgetMicroSeconds [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libvl53l1x-2957135bc87ddd2b.rlib(vl53l1x-2957135bc87ddd2b.vl53l1x.6739a1a3aa3fb5aa-cgu.0.rcgu.o): undefined symbol: initI2c [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libvl53l1x-2957135bc87ddd2b.rlib(vl53l1x-2957135bc87ddd2b.vl53l1x.6739a1a3aa3fb5aa-cgu.0.rcgu.o): undefined symbol: initSensor [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `vl53l1x` (example "scan") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "a4d92704f807dbd476cc01afd1dbfe8903df49ce6fd272585cec4f00bea6822f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a4d92704f807dbd476cc01afd1dbfe8903df49ce6fd272585cec4f00bea6822f", kill_on_drop: false }` [INFO] [stdout] a4d92704f807dbd476cc01afd1dbfe8903df49ce6fd272585cec4f00bea6822f