[INFO] cloning repository https://github.com/quentm74/SSL_network [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/quentm74/SSL_network" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fquentm74%2FSSL_network", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fquentm74%2FSSL_network'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7ec7237c7756c3647061bd6e528df9c5ac4a4219 [INFO] checking quentm74/SSL_network against try#024378d9203a4009ed73d6db2681b88a8d74ce7a for pr-112160 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fquentm74%2FSSL_network" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/quentm74/SSL_network on toolchain 024378d9203a4009ed73d6db2681b88a8d74ce7a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/quentm74/SSL_network [INFO] finished tweaking git repo https://github.com/quentm74/SSL_network [INFO] tweaked toml for git repo https://github.com/quentm74/SSL_network written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/quentm74/SSL_network 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" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6ff1f241b6c2a477b5f092470e6da3095b1f5d45a4793d96665644e7b33577d6 [INFO] running `Command { std: "docker" "start" "-a" "6ff1f241b6c2a477b5f092470e6da3095b1f5d45a4793d96665644e7b33577d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6ff1f241b6c2a477b5f092470e6da3095b1f5d45a4793d96665644e7b33577d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ff1f241b6c2a477b5f092470e6da3095b1f5d45a4793d96665644e7b33577d6", kill_on_drop: false }` [INFO] [stdout] 6ff1f241b6c2a477b5f092470e6da3095b1f5d45a4793d96665644e7b33577d6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5cde1ec9ff8547ac698ccbceaea5295853f1284f32ad064d4f94d63fe980edef [INFO] running `Command { std: "docker" "start" "-a" "5cde1ec9ff8547ac698ccbceaea5295853f1284f32ad064d4f94d63fe980edef", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.65 [INFO] [stderr] Compiling proc-macro2 v1.0.5 [INFO] [stderr] Compiling syn v1.0.5 [INFO] [stderr] Compiling cc v1.0.46 [INFO] [stderr] Compiling serde v1.0.101 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling pkg-config v0.3.16 [INFO] [stderr] Checking encode_unicode v0.3.6 [INFO] [stderr] Compiling getrandom v0.1.12 [INFO] [stderr] Compiling openssl v0.10.25 [INFO] [stderr] Checking textwrap v0.9.0 [INFO] [stderr] Checking regex-automata v0.1.8 [INFO] [stderr] Checking ansi_term v0.9.0 [INFO] [stderr] Checking fixedbitset v0.1.9 [INFO] [stderr] Checking strsim v0.6.0 [INFO] [stderr] Checking bitflags v0.9.1 [INFO] [stderr] Checking yaml-rust v0.3.5 [INFO] [stderr] Checking ordermap v0.3.5 [INFO] [stderr] Checking petgraph v0.4.13 [INFO] [stderr] Compiling openssl-src v111.6.0+1.1.1d [INFO] [stderr] Compiling backtrace-sys v0.1.32 [INFO] [stderr] Compiling openssl-sys v0.9.51 [INFO] [stderr] Checking atty v0.2.13 [INFO] [stderr] Checking dirs v1.0.5 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking clap v2.27.1 [INFO] [stderr] Checking term v0.5.2 [INFO] [stderr] Checking csv-core v0.1.6 [INFO] [stderr] Checking backtrace v0.3.40 [INFO] [stderr] Compiling synstructure v0.12.1 [INFO] [stderr] Compiling serde_derive v1.0.101 [INFO] [stderr] Compiling failure_derive v0.1.6 [INFO] [stderr] Checking failure v0.1.6 [INFO] [stderr] Checking bstr v0.2.8 [INFO] [stderr] Checking serde_json v1.0.41 [INFO] [stderr] Checking csv v1.1.1 [INFO] [stderr] Checking prettytable-rs v0.8.0 [INFO] [stderr] Checking shrust v0.0.7 [INFO] [stderr] Checking ssl_network v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variant `CertificateNotFound` is never constructed [INFO] [stdout] --> src/errors.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum SSLNetworkError { [INFO] [stdout] | --------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 35 | CertificateNotFound {}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SSLNetworkError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `CertificateNotFound` is never constructed [INFO] [stdout] --> src/errors.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum SSLNetworkError { [INFO] [stdout] | --------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 35 | CertificateNotFound {}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SSLNetworkError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/shell.rs:149:151 [INFO] [stdout] | [INFO] [stdout] 149 | ..._pub_key.clone() }, Equipment { name: eq.get_name().clone().to_string(), pub_key: eq.get_public_key().clone() })? { [INFO] [stdout] | ^^^^^^^^ unnecessary method 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] = note: `#[deny(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/shell.rs:255:61 [INFO] [stdout] | [INFO] [stdout] 255 | let packet = Packet::generate_discover_syn(eq.get_name().clone(), &eq.get_public_key(), local_nonce.clone()); [INFO] [stdout] | ^^^^^^^^ unnecessary method 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] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/shell.rs:268:151 [INFO] [stdout] | [INFO] [stdout] 268 | ..._pub_key.clone() }, Equipment { name: eq.get_name().clone().to_string(), pub_key: eq.get_public_key().clone() })? { [INFO] [stdout] | ^^^^^^^^ unnecessary method 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] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/shell.rs:470:151 [INFO] [stdout] | [INFO] [stdout] 470 | ..._pub_key.clone() }, Equipment { name: eq.get_name().clone().to_string(), pub_key: eq.get_public_key().clone() })? { [INFO] [stdout] | ^^^^^^^^ unnecessary method 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] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/shell.rs:568:61 [INFO] [stdout] | [INFO] [stdout] 568 | let packet = Packet::generate_discover_syn(eq.get_name().clone(), &eq.get_public_key(), local_nonce.clone()); [INFO] [stdout] | ^^^^^^^^ unnecessary method 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] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/shell.rs:581:151 [INFO] [stdout] | [INFO] [stdout] 581 | ..._pub_key.clone() }, Equipment { name: eq.get_name().clone().to_string(), pub_key: eq.get_public_key().clone() })? { [INFO] [stdout] | ^^^^^^^^ unnecessary method 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] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/shell.rs:149:151 [INFO] [stdout] | [INFO] [stdout] 149 | ..._pub_key.clone() }, Equipment { name: eq.get_name().clone().to_string(), pub_key: eq.get_public_key().clone() })? { [INFO] [stdout] | ^^^^^^^^ unnecessary method 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] = note: `#[deny(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/shell.rs:255:61 [INFO] [stdout] | [INFO] [stdout] 255 | let packet = Packet::generate_discover_syn(eq.get_name().clone(), &eq.get_public_key(), local_nonce.clone()); [INFO] [stdout] | ^^^^^^^^ unnecessary method 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] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/shell.rs:268:151 [INFO] [stdout] | [INFO] [stdout] 268 | ..._pub_key.clone() }, Equipment { name: eq.get_name().clone().to_string(), pub_key: eq.get_public_key().clone() })? { [INFO] [stdout] | ^^^^^^^^ unnecessary method 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] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/shell.rs:470:151 [INFO] [stdout] | [INFO] [stdout] 470 | ..._pub_key.clone() }, Equipment { name: eq.get_name().clone().to_string(), pub_key: eq.get_public_key().clone() })? { [INFO] [stdout] | ^^^^^^^^ unnecessary method 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] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/shell.rs:568:61 [INFO] [stdout] | [INFO] [stdout] 568 | let packet = Packet::generate_discover_syn(eq.get_name().clone(), &eq.get_public_key(), local_nonce.clone()); [INFO] [stdout] | ^^^^^^^^ unnecessary method 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] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/shell.rs:581:151 [INFO] [stdout] | [INFO] [stdout] 581 | ..._pub_key.clone() }, Equipment { name: eq.get_name().clone().to_string(), pub_key: eq.get_public_key().clone() })? { [INFO] [stdout] | ^^^^^^^^ unnecessary method 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] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/payloads.rs:70:27 [INFO] [stdout] | [INFO] [stdout] 70 | name: name.clone().to_string(), [INFO] [stdout] | ^^^^^^^^ unnecessary method 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] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/payloads.rs:80:27 [INFO] [stdout] | [INFO] [stdout] 80 | name: name.clone().to_string(), [INFO] [stdout] | ^^^^^^^^ unnecessary method 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] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/payloads.rs:70:27 [INFO] [stdout] | [INFO] [stdout] 70 | name: name.clone().to_string(), [INFO] [stdout] | ^^^^^^^^ unnecessary method 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] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/payloads.rs:80:27 [INFO] [stdout] | [INFO] [stdout] 80 | name: name.clone().to_string(), [INFO] [stdout] | ^^^^^^^^ unnecessary method 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] error: aborting due to 8 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ssl_network` (bin "ssl_network" test) due to 9 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `ssl_network` (bin "ssl_network") due to 9 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "5cde1ec9ff8547ac698ccbceaea5295853f1284f32ad064d4f94d63fe980edef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5cde1ec9ff8547ac698ccbceaea5295853f1284f32ad064d4f94d63fe980edef", kill_on_drop: false }` [INFO] [stdout] 5cde1ec9ff8547ac698ccbceaea5295853f1284f32ad064d4f94d63fe980edef