[INFO] fetching crate rppal 0.19.0... [INFO] checking rppal-0.19.0 against try#da25749bf5e6ba5ed862ff361c19afff2a986b2d for pr-132712 [INFO] extracting crate rppal 0.19.0 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate rppal 0.19.0 on toolchain da25749bf5e6ba5ed862ff361c19afff2a986b2d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rppal 0.19.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate rppal 0.19.0 [INFO] tweaked toml for crates.io crate rppal 0.19.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate crates.io crate rppal 0.19.0 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" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f39dce2a04b64eb2357736008f0ebb9163c98617394f89580ddd21f6a10034b6 [INFO] running `Command { std: "docker" "start" "-a" "f39dce2a04b64eb2357736008f0ebb9163c98617394f89580ddd21f6a10034b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f39dce2a04b64eb2357736008f0ebb9163c98617394f89580ddd21f6a10034b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f39dce2a04b64eb2357736008f0ebb9163c98617394f89580ddd21f6a10034b6", kill_on_drop: false }` [INFO] [stdout] f39dce2a04b64eb2357736008f0ebb9163c98617394f89580ddd21f6a10034b6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7d84ea246debbd937358356e1f7dc15509d1703bcb4404cbaa74c1d473d7d4ef [INFO] running `Command { std: "docker" "start" "-a" "7d84ea246debbd937358356e1f7dc15509d1703bcb4404cbaa74c1d473d7d4ef", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Checking simple-signal v1.1.1 [INFO] [stderr] Checking rppal v0.19.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/gpio/interrupt.rs (1 fix) [INFO] [stderr] Fixed src/macros.rs (3 fixes) [INFO] [stderr] Fixed src/uart.rs (1 fix) [INFO] [stderr] Fixed src/gpio.rs (1 fix) [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/gpio.rs:408:17 [INFO] [stdout] | [INFO] [stdout] 408 | GPIO_STATE.write(Mutex::new(Weak::new())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/gpio.rs:412:13 [INFO] [stdout] | [INFO] [stdout] 412 | GPIO_STATE.assume_init_ref().lock().unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/gpio/pin.rs:105:16 [INFO] [stdout] | [INFO] [stdout] 105 | if let Some(ref mut soft_pwm) = self.soft_pwm { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 657 | impl_output!(); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/gpio/pin.rs:107:13 [INFO] [stdout] | [INFO] [stdout] 107 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 657 | impl_output!(); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] = note: this warning originates in the macro `impl_output` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/gpio/pin.rs:105:16 [INFO] [stdout] | [INFO] [stdout] 105 | if let Some(ref mut soft_pwm) = self.soft_pwm { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 767 | impl_output!(); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/gpio/pin.rs:107:13 [INFO] [stdout] | [INFO] [stdout] 107 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 767 | impl_output!(); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_output` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/gpio.rs:408:17 [INFO] [stdout] | [INFO] [stdout] 408 | GPIO_STATE.write(Mutex::new(Weak::new())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating examples/gpio_status.rs from 2021 edition to 2024 [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/gpio.rs:412:13 [INFO] [stdout] | [INFO] [stdout] 412 | GPIO_STATE.assume_init_ref().lock().unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/gpio/pin.rs:105:16 [INFO] [stdout] | [INFO] [stdout] 105 | if let Some(ref mut soft_pwm) = self.soft_pwm { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 657 | impl_output!(); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/gpio/pin.rs:107:13 [INFO] [stdout] | [INFO] [stdout] 107 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 657 | impl_output!(); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] = note: this warning originates in the macro `impl_output` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/gpio/pin.rs:105:16 [INFO] [stdout] | [INFO] [stdout] 105 | if let Some(ref mut soft_pwm) = self.soft_pwm { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 767 | impl_output!(); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/gpio/pin.rs:107:13 [INFO] [stdout] | [INFO] [stdout] 107 | } else { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 767 | impl_output!(); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_output` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating examples/gpio_blinkled_signals.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/gpio_servo_softpwm.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/gpio_multithreaded_mpsc.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/pwm_blinkled.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/spi_25aa1024.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/uart_blocking_read.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/gpio_blinkled.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/gpio_multithreaded_mutex.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/pwm_servo.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/i2c_ds3231.rs from 2021 edition to 2024 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.79s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking rppal v0.19.0 (/tmp/fixit) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.40s [INFO] running `Command { std: "docker" "inspect" "7d84ea246debbd937358356e1f7dc15509d1703bcb4404cbaa74c1d473d7d4ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d84ea246debbd937358356e1f7dc15509d1703bcb4404cbaa74c1d473d7d4ef", kill_on_drop: false }` [INFO] [stdout] 7d84ea246debbd937358356e1f7dc15509d1703bcb4404cbaa74c1d473d7d4ef