[INFO] fetching crate anneal 0.3.4... [INFO] checking anneal-0.3.4 against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] extracting crate anneal 0.3.4 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate anneal 0.3.4 on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate anneal 0.3.4 [INFO] finished tweaking crates.io crate anneal 0.3.4 [INFO] tweaked toml for crates.io crate anneal 0.3.4 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded japi v0.3.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ec71493749da3b28328314af3b5dd46f0581f836c21ec0e411dc1bad83f2176c [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "ec71493749da3b28328314af3b5dd46f0581f836c21ec0e411dc1bad83f2176c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ec71493749da3b28328314af3b5dd46f0581f836c21ec0e411dc1bad83f2176c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec71493749da3b28328314af3b5dd46f0581f836c21ec0e411dc1bad83f2176c", kill_on_drop: false }` [INFO] [stdout] ec71493749da3b28328314af3b5dd46f0581f836c21ec0e411dc1bad83f2176c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 664a4cdd77ee7a5a7a8acd829a06597970c7d74eeaac0ada7fbb74c982203888 [INFO] running `Command { std: "docker" "start" "-a" "664a4cdd77ee7a5a7a8acd829a06597970c7d74eeaac0ada7fbb74c982203888", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling libc v0.2.100 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking unicode-bidi v0.3.6 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Checking modifier v0.1.0 [INFO] [stderr] Checking tinyvec v1.3.1 [INFO] [stderr] Checking unsafe-any v0.4.2 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Checking httparse v1.5.1 [INFO] [stderr] Checking typemap v0.3.3 [INFO] [stderr] Checking plugin v0.2.6 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling phf v0.7.24 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling mime_guess v1.8.8 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking hyper v0.10.16 [INFO] [stderr] Checking iron v0.6.1 [INFO] [stderr] Checking anneal v0.3.4 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/lib.rs (4 fixes) [INFO] [stderr] Fixed src/transfer_connector.rs (2 fixes) [INFO] [stderr] Fixed src/response_examine.rs (2 fixes) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Method` [INFO] [stdout] --> src/response_examine.rs:261:40 [INFO] [stdout] | [INFO] [stdout] 261 | let resp = RequestBuilder::new(Method::Get, "http://127.0.0.1:8080/").unwrap() [INFO] [stdout] | ^^^^^^ use of undeclared type `Method` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expect` [INFO] [stdout] --> src/response_examine.rs:264:75 [INFO] [stdout] | [INFO] [stdout] 264 | Response::with((Status::Ok, "this is a test", ModHead(Expect::Continue))); [INFO] [stdout] | ^^^^^^ use of undeclared type `Expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expect` [INFO] [stdout] --> src/response_examine.rs:272:62 [INFO] [stdout] | [INFO] [stdout] 272 | assert_eq!(resp.get_headers().get::(), Some(&Expect::Continue)); [INFO] [stdout] | ^^^^^^ use of undeclared type `Expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expect` [INFO] [stdout] --> src/response_examine.rs:273:55 [INFO] [stdout] | [INFO] [stdout] 273 | assert_eq!(resp.get_header::(), Some(&Expect::Continue)); [INFO] [stdout] | ^^^^^^ use of undeclared type `Expect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Method` [INFO] [stdout] --> src/response_examine.rs:284:40 [INFO] [stdout] | [INFO] [stdout] 284 | let resp = RequestBuilder::new(Method::Get, "http://127.0.0.1:8080/").unwrap() [INFO] [stdout] | ^^^^^^ use of undeclared type `Method` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Method` [INFO] [stdout] --> src/response_examine.rs:293:40 [INFO] [stdout] | [INFO] [stdout] 293 | let resp = RequestBuilder::new(Method::Get, "http://127.0.0.1:8080/").unwrap() [INFO] [stdout] | ^^^^^^ use of undeclared type `Method` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RequestBuilder` [INFO] [stdout] --> src/response_examine.rs:261:20 [INFO] [stdout] | [INFO] [stdout] 261 | let resp = RequestBuilder::new(Method::Get, "http://127.0.0.1:8080/").unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 254 | use crate::RequestBuilder; [INFO] [stdout] | [INFO] [stdout] 254 | use crate::hyper::client::RequestBuilder; [INFO] [stdout] | [INFO] [stdout] 254 | use hyper::client::RequestBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ModHead` in this scope [INFO] [stdout] --> src/response_examine.rs:264:67 [INFO] [stdout] | [INFO] [stdout] 264 | Response::with((Status::Ok, "this is a test", ModHead(Expect::Continue))); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expect` in this scope [INFO] [stdout] --> src/response_examine.rs:272:45 [INFO] [stdout] | [INFO] [stdout] 272 | assert_eq!(resp.get_headers().get::(), Some(&Expect::Continue)); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 254 | use crate::headers::Expect; [INFO] [stdout] | [INFO] [stdout] 254 | use hyper::header::Expect; [INFO] [stdout] | [INFO] [stdout] 254 | use iron::headers::Expect; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expect` in this scope [INFO] [stdout] --> src/response_examine.rs:273:38 [INFO] [stdout] | [INFO] [stdout] 273 | assert_eq!(resp.get_header::(), Some(&Expect::Continue)); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 254 | use crate::headers::Expect; [INFO] [stdout] | [INFO] [stdout] 254 | use hyper::header::Expect; [INFO] [stdout] | [INFO] [stdout] 254 | use iron::headers::Expect; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RequestBuilder` [INFO] [stdout] --> src/response_examine.rs:284:20 [INFO] [stdout] | [INFO] [stdout] 284 | let resp = RequestBuilder::new(Method::Get, "http://127.0.0.1:8080/").unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 254 | use crate::RequestBuilder; [INFO] [stdout] | [INFO] [stdout] 254 | use crate::hyper::client::RequestBuilder; [INFO] [stdout] | [INFO] [stdout] 254 | use hyper::client::RequestBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RequestBuilder` [INFO] [stdout] --> src/response_examine.rs:293:20 [INFO] [stdout] | [INFO] [stdout] 293 | let resp = RequestBuilder::new(Method::Get, "http://127.0.0.1:8080/").unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 254 | use crate::RequestBuilder; [INFO] [stdout] | [INFO] [stdout] 254 | use crate::hyper::client::RequestBuilder; [INFO] [stdout] | [INFO] [stdout] 254 | use hyper::client::RequestBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `WriteBody` [INFO] [stdout] --> src/response_examine.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 2 | response::{Response, WriteBody}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `anneal` due to 13 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] Fixed src/response_examine.rs (2 fixes) [INFO] [stdout] warning: unused import: `WriteBody` [INFO] [stdout] --> src/response_examine.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 2 | response::{Response, WriteBody}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `client_address` [INFO] [stdout] --> src/lib.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | client_address: SocketAddr, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lib.rs:296:9 [INFO] [stdout] | [INFO] [stdout] 296 | rb.send(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "664a4cdd77ee7a5a7a8acd829a06597970c7d74eeaac0ada7fbb74c982203888", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "664a4cdd77ee7a5a7a8acd829a06597970c7d74eeaac0ada7fbb74c982203888", kill_on_drop: false }` [INFO] [stdout] 664a4cdd77ee7a5a7a8acd829a06597970c7d74eeaac0ada7fbb74c982203888