[INFO] cloning repository https://github.com/zgljl2012/simple-nat-traversal
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zgljl2012/simple-nat-traversal" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzgljl2012%2Fsimple-nat-traversal", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzgljl2012%2Fsimple-nat-traversal'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] fc93942b5402999df41edbfcd2ac30f14e79ff1c
[INFO] checking zgljl2012/simple-nat-traversal against 1.95.0 for pr-155915
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzgljl2012%2Fsimple-nat-traversal" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/zgljl2012/simple-nat-traversal
[INFO] finished tweaking git repo https://github.com/zgljl2012/simple-nat-traversal
[INFO] tweaked toml for git repo https://github.com/zgljl2012/simple-nat-traversal written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/zgljl2012/simple-nat-traversal on toolchain 1.95.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.95.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/zgljl2012/simple-nat-traversal 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" "+1.95.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded boxfnonce v0.1.1
[INFO] [stderr]   Downloaded ip-in-subnet v0.1.4
[INFO] [stderr]   Downloaded netaddr2 v0.7.1
[INFO] [stderr]   Downloaded os_str_bytes v6.3.1
[INFO] [stderr]   Downloaded env_logger v0.9.1
[INFO] [stderr]   Downloaded clap v4.0.18
[INFO] [stderr]   Downloaded daemonize v0.4.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b1091c7fcdb5c2b3e7baee1f80697835ea30f29999eae051b37df1225abbfaba
[INFO] running `Command { std: "docker" "start" "-a" "b1091c7fcdb5c2b3e7baee1f80697835ea30f29999eae051b37df1225abbfaba", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b1091c7fcdb5c2b3e7baee1f80697835ea30f29999eae051b37df1225abbfaba", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b1091c7fcdb5c2b3e7baee1f80697835ea30f29999eae051b37df1225abbfaba", kill_on_drop: false }`
[INFO] [stdout] b1091c7fcdb5c2b3e7baee1f80697835ea30f29999eae051b37df1225abbfaba
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 500a7b02a623f6028d4dbcea451d2d99d7b3e9481d37c3fa25e8e258188ca52d
[INFO] running `Command { std: "docker" "start" "-a" "500a7b02a623f6028d4dbcea451d2d99d7b3e9481d37c3fa25e8e258188ca52d", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.137
[INFO] [stderr]    Compiling proc-macro2 v1.0.47
[INFO] [stderr]    Compiling quote v1.0.21
[INFO] [stderr]    Compiling unicode-ident v1.0.5
[INFO] [stderr]    Compiling syn v1.0.103
[INFO] [stderr]    Compiling typenum v1.15.0
[INFO] [stderr]    Compiling log v0.4.17
[INFO] [stderr]     Checking pin-project-lite v0.2.9
[INFO] [stderr]    Compiling futures-core v0.3.25
[INFO] [stderr]    Compiling lock_api v0.4.9
[INFO] [stderr]    Compiling parking_lot_core v0.9.4
[INFO] [stderr]     Checking once_cell v1.16.0
[INFO] [stderr]    Compiling cc v1.0.74
[INFO] [stderr]    Compiling generic-array v0.14.6
[INFO] [stderr]     Checking bytes v1.2.1
[INFO] [stderr]     Checking scopeguard v1.1.0
[INFO] [stderr]    Compiling pkg-config v0.3.26
[INFO] [stderr]    Compiling slab v0.4.7
[INFO] [stderr]    Compiling tokio v1.21.2
[INFO] [stderr]     Checking futures-sink v0.3.25
[INFO] [stderr]    Compiling futures-task v0.3.25
[INFO] [stderr]    Compiling futures-channel v0.3.25
[INFO] [stderr]    Compiling futures-util v0.3.25
[INFO] [stderr]     Checking futures-io v0.3.25
[INFO] [stderr]     Checking itoa v1.0.4
[INFO] [stderr]     Checking tracing-core v0.1.30
[INFO] [stderr]    Compiling indexmap v1.9.1
[INFO] [stderr]    Compiling openssl v0.10.42
[INFO] [stderr]     Checking tinyvec_macros v0.1.0
[INFO] [stderr]    Compiling native-tls v0.2.10
[INFO] [stderr]    Compiling serde v1.0.147
[INFO] [stderr]     Checking try-lock v0.2.3
[INFO] [stderr]     Checking tinyvec v1.6.0
[INFO] [stderr]     Checking percent-encoding v2.2.0
[INFO] [stderr]     Checking http v0.2.8
[INFO] [stderr]     Checking want v0.3.0
[INFO] [stderr]     Checking unicode-bidi v0.3.8
[INFO] [stderr]     Checking httpdate v1.0.2
[INFO] [stderr]     Checking form_urlencoded v1.1.0
[INFO] [stderr]    Compiling encoding_rs v0.8.31
[INFO] [stderr]     Checking cpufeatures v0.2.5
[INFO] [stderr]     Checking aho-corasick v0.7.19
[INFO] [stderr]     Checking tracing v0.1.37
[INFO] [stderr]     Checking ryu v1.0.11
[INFO] [stderr]     Checking regex-syntax v0.6.27
[INFO] [stderr]     Checking base64ct v1.5.3
[INFO] [stderr]     Checking termcolor v1.1.3
[INFO] [stderr]     Checking ipnet v2.5.0
[INFO] [stderr]     Checking mime v0.3.16
[INFO] [stderr]     Checking signal-hook-registry v1.4.0
[INFO] [stderr]     Checking num_cpus v1.13.1
[INFO] [stderr]    Compiling openssl-sys v0.9.77
[INFO] [stderr]     Checking mio v0.8.5
[INFO] [stderr]     Checking socket2 v0.4.7
[INFO] [stderr]     Checking getrandom v0.2.8
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking parking_lot v0.12.1
[INFO] [stderr]     Checking netaddr2 v0.7.1
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking os_str_bytes v6.3.1
[INFO] [stderr]     Checking boxfnonce v0.1.1
[INFO] [stderr]     Checking ip-in-subnet v0.1.4
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking password-hash v0.4.2
[INFO] [stderr]     Checking clap_lex v0.3.0
[INFO] [stderr]     Checking daemonize v0.4.1
[INFO] [stderr]     Checking http-body v0.4.5
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking clap v4.0.18
[INFO] [stderr]     Checking unicode-normalization v0.1.22
[INFO] [stderr]     Checking idna v0.3.0
[INFO] [stderr]     Checking regex v1.6.0
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]     Checking block-buffer v0.10.3
[INFO] [stderr]     Checking inout v0.1.3
[INFO] [stderr]     Checking digest v0.10.5
[INFO] [stderr]     Checking cipher v0.4.3
[INFO] [stderr]     Checking hmac v0.12.1
[INFO] [stderr]     Checking sha2 v0.10.6
[INFO] [stderr]     Checking pbkdf2 v0.11.0
[INFO] [stderr]     Checking salsa20 v0.10.2
[INFO] [stderr]     Checking aes v0.8.2
[INFO] [stderr]     Checking url v2.3.1
[INFO] [stderr]     Checking scrypt v0.10.0
[INFO] [stderr]     Checking env_logger v0.9.1
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling tokio-macros v1.8.0
[INFO] [stderr]    Compiling futures-macro v0.3.25
[INFO] [stderr]    Compiling openssl-macros v0.1.0
[INFO] [stderr]     Checking futures-executor v0.3.25
[INFO] [stderr]     Checking futures v0.3.25
[INFO] [stderr]     Checking tokio-util v0.7.4
[INFO] [stderr]     Checking tokio-native-tls v0.3.0
[INFO] [stderr]     Checking tokio-stream v0.1.11
[INFO] [stderr]     Checking h2 v0.3.15
[INFO] [stderr]     Checking hyper v0.14.20
[INFO] [stderr]     Checking hyper-tls v0.5.0
[INFO] [stderr]     Checking reqwest v0.11.12
[INFO] [stderr]     Checking nat v0.1.0 (/opt/rustwide/workdir/nat)
[INFO] [stdout] warning: field `http_version` is never read
[INFO] [stdout]   --> nat/src/http.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct RequestLine {
[INFO] [stdout]    |            ----------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 14 |     pub http_version: String,
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `RequestLine` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `host`, `user_agent`, `accept`, `proxy_connection`, `content_type`, and `content_length` are never read
[INFO] [stdout]   --> nat/src/http.rs:37:9
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub struct HttpRequest {
[INFO] [stdout]    |            ----------- fields in this struct
[INFO] [stdout] 36 |     pub request_line: RequestLine,
[INFO] [stdout] 37 |     pub host: String,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 38 |     pub user_agent: String,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 39 |     pub accept: String,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 40 |     pub proxy_connection: String,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^
[INFO] [stdout] 41 |     pub content_type: String,
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout] 42 |     pub content_length: u32,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `HttpRequest` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> nat/src/http.rs:58:57
[INFO] [stdout]    |
[INFO] [stdout] 58 |             headers.insert(name.unwrap(), value.unwrap().clone().to_string());
[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]    = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> nat/src/http.rs:121:34
[INFO] [stdout]     |
[INFO] [stdout] 121 |             .body(format!("{}", s.as_str().clone()));
[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: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]   --> nat/src/checksum.rs:17:23
[INFO] [stdout]    |
[INFO] [stdout] 17 |     let mut bytes = bytes.clone().to_vec();
[INFO] [stdout]    |                          ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]    |
[INFO] [stdout]    = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking simple-nat-traversal v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 24.27s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: daemonize v0.4.1, openssl v0.10.42
[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" "500a7b02a623f6028d4dbcea451d2d99d7b3e9481d37c3fa25e8e258188ca52d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "500a7b02a623f6028d4dbcea451d2d99d7b3e9481d37c3fa25e8e258188ca52d", kill_on_drop: false }`
[INFO] [stdout] 500a7b02a623f6028d4dbcea451d2d99d7b3e9481d37c3fa25e8e258188ca52d
