[INFO] cloning repository https://github.com/timva1/baro-test-code [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/timva1/baro-test-code" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftimva1%2Fbaro-test-code", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftimva1%2Fbaro-test-code'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 535a1fa0d9b93d3afcdb771679e96271ca83ebed [INFO] testing timva1/baro-test-code against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftimva1%2Fbaro-test-code" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-5-tc1/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/timva1/baro-test-code [INFO] finished tweaking git repo https://github.com/timva1/baro-test-code [INFO] tweaked toml for git repo https://github.com/timva1/baro-test-code written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/timva1/baro-test-code on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/timva1/baro-test-code 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded smart-leds-trait v0.3.1 [INFO] [stderr] Downloaded panic-probe v1.0.0 [INFO] [stderr] Downloaded const-default v1.0.0 [INFO] [stderr] Downloaded svgbobdoc v0.3.0 [INFO] [stderr] Downloaded smart-leds v0.4.0 [INFO] [stderr] Downloaded embedded-alloc v0.6.0 [INFO] [stderr] Downloaded rlsf v0.2.1 [INFO] [stderr] Downloaded defmt-rtt v1.0.0 [INFO] [stderr] Downloaded embassy-hal-internal v0.2.0 [INFO] [stderr] Downloaded lalrpop-util v0.22.1 [INFO] [stderr] Downloaded ascii-canvas v4.0.0 [INFO] [stderr] Downloaded term v1.0.2 [INFO] [stderr] Downloaded pio v0.3.0 [INFO] [stderr] Downloaded pio-parser v0.3.0 [INFO] [stderr] Downloaded pio-proc v0.3.0 [INFO] [stderr] Downloaded embassy-usb-driver v0.1.0 [INFO] [stderr] Downloaded embassy-rp v0.4.0 [INFO] [stderr] Downloaded pio-core v0.3.0 [INFO] [stderr] Downloaded lalrpop v0.22.1 [INFO] [stderr] Downloaded rp-pac v7.0.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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d3b8d2abd5cf489baa03ba96e200832d2846b91287dfa05135c6c662de71837b [INFO] running `Command { std: "docker" "start" "-a" "d3b8d2abd5cf489baa03ba96e200832d2846b91287dfa05135c6c662de71837b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d3b8d2abd5cf489baa03ba96e200832d2846b91287dfa05135c6c662de71837b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d3b8d2abd5cf489baa03ba96e200832d2846b91287dfa05135c6c662de71837b", kill_on_drop: false }` [INFO] [stdout] d3b8d2abd5cf489baa03ba96e200832d2846b91287dfa05135c6c662de71837b [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7ad90f9987d28824ed8cfc69ca4ff3716644c889ea3a742d62162b398f536ca8 [INFO] running `Command { std: "docker" "start" "-a" "7ad90f9987d28824ed8cfc69ca4ff3716644c889ea3a742d62162b398f536ca8", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling defmt v1.0.1 [INFO] [stderr] Compiling defmt-macros v1.0.1 [INFO] [stderr] Compiling cortex-m v0.7.7 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling bit-vec v0.8.0 [INFO] [stderr] Compiling term v1.0.2 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling critical-section v1.2.0 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling fixedbitset v0.5.7 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling keccak v0.1.5 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling ascii-canvas v4.0.0 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling bit-set v0.8.0 [INFO] [stderr] Compiling ena v0.14.3 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling pico-args v0.5.0 [INFO] [stderr] Compiling volatile-register v0.2.2 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling debug-helper v0.3.13 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling embedded-hal-async v1.0.0 [INFO] [stderr] Compiling cortex-m-rt v0.7.5 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling petgraph v0.7.1 [INFO] [stderr] Compiling embedded-hal v1.0.0 [INFO] [stderr] Compiling bytemuck v1.22.0 [INFO] [stderr] Compiling embedded-io-async v0.6.1 [INFO] [stderr] Compiling embassy-time-driver v0.2.0 [INFO] [stderr] Compiling heapless v0.8.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling crc-any v2.5.0 [INFO] [stderr] Compiling hash32 v0.3.1 [INFO] [stderr] Compiling embassy-sync v0.6.2 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling string_cache v0.8.9 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling embedded-io v0.6.1 [INFO] [stderr] Compiling rp2040-boot2 v0.3.0 [INFO] [stderr] Compiling rgb v0.8.50 [INFO] [stderr] Compiling fixed v1.29.0 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling atomic-polyfill v1.0.3 [INFO] [stderr] Compiling rp-pac v7.0.0 [INFO] [stderr] Compiling embedded-storage v0.3.1 [INFO] [stderr] Compiling embassy-hal-internal v0.2.0 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling embedded-storage-async v0.4.1 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling embassy-rp v0.4.0 [INFO] [stderr] Compiling defmt-rtt v1.0.0 [INFO] [stderr] Compiling smart-leds-trait v0.3.1 [INFO] [stderr] Compiling panic-probe v1.0.0 [INFO] [stderr] Compiling const-default v1.0.0 [INFO] [stderr] Compiling embassy-futures v0.1.1 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling smart-leds v0.4.0 [INFO] [stderr] Compiling embedded-hal-nb v1.0.0 [INFO] [stderr] Compiling baro-test v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling linked_list_allocator v0.10.5 [INFO] [stderr] Compiling sha2-const-stable v0.1.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling svgbobdoc v0.3.0 [INFO] [stderr] Compiling rlsf v0.2.1 [INFO] [stderr] Compiling lalrpop-util v0.22.1 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling lalrpop v0.22.1 [INFO] [stderr] Compiling embedded-alloc v0.6.0 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling num_enum_derive v0.7.3 [INFO] [stderr] Compiling cortex-m-rt-macros v0.7.5 [INFO] [stderr] Compiling num_enum v0.7.3 [INFO] [stderr] Compiling pio-core v0.3.0 [INFO] [stderr] Compiling defmt-parser v1.0.0 [INFO] [stderr] Compiling defmt v0.3.100 [INFO] [stderr] Compiling embassy-time v0.4.0 [INFO] [stderr] Compiling embassy-usb-driver v0.1.0 [INFO] [stderr] Compiling embassy-embedded-hal v0.3.0 [INFO] [stderr] Compiling pio-parser v0.3.0 [INFO] [stderr] Compiling pio-proc v0.3.0 [INFO] [stderr] Compiling pio v0.3.0 [INFO] [stdout] warning: unused import: `OutputOpenDrain` [INFO] [stdout] --> src/main.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | gpio::{Level, Output, OutputOpenDrain}, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `baro_test as bmp280_ehal` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use baro_test as bmp280_ehal; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `embedded_hal::i2c::I2c` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use embedded_hal::i2c::I2c; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `#[panic_handler]` function required, but not found [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unwinding panics are not supported without std [INFO] [stdout] | [INFO] [stdout] = help: using nightly cargo, use -Zbuild-std with panic="abort" to avoid unwinding [INFO] [stdout] = note: since the core library is usually precompiled with panic="unwind", rebuilding your crate with panic="abort" may not be enough to fix the problem [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i2c` [INFO] [stdout] --> src/main.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | let mut i2c = embassy_rp::i2c::I2c::new_blocking(p.I2C1, scl, sda, i2c_config); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_i2c` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/main.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | let addr = 0x76; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | let mut i2c = embassy_rp::i2c::I2c::new_blocking(p.I2C1, scl, sda, i2c_config); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `baro-test` (bin "baro-test") due to 2 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "7ad90f9987d28824ed8cfc69ca4ff3716644c889ea3a742d62162b398f536ca8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ad90f9987d28824ed8cfc69ca4ff3716644c889ea3a742d62162b398f536ca8", kill_on_drop: false }` [INFO] [stdout] 7ad90f9987d28824ed8cfc69ca4ff3716644c889ea3a742d62162b398f536ca8