[INFO] fetching crate aws-iot-device-sdk 0.0.6... [INFO] testing aws-iot-device-sdk-0.0.6 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate aws-iot-device-sdk 0.0.6 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate aws-iot-device-sdk 0.0.6 [INFO] finished tweaking crates.io crate aws-iot-device-sdk 0.0.6 [INFO] tweaked toml for crates.io crate aws-iot-device-sdk 0.0.6 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate aws-iot-device-sdk 0.0.6 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 18 packages to latest compatible versions [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e2c2e6008caf7e6a5cdb27c8e479e146aadd62e5d35bb1184f9f25551ab1a955 [INFO] running `Command { std: "docker" "start" "-a" "e2c2e6008caf7e6a5cdb27c8e479e146aadd62e5d35bb1184f9f25551ab1a955", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e2c2e6008caf7e6a5cdb27c8e479e146aadd62e5d35bb1184f9f25551ab1a955", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e2c2e6008caf7e6a5cdb27c8e479e146aadd62e5d35bb1184f9f25551ab1a955", kill_on_drop: false }` [INFO] [stdout] e2c2e6008caf7e6a5cdb27c8e479e146aadd62e5d35bb1184f9f25551ab1a955 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e17a2dfc74c68c9b733a897a745e970950c1ecb5ce4c86a2593f9dd7501de947 [INFO] running `Command { std: "docker" "start" "-a" "e17a2dfc74c68c9b733a897a745e970950c1ecb5ce4c86a2593f9dd7501de947", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling thiserror-impl-no-std v2.0.2 [INFO] [stderr] Compiling thiserror-no-std v2.0.2 [INFO] [stderr] Compiling aws-iot-device-sdk v0.0.6 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/defender.rs:94:27 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn match_topic(topic: &str) -> Result { [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 94 | pub fn match_topic(topic: &str) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/jobs.rs:111:27 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn match_topic(topic: &str) -> Result { [INFO] [stdout] | ^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 111 | pub fn match_topic(topic: &str) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/shadow.rs:123:50 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn match_topic<'a>(topic: &'a str) -> Result { [INFO] [stdout] | -- ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 123 | pub fn match_topic<'a>(topic: &'a str) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.65s [INFO] running `Command { std: "docker" "inspect" "e17a2dfc74c68c9b733a897a745e970950c1ecb5ce4c86a2593f9dd7501de947", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e17a2dfc74c68c9b733a897a745e970950c1ecb5ce4c86a2593f9dd7501de947", kill_on_drop: false }` [INFO] [stdout] e17a2dfc74c68c9b733a897a745e970950c1ecb5ce4c86a2593f9dd7501de947 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8cedcf5b0854fd0fd3de86bf6e5dc100bd71a3a251fe10febdb5f736c10fd02a [INFO] running `Command { std: "docker" "start" "-a" "8cedcf5b0854fd0fd3de86bf6e5dc100bd71a3a251fe10febdb5f736c10fd02a", kill_on_drop: false }` [INFO] [stderr] Compiling aws-iot-device-sdk v0.0.6 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/defender.rs:94:27 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn match_topic(topic: &str) -> Result { [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 94 | pub fn match_topic(topic: &str) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/jobs.rs:111:27 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn match_topic(topic: &str) -> Result { [INFO] [stdout] | ^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 111 | pub fn match_topic(topic: &str) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/shadow.rs:123:50 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn match_topic<'a>(topic: &'a str) -> Result { [INFO] [stdout] | -- ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 123 | pub fn match_topic<'a>(topic: &'a str) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `Result<(), common::Error>` [INFO] [stdout] --> src/tunneling.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | assert_eq!(tunnels, Ok(())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | Result<(), common::Error> [INFO] [stdout] | Result<(), common::Error> [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialEq` might be missing for `common::Error` [INFO] [stdout] --> src/common.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | pub enum Error { [INFO] [stdout] | ^^^^^^^^^^^^^^ must implement `PartialEq` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider annotating `common::Error` with `#[derive(PartialEq)]` [INFO] [stdout] --> src/common.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 + #[derive(PartialEq)] [INFO] [stdout] 31 | pub enum Error { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0369`. [INFO] [stdout] [INFO] [stderr] error: could not compile `aws-iot-device-sdk` (lib test) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "8cedcf5b0854fd0fd3de86bf6e5dc100bd71a3a251fe10febdb5f736c10fd02a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8cedcf5b0854fd0fd3de86bf6e5dc100bd71a3a251fe10febdb5f736c10fd02a", kill_on_drop: false }` [INFO] [stdout] 8cedcf5b0854fd0fd3de86bf6e5dc100bd71a3a251fe10febdb5f736c10fd02a