[INFO] fetching crate aiot 0.10.0... [INFO] checking aiot-0.10.0 against master#22572d0994593197593e2a1b7b18d720a9a349a7 for pr-126452-1 [INFO] extracting crate aiot 0.10.0 into /workspace/builds/worker-5-tc1/source [INFO] validating manifest of crates.io crate aiot 0.10.0 on toolchain 22572d0994593197593e2a1b7b18d720a9a349a7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+22572d0994593197593e2a1b7b18d720a9a349a7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate aiot 0.10.0 [INFO] finished tweaking crates.io crate aiot 0.10.0 [INFO] tweaked toml for crates.io crate aiot 0.10.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate crates.io crate aiot 0.10.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" "+22572d0994593197593e2a1b7b18d720a9a349a7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded async-channel v1.6.1 [INFO] [stderr] Downloaded serde_repr v0.1.8 [INFO] [stderr] Downloaded rumqttc v0.12.0 [INFO] [stderr] Downloaded spin v0.9.3 [INFO] [stderr] Downloaded enum-iterator-derive v0.7.0 [INFO] [stderr] Downloaded tokio-tungstenite v0.17.1 [INFO] [stderr] Downloaded crc-catalog v2.1.0 [INFO] [stderr] Downloaded crc v3.0.0 [INFO] [stderr] Downloaded indexmap v1.9.0 [INFO] [stderr] Downloaded tungstenite v0.17.2 [INFO] [stderr] Downloaded md-5 v0.10.1 [INFO] [stderr] Downloaded concurrent-queue v1.2.2 [INFO] [stderr] Downloaded event-listener v2.5.2 [INFO] [stderr] Downloaded enum-iterator v0.7.0 [INFO] [stderr] Downloaded enum-kinds v0.5.1 [INFO] [stderr] Downloaded rustls-pemfile v1.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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+22572d0994593197593e2a1b7b18d720a9a349a7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 72fa3876d79a19bbc1ca8495d20e0ef4d583cf2984f36502f0353d4917696da3 [INFO] running `Command { std: "docker" "start" "-a" "72fa3876d79a19bbc1ca8495d20e0ef4d583cf2984f36502f0353d4917696da3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "72fa3876d79a19bbc1ca8495d20e0ef4d583cf2984f36502f0353d4917696da3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "72fa3876d79a19bbc1ca8495d20e0ef4d583cf2984f36502f0353d4917696da3", kill_on_drop: false }` [INFO] [stdout] 72fa3876d79a19bbc1ca8495d20e0ef4d583cf2984f36502f0353d4917696da3 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+22572d0994593197593e2a1b7b18d720a9a349a7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 44a34fa02d55e8d6ea3dc174c615e2b73c9a32e74d371eaebf4d4d2f798caa68 [INFO] running `Command { std: "docker" "start" "-a" "44a34fa02d55e8d6ea3dc174c615e2b73c9a32e74d371eaebf4d4d2f798caa68", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling unicode-ident v1.0.1 [INFO] [stderr] Compiling syn v1.0.96 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Checking once_cell v1.12.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Checking http v0.2.8 [INFO] [stderr] Checking mio v0.8.3 [INFO] [stderr] Checking slab v0.4.6 [INFO] [stderr] Compiling rustls v0.20.6 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Checking tracing-core v0.1.27 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling indexmap v1.9.0 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Checking tracing v0.1.35 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling openssl-sys v0.9.74 [INFO] [stderr] Checking hashbrown v0.12.1 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Compiling openssl v0.10.40 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking getrandom v0.2.7 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Checking httpdate v1.0.2 [INFO] [stderr] Checking crypto-common v0.1.3 [INFO] [stderr] Checking block-buffer v0.10.2 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Checking cpufeatures v0.2.2 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Checking rustls-pemfile v1.0.0 [INFO] [stderr] Checking digest v0.10.3 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Checking cache-padded v1.2.0 [INFO] [stderr] Compiling serde_json v1.0.81 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking sha-1 v0.10.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking concurrent-queue v1.2.2 [INFO] [stderr] Checking regex-syntax v0.6.26 [INFO] [stderr] Checking event-listener v2.5.2 [INFO] [stderr] Compiling async-trait v0.1.56 [INFO] [stderr] Checking async-channel v1.6.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking rustls-native-certs v0.6.2 [INFO] [stderr] Checking rustls-pemfile v0.3.0 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking crc-catalog v2.1.0 [INFO] [stderr] Checking ipnet v2.5.0 [INFO] [stderr] Compiling anyhow v1.0.57 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking pollster v0.2.5 [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stderr] Checking crc v3.0.0 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking spin v0.9.3 [INFO] [stderr] Checking md-5 v0.10.1 [INFO] [stderr] Checking sha2 v0.10.2 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking regex v1.5.6 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Checking webpki v0.22.0 [INFO] [stderr] Checking sct v0.7.0 [INFO] [stderr] Checking env_logger v0.9.0 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Checking webpki-roots v0.22.3 [INFO] [stderr] Compiling enum-iterator-derive v0.7.0 [INFO] [stderr] Checking enum-iterator v0.7.0 [INFO] [stderr] Checking tokio v1.19.2 [INFO] [stderr] Compiling serde_repr v0.1.8 [INFO] [stderr] Checking futures-util v0.3.21 [INFO] [stderr] Checking thiserror v1.0.31 [INFO] [stderr] Compiling enum-kinds v0.5.1 [INFO] [stderr] Checking tungstenite v0.17.2 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Compiling serde_with_macros v1.5.2 [INFO] [stderr] Checking tokio-util v0.7.3 [INFO] [stderr] Checking tokio-rustls v0.23.4 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking futures-executor v0.3.21 [INFO] [stderr] Checking tokio-tungstenite v0.17.1 [INFO] [stderr] Checking rumqttc v0.12.0 [INFO] [stderr] Checking futures v0.3.21 [INFO] [stderr] Checking h2 v0.3.13 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_with v1.14.0 [INFO] [stderr] Checking hyper v0.14.19 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking hyper-rustls v0.23.0 [INFO] [stderr] Checking reqwest v0.11.11 [INFO] [stderr] Checking aiot v0.10.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/tunnel/session.rs:83:60 [INFO] [stdout] | [INFO] [stdout] 83 | .ok_or(Error::SessionNotFound(id.to_string()))? [INFO] [stdout] | ____________________________________________________________^ [INFO] [stdout] 84 | | .clone(); [INFO] [stdout] | |____________________^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Session` does not implement `Clone`, so calling `clone` on `&Session` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 83 - .ok_or(Error::SessionNotFound(id.to_string()))? [INFO] [stdout] 84 - .clone(); [INFO] [stdout] 83 + .ok_or(Error::SessionNotFound(id.to_string()))?; [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `Session`, implement `Clone` for it [INFO] [stdout] | [INFO] [stdout] 11 + #[derive(Clone)] [INFO] [stdout] 12 | pub struct Session { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/tunnel/session.rs:96:60 [INFO] [stdout] | [INFO] [stdout] 96 | .ok_or(Error::SessionNotFound(id.to_string()))? [INFO] [stdout] | ____________________________________________________________^ [INFO] [stdout] 97 | | .clone(); [INFO] [stdout] | |____________________^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Session` does not implement `Clone`, so calling `clone` on `&Session` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 96 - .ok_or(Error::SessionNotFound(id.to_string()))? [INFO] [stdout] 97 - .clone(); [INFO] [stdout] 96 + .ok_or(Error::SessionNotFound(id.to_string()))?; [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `Session`, implement `Clone` for it [INFO] [stdout] | [INFO] [stdout] 11 + #[derive(Clone)] [INFO] [stdout] 12 | pub struct Session { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/util/auth.rs:122:31 [INFO] [stdout] | [INFO] [stdout] 122 | let mut cred = ALI_CA_CERT.clone().as_bytes(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/tunnel/session.rs:83:60 [INFO] [stdout] | [INFO] [stdout] 83 | .ok_or(Error::SessionNotFound(id.to_string()))? [INFO] [stdout] | ____________________________________________________________^ [INFO] [stdout] 84 | | .clone(); [INFO] [stdout] | |____________________^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Session` does not implement `Clone`, so calling `clone` on `&Session` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 83 - .ok_or(Error::SessionNotFound(id.to_string()))? [INFO] [stdout] 84 - .clone(); [INFO] [stdout] 83 + .ok_or(Error::SessionNotFound(id.to_string()))?; [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `Session`, implement `Clone` for it [INFO] [stdout] | [INFO] [stdout] 11 + #[derive(Clone)] [INFO] [stdout] 12 | pub struct Session { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/tunnel/session.rs:96:60 [INFO] [stdout] | [INFO] [stdout] 96 | .ok_or(Error::SessionNotFound(id.to_string()))? [INFO] [stdout] | ____________________________________________________________^ [INFO] [stdout] 97 | | .clone(); [INFO] [stdout] | |____________________^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Session` does not implement `Clone`, so calling `clone` on `&Session` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 96 - .ok_or(Error::SessionNotFound(id.to_string()))? [INFO] [stdout] 97 - .clone(); [INFO] [stdout] 96 + .ok_or(Error::SessionNotFound(id.to_string()))?; [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `Session`, implement `Clone` for it [INFO] [stdout] | [INFO] [stdout] 11 + #[derive(Clone)] [INFO] [stdout] 12 | pub struct Session { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/util/auth.rs:122:31 [INFO] [stdout] | [INFO] [stdout] 122 | let mut cred = ALI_CA_CERT.clone().as_bytes(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 19.09s [INFO] running `Command { std: "docker" "inspect" "44a34fa02d55e8d6ea3dc174c615e2b73c9a32e74d371eaebf4d4d2f798caa68", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "44a34fa02d55e8d6ea3dc174c615e2b73c9a32e74d371eaebf4d4d2f798caa68", kill_on_drop: false }` [INFO] [stdout] 44a34fa02d55e8d6ea3dc174c615e2b73c9a32e74d371eaebf4d4d2f798caa68