[INFO] cloning repository https://github.com/pubgrub/n2tinject [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pubgrub/n2tinject" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpubgrub%2Fn2tinject", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpubgrub%2Fn2tinject'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6351396b5c1fe65185ca175633442f44c449e884 [INFO] checking pubgrub/n2tinject against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpubgrub%2Fn2tinject" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-7-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/pubgrub/n2tinject [INFO] finished tweaking git repo https://github.com/pubgrub/n2tinject [INFO] tweaked toml for git repo https://github.com/pubgrub/n2tinject written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/pubgrub/n2tinject on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/pubgrub/n2tinject 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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fff78acd6d99c82737b3828403bf3ef3a54362a8c9bd4108d161b8a628746474 [INFO] running `Command { std: "docker" "start" "-a" "fff78acd6d99c82737b3828403bf3ef3a54362a8c9bd4108d161b8a628746474", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fff78acd6d99c82737b3828403bf3ef3a54362a8c9bd4108d161b8a628746474", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fff78acd6d99c82737b3828403bf3ef3a54362a8c9bd4108d161b8a628746474", kill_on_drop: false }` [INFO] [stdout] fff78acd6d99c82737b3828403bf3ef3a54362a8c9bd4108d161b8a628746474 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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 -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 426cc51906662e26076ccf3aaeb1a8a57fa43e8350111e9ed2784ec8be18c72f [INFO] running `Command { std: "docker" "start" "-a" "426cc51906662e26076ccf3aaeb1a8a57fa43e8350111e9ed2784ec8be18c72f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.16 [INFO] [stderr] Compiling defmt v0.3.10 [INFO] [stderr] Compiling cortex-m v0.7.7 [INFO] [stderr] Compiling defmt-macros v0.4.0 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Checking nb v1.1.0 [INFO] [stderr] Checking critical-section v1.2.0 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling cortex-m-rt v0.7.5 [INFO] [stderr] Compiling portable-atomic v1.10.0 [INFO] [stderr] Checking vcell v0.1.3 [INFO] [stderr] Checking bitfield v0.13.2 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling heapless v0.8.0 [INFO] [stderr] Checking volatile-register v0.2.2 [INFO] [stderr] Checking embedded-hal v1.0.0 [INFO] [stderr] Compiling debug-helper v0.3.13 [INFO] [stderr] Compiling frunk_core v0.4.3 [INFO] [stderr] Compiling embedded-hal-async v1.0.0 [INFO] [stderr] Compiling rp2040-pac v0.6.0 [INFO] [stderr] Checking gcd v2.3.0 [INFO] [stderr] Compiling cortex-m-semihosting v0.5.0 [INFO] [stderr] Checking nb v0.1.3 [INFO] [stderr] Checking zerocopy v0.8.24 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking hash32 v0.3.1 [INFO] [stderr] Checking embedded-hal v0.2.7 [INFO] [stderr] Compiling crc-any v2.5.0 [INFO] [stderr] Checking fugit v0.3.7 [INFO] [stderr] Compiling defmt-rtt v0.4.1 [INFO] [stderr] Compiling litrs v0.4.1 [INFO] [stderr] Checking embedded-io v0.6.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking embedded-hal-nb v1.0.0 [INFO] [stderr] Checking embedded-dma v0.2.0 [INFO] [stderr] Checking rp-binary-info v0.1.0 [INFO] [stderr] Compiling n2tinject v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking bitfield v0.14.0 [INFO] [stderr] Checking i2c-write-iter v1.0.0 [INFO] [stderr] Checking panic-halt v1.0.0 [INFO] [stderr] Checking rp-hal-common v0.1.0 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Compiling rp2040-boot2 v0.3.0 [INFO] [stderr] Compiling document-features v0.2.11 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Checking dyn-fmt v0.4.3 [INFO] [stderr] Checking once_cell v1.20.3 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling frunk_proc_macro_helpers v0.1.3 [INFO] [stderr] Compiling num_enum_derive v0.5.11 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling cortex-m-rt-macros v0.7.5 [INFO] [stderr] Compiling frunk_derives v0.4.3 [INFO] [stderr] Compiling defmt-test-macros v0.3.2 [INFO] [stderr] Checking num_enum v0.5.11 [INFO] [stderr] Checking pio v0.2.1 [INFO] [stderr] Checking frunk v0.4.3 [INFO] [stderr] Compiling rp2040-hal-macros v0.1.0 [INFO] [stderr] Compiling defmt-parser v0.4.1 [INFO] [stderr] Checking defmt-test v0.3.3 [INFO] [stderr] Checking usb-device v0.3.2 [INFO] [stderr] Checking usbd-serial v0.2.2 [INFO] [stderr] Checking rp2040-hal v0.11.0 [INFO] [stdout] warning: field `mirrored` is never read [INFO] [stdout] --> src/input_channel.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct InputChannel { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 24 | pub mirrored: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/button.rs:35:29 [INFO] [stdout] | [INFO] [stdout] 35 | + match self.pin.is_high().unwrap() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/input_channel.rs:77:53 [INFO] [stdout] | [INFO] [stdout] 77 | ... (self.temp_data << 1) | self.pin_data_in.is_high().unwrap() as i16; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/input_channel.rs:79:32 [INFO] [stdout] | [INFO] [stdout] 79 | ... | (self.pin_data_in.is_high().unwrap() as i16) << 15; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `n2tinject` (bin "n2tinject") due to 3 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "426cc51906662e26076ccf3aaeb1a8a57fa43e8350111e9ed2784ec8be18c72f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "426cc51906662e26076ccf3aaeb1a8a57fa43e8350111e9ed2784ec8be18c72f", kill_on_drop: false }` [INFO] [stdout] 426cc51906662e26076ccf3aaeb1a8a57fa43e8350111e9ed2784ec8be18c72f