[INFO] cloning repository https://github.com/LLwyct/Rust-Web [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LLwyct/Rust-Web" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLLwyct%2FRust-Web", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLLwyct%2FRust-Web'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 771c00478497feb7c969d5e931873a331409c9d4 [INFO] checking LLwyct/Rust-Web against a5689b034ad287112f709693384a37f1377eb9cc for pr-129249-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLLwyct%2FRust-Web" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/LLwyct/Rust-Web [INFO] finished tweaking git repo https://github.com/LLwyct/Rust-Web [INFO] tweaked toml for git repo https://github.com/LLwyct/Rust-Web written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/LLwyct/Rust-Web on toolchain a5689b034ad287112f709693384a37f1377eb9cc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/LLwyct/Rust-Web 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" "+a5689b034ad287112f709693384a37f1377eb9cc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 37db8380123234c4d29271c38722b2bee4a9717fc00e90b4ac3c997bfc3fbcb9 [INFO] running `Command { std: "docker" "start" "37db8380123234c4d29271c38722b2bee4a9717fc00e90b4ac3c997bfc3fbcb9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "37db8380123234c4d29271c38722b2bee4a9717fc00e90b4ac3c997bfc3fbcb9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "37db8380123234c4d29271c38722b2bee4a9717fc00e90b4ac3c997bfc3fbcb9" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "37db8380123234c4d29271c38722b2bee4a9717fc00e90b4ac3c997bfc3fbcb9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "37db8380123234c4d29271c38722b2bee4a9717fc00e90b4ac3c997bfc3fbcb9" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling syn v1.0.90 [INFO] [stderr] Compiling libc v0.2.124 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Checking slab v0.4.6 [INFO] [stderr] Checking futures-sink v0.3.21 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Checking pin-project-lite v0.2.8 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Checking futures-io v0.3.21 [INFO] [stderr] Checking pin-project-lite v0.1.12 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling pin-project-internal v0.4.29 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking tinyvec v1.5.1 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling async-trait v0.1.53 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking unicode-bidi v0.3.7 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling quote v1.0.17 [INFO] [stderr] Checking ryu v1.0.9 [INFO] [stderr] Checking match_cfg v0.1.0 [INFO] [stderr] Compiling const_fn v0.4.9 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Checking tracing-core v0.1.26 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Checking alloc-no-stdlib v2.0.3 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Checking lru-cache v0.1.2 [INFO] [stderr] Checking alloc-stdlib v0.2.1 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling cookie v0.14.4 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking http v0.2.6 [INFO] [stderr] Checking hostname v0.3.1 [INFO] [stderr] Checking resolv-conf v0.7.0 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Compiling httparse v1.7.0 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Checking tracing v0.1.34 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking miniz_oxide v0.5.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking brotli-decompressor v2.3.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking cpufeatures v0.2.2 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking language-tags v0.2.2 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking flate2 v1.0.23 [INFO] [stderr] Checking bytestring v1.0.0 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking urlencoding v2.1.0 [INFO] [stderr] Checking http v0.1.0 (/opt/rustwide/workdir/http) [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking tcpserver v0.1.0 (/opt/rustwide/workdir/tcpserver) [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> http/src/httpresponse.rs:21:22 [INFO] [stdout] | [INFO] [stdout] 21 | version: "HTTP/1.1".into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 21 - version: "HTTP/1.1".into(), [INFO] [stdout] 21 + version: "HTTP/1.1", [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 21 - version: "HTTP/1.1".into(), [INFO] [stdout] 21 + version: <&str as Into<_>>::into("HTTP/1.1"), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> http/src/httpresponse.rs:22:26 [INFO] [stdout] | [INFO] [stdout] 22 | status_code: "200".into(), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 22 - status_code: "200".into(), [INFO] [stdout] 22 + status_code: "200", [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 22 - status_code: "200".into(), [INFO] [stdout] 22 + status_code: <&str as Into<_>>::into("200"), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> http/src/httpresponse.rs:23:26 [INFO] [stdout] | [INFO] [stdout] 23 | status_text: "OK".into(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 23 - status_text: "OK".into(), [INFO] [stdout] 23 + status_text: "OK", [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 23 - status_text: "OK".into(), [INFO] [stdout] 23 + status_text: <&str as Into<_>>::into("OK"), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> http/src/httpresponse.rs:57:36 [INFO] [stdout] | [INFO] [stdout] 57 | response.status_code = status_code.into(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 57 - response.status_code = status_code.into(); [INFO] [stdout] 57 + response.status_code = status_code; [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 57 - response.status_code = status_code.into(); [INFO] [stdout] 57 + response.status_code = <&str as Into<_>>::into(status_code); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> http/src/httpresponse.rs:70:22 [INFO] [stdout] | [INFO] [stdout] 70 | "200" => "OK".into(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 70 - "200" => "OK".into(), [INFO] [stdout] 70 + "200" => "OK", [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 70 - "200" => "OK".into(), [INFO] [stdout] 70 + "200" => <&str as Into<_>>::into("OK"), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> http/src/httpresponse.rs:71:22 [INFO] [stdout] | [INFO] [stdout] 71 | "400" => "Bad Request".into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 71 - "400" => "Bad Request".into(), [INFO] [stdout] 71 + "400" => "Bad Request", [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 71 - "400" => "Bad Request".into(), [INFO] [stdout] 71 + "400" => <&str as Into<_>>::into("Bad Request"), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> http/src/httpresponse.rs:72:22 [INFO] [stdout] | [INFO] [stdout] 72 | "404" => "Not Found".into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 72 - "404" => "Not Found".into(), [INFO] [stdout] 72 + "404" => "Not Found", [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 72 - "404" => "Not Found".into(), [INFO] [stdout] 72 + "404" => <&str as Into<_>>::into("Not Found"), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> http/src/httpresponse.rs:73:22 [INFO] [stdout] | [INFO] [stdout] 73 | "500" => "Internal Server Error".into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 73 - "500" => "Internal Server Error".into(), [INFO] [stdout] 73 + "500" => "Internal Server Error", [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 73 - "500" => "Internal Server Error".into(), [INFO] [stdout] 73 + "500" => <&str as Into<_>>::into("Internal Server Error"), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> http/src/httpresponse.rs:74:18 [INFO] [stdout] | [INFO] [stdout] 74 | _ => "Not Found".into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 74 - _ => "Not Found".into() [INFO] [stdout] 74 + _ => "Not Found" [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 74 - _ => "Not Found".into() [INFO] [stdout] 74 + _ => <&str as Into<_>>::into("Not Found") [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `http` (lib) due to 9 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "37db8380123234c4d29271c38722b2bee4a9717fc00e90b4ac3c997bfc3fbcb9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "37db8380123234c4d29271c38722b2bee4a9717fc00e90b4ac3c997bfc3fbcb9", kill_on_drop: false }` [INFO] [stdout] 37db8380123234c4d29271c38722b2bee4a9717fc00e90b4ac3c997bfc3fbcb9