[INFO] cloning repository https://github.com/gordug/net-serve [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gordug/net-serve" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgordug%2Fnet-serve", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgordug%2Fnet-serve'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 30b1635869d5847a624228612a1104ff06698778 [INFO] testing gordug/net-serve against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgordug%2Fnet-serve" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/gordug/net-serve [INFO] finished tweaking git repo https://github.com/gordug/net-serve [INFO] tweaked toml for git repo https://github.com/gordug/net-serve written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/gordug/net-serve on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/gordug/net-serve 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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 79301869f4fc73a651de8897439c09e2979be2d454a67bc58c8887f577aedc7a [INFO] running `Command { std: "docker" "start" "-a" "79301869f4fc73a651de8897439c09e2979be2d454a67bc58c8887f577aedc7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "79301869f4fc73a651de8897439c09e2979be2d454a67bc58c8887f577aedc7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "79301869f4fc73a651de8897439c09e2979be2d454a67bc58c8887f577aedc7a", kill_on_drop: false }` [INFO] [stdout] 79301869f4fc73a651de8897439c09e2979be2d454a67bc58c8887f577aedc7a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9b6191d0842eb0f199f622d952b9dd22982c2d317c884adf185ea81cce7125c6 [INFO] running `Command { std: "docker" "start" "-a" "9b6191d0842eb0f199f622d952b9dd22982c2d317c884adf185ea81cce7125c6", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.60 [INFO] [stderr] Compiling unicode-ident v1.0.9 [INFO] [stderr] Compiling quote v1.0.28 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling smallvec v1.10.0 [INFO] [stderr] Compiling serde v1.0.164 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling log v0.4.18 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling unicode-width v0.1.10 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling slab v0.4.8 [INFO] [stderr] Compiling tokio v1.28.2 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling futures-sink v0.3.28 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling unicode-segmentation v1.10.1 [INFO] [stderr] Compiling serde_json v1.0.96 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling tracing-core v0.1.31 [INFO] [stderr] Compiling thread_local v1.1.7 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling sharded-slab v0.1.4 [INFO] [stderr] Compiling iana-time-zone v0.1.57 [INFO] [stderr] Compiling regex-syntax v0.7.2 [INFO] [stderr] Compiling ryu v1.0.13 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling num_cpus v1.15.0 [INFO] [stderr] Compiling socket2 v0.4.9 [INFO] [stderr] Compiling futures-io v0.3.28 [INFO] [stderr] Compiling tracing-log v0.1.3 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling console v0.15.7 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling tracing-subscriber v0.3.17 [INFO] [stderr] Compiling socket2 v0.5.3 [INFO] [stderr] Compiling syn v2.0.18 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling chrono v0.4.26 [INFO] [stderr] Compiling atoi v0.3.3 [INFO] [stderr] Compiling matchers v0.0.1 [INFO] [stderr] Compiling regex v1.8.4 [INFO] [stderr] Compiling tracing-serde v0.1.3 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling structopt v0.3.26 [INFO] [stderr] Compiling tracing-attributes v0.1.24 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling pin-project-internal v1.1.0 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Compiling async-stream v0.3.5 [INFO] [stderr] Compiling pin-project v1.1.0 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling tracing-subscriber v0.2.25 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling futures-executor v0.3.28 [INFO] [stderr] Compiling futures v0.3.28 [INFO] [stderr] Compiling tokio-stream v0.1.14 [INFO] [stderr] Compiling mini-redis v0.4.1 [INFO] [stderr] Compiling net-serve v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: methods `add_answer` and `add_answers` are never used [INFO] [stdout] --> src/main.rs:651:8 [INFO] [stdout] | [INFO] [stdout] 642 | impl Response { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 651 | fn add_answer(&mut self, answer: Answer) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 655 | fn add_answers(&mut self, answers: &mut Vec) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:525:29 [INFO] [stdout] | [INFO] [stdout] 525 | let name = self.name.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] = 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] --> src/main.rs:571:29 [INFO] [stdout] | [INFO] [stdout] 571 | let name = self.name.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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 38.88s [INFO] running `Command { std: "docker" "inspect" "9b6191d0842eb0f199f622d952b9dd22982c2d317c884adf185ea81cce7125c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b6191d0842eb0f199f622d952b9dd22982c2d317c884adf185ea81cce7125c6", kill_on_drop: false }` [INFO] [stdout] 9b6191d0842eb0f199f622d952b9dd22982c2d317c884adf185ea81cce7125c6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 73ed82f823660baf6fe8100d11cbb4e8438494c512fbfa14aa3e570b80ae8832 [INFO] running `Command { std: "docker" "start" "-a" "73ed82f823660baf6fe8100d11cbb4e8438494c512fbfa14aa3e570b80ae8832", kill_on_drop: false }` [INFO] [stderr] Compiling net-serve v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: methods `add_answer` and `add_answers` are never used [INFO] [stdout] --> src/main.rs:651:8 [INFO] [stdout] | [INFO] [stdout] 642 | impl Response { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 651 | fn add_answer(&mut self, answer: Answer) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 655 | fn add_answers(&mut self, answers: &mut Vec) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:525:29 [INFO] [stdout] | [INFO] [stdout] 525 | let name = self.name.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] = 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] --> src/main.rs:571:29 [INFO] [stdout] | [INFO] [stdout] 571 | let name = self.name.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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.92s [INFO] running `Command { std: "docker" "inspect" "73ed82f823660baf6fe8100d11cbb4e8438494c512fbfa14aa3e570b80ae8832", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "73ed82f823660baf6fe8100d11cbb4e8438494c512fbfa14aa3e570b80ae8832", kill_on_drop: false }` [INFO] [stdout] 73ed82f823660baf6fe8100d11cbb4e8438494c512fbfa14aa3e570b80ae8832 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 79c0ca0b58ef88f11f692190513c4fefb437d43d41c284568638b3f7a111ea1d [INFO] running `Command { std: "docker" "start" "-a" "79c0ca0b58ef88f11f692190513c4fefb437d43d41c284568638b3f7a111ea1d", kill_on_drop: false }` [INFO] [stderr] warning: methods `add_answer` and `add_answers` are never used [INFO] [stderr] --> src/main.rs:651:8 [INFO] [stderr] | [INFO] [stderr] 642 | impl Response { [INFO] [stderr] | ------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 651 | fn add_answer(&mut self, answer: Answer) { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 655 | fn add_answers(&mut self, answers: &mut Vec) { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/main.rs:525:29 [INFO] [stderr] | [INFO] [stderr] 525 | let name = self.name.clone(); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] = note: `#[warn(noop_method_call)]` on by default [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/main.rs:571:29 [INFO] [stderr] | [INFO] [stderr] 571 | let name = self.name.clone(); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: `net-serve` (bin "net-serve" test) generated 3 warnings (run `cargo fix --bin "net-serve" -p net-serve --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.13s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/net_serve-7e19fdc0e525fb90) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "79c0ca0b58ef88f11f692190513c4fefb437d43d41c284568638b3f7a111ea1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "79c0ca0b58ef88f11f692190513c4fefb437d43d41c284568638b3f7a111ea1d", kill_on_drop: false }` [INFO] [stdout] 79c0ca0b58ef88f11f692190513c4fefb437d43d41c284568638b3f7a111ea1d