[INFO] fetching crate kxcj9 0.2.0... [INFO] checking kxcj9-0.2.0 against master#cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c for pr-143170 [INFO] extracting crate kxcj9 0.2.0 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate kxcj9 0.2.0 [INFO] finished tweaking crates.io crate kxcj9 0.2.0 [INFO] tweaked toml for crates.io crate kxcj9 0.2.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate kxcj9 0.2.0 on toolchain cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "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" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 24 packages to latest compatible versions [INFO] [stderr] Adding embedded-hal v0.2.7 (available: v1.0.0) [INFO] [stderr] Adding embedded-hal-mock v0.4.1 (available: v0.11.1) [INFO] [stderr] Adding linux-embedded-hal v0.2.2 (available: v0.4.0) [INFO] [stderr] Adding nb v0.1.3 (available: v1.1.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded embedded-hal-mock v0.4.1 [INFO] [stderr] Downloaded nix v0.6.0 [INFO] [stderr] Downloaded spidev v0.3.0 [INFO] [stderr] Downloaded sysfs_gpio v0.5.4 [INFO] [stderr] Downloaded linux-embedded-hal v0.2.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1152433c316a3e17645a210e19c16e9ea60ad5b96e7ca5fef0ff865a94d45117 [INFO] running `Command { std: "docker" "start" "-a" "1152433c316a3e17645a210e19c16e9ea60ad5b96e7ca5fef0ff865a94d45117", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1152433c316a3e17645a210e19c16e9ea60ad5b96e7ca5fef0ff865a94d45117", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1152433c316a3e17645a210e19c16e9ea60ad5b96e7ca5fef0ff865a94d45117", kill_on_drop: false }` [INFO] [stdout] 1152433c316a3e17645a210e19c16e9ea60ad5b96e7ca5fef0ff865a94d45117 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4eb73a77beb14e4781510faa3e9312ac7deee7efd7e6806d2b784a0687a483c9 [INFO] running `Command { std: "docker" "start" "-a" "4eb73a77beb14e4781510faa3e9312ac7deee7efd7e6806d2b784a0687a483c9", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling semver v0.1.20 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Checking nb v1.1.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking bitflags v0.4.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking bitflags v0.3.3 [INFO] [stderr] Checking nb v0.1.3 [INFO] [stderr] Checking embedded-hal v0.2.7 [INFO] [stderr] Compiling rustc_version v0.1.7 [INFO] [stderr] Checking embedded-hal-mock v0.4.1 [INFO] [stderr] Checking kxcj9 v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling nix v0.6.0 [INFO] [stderr] Compiling cast v0.2.7 [INFO] [stderr] Checking spidev v0.3.0 [INFO] [stderr] Checking i2cdev v0.4.4 [INFO] [stderr] Checking sysfs_gpio v0.5.4 [INFO] [stderr] Checking linux-embedded-hal v0.2.2 [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/reading.rs:66:16 [INFO] [stdout] | [INFO] [stdout] 66 | panic!(format!("{} vs {}", a, b)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 66 - panic!(format!("{} vs {}", a, b)); [INFO] [stdout] 66 + panic!("{} vs {}", a, b); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> tests/common/mod.rs:51:31 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn new_1008(transactions: &[I2cTrans]) -> Kxcj9 { [INFO] [stdout] | ^^^^^^^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 51 | pub fn new_1008(transactions: &[I2cTrans]) -> Kxcj9, ic::G8Device> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> tests/common/mod.rs:56:31 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn new_1018(transactions: &[I2cTrans]) -> Kxcj9 { [INFO] [stdout] | ^^^^^^^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 56 | pub fn new_1018(transactions: &[I2cTrans]) -> Kxcj9, ic::G16Device> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> tests/common/mod.rs:61:31 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn new_1041(transactions: &[I2cTrans]) -> Kxcj9 { [INFO] [stdout] | ^^^^^^^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 61 | pub fn new_1041(transactions: &[I2cTrans]) -> Kxcj9, ic::G8Device> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> tests/common/mod.rs:51:31 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn new_1008(transactions: &[I2cTrans]) -> Kxcj9 { [INFO] [stdout] | ^^^^^^^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 51 | pub fn new_1008(transactions: &[I2cTrans]) -> Kxcj9, ic::G8Device> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> tests/common/mod.rs:56:31 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn new_1018(transactions: &[I2cTrans]) -> Kxcj9 { [INFO] [stdout] | ^^^^^^^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 56 | pub fn new_1018(transactions: &[I2cTrans]) -> Kxcj9, ic::G16Device> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> tests/common/mod.rs:61:31 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn new_1041(transactions: &[I2cTrans]) -> Kxcj9 { [INFO] [stdout] | ^^^^^^^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 61 | pub fn new_1041(transactions: &[I2cTrans]) -> Kxcj9, ic::G8Device> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> tests/common/mod.rs:51:31 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn new_1008(transactions: &[I2cTrans]) -> Kxcj9 { [INFO] [stdout] | ^^^^^^^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 51 | pub fn new_1008(transactions: &[I2cTrans]) -> Kxcj9, ic::G8Device> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> tests/common/mod.rs:56:31 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn new_1018(transactions: &[I2cTrans]) -> Kxcj9 { [INFO] [stdout] | ^^^^^^^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 56 | pub fn new_1018(transactions: &[I2cTrans]) -> Kxcj9, ic::G16Device> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> tests/common/mod.rs:61:31 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn new_1041(transactions: &[I2cTrans]) -> Kxcj9 { [INFO] [stdout] | ^^^^^^^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 61 | pub fn new_1041(transactions: &[I2cTrans]) -> Kxcj9, ic::G8Device> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.12s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bitflags v0.4.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "4eb73a77beb14e4781510faa3e9312ac7deee7efd7e6806d2b784a0687a483c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4eb73a77beb14e4781510faa3e9312ac7deee7efd7e6806d2b784a0687a483c9", kill_on_drop: false }` [INFO] [stdout] 4eb73a77beb14e4781510faa3e9312ac7deee7efd7e6806d2b784a0687a483c9