[INFO] fetching crate cleartor 0.1.6... [INFO] checking cleartor-0.1.6 against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] extracting crate cleartor 0.1.6 into /workspace/builds/worker-76/source [INFO] validating manifest of crates.io crate cleartor 0.1.6 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 cleartor 0.1.6 [INFO] finished tweaking crates.io crate cleartor 0.1.6 [INFO] tweaked toml for crates.io crate cleartor 0.1.6 written to /workspace/builds/worker-76/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] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded hyper-socks2 v0.2.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-76/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-76/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] 3949a240ae858a69704f88df6cc1af30dd01d3a35ecec632e7d90bddbfe3d00b [INFO] running `Command { std: "docker" "start" "-a" "3949a240ae858a69704f88df6cc1af30dd01d3a35ecec632e7d90bddbfe3d00b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3949a240ae858a69704f88df6cc1af30dd01d3a35ecec632e7d90bddbfe3d00b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3949a240ae858a69704f88df6cc1af30dd01d3a35ecec632e7d90bddbfe3d00b", kill_on_drop: false }` [INFO] [stdout] 3949a240ae858a69704f88df6cc1af30dd01d3a35ecec632e7d90bddbfe3d00b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-76/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-76/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] [stdout] 7dbaf208cdcef83271cb0b6bcd9ab68d6e4e60bf94c1db7d372452349d5fbdee [INFO] running `Command { std: "docker" "start" "-a" "7dbaf208cdcef83271cb0b6bcd9ab68d6e4e60bf94c1db7d372452349d5fbdee", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking futures v0.1.31 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling openssl v0.10.36 [INFO] [stderr] Compiling syn v1.0.75 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Checking openssl-probe v0.1.4 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling serde_derive v1.0.128 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling serde v1.0.128 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking dirs v1.0.5 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling hyper v0.12.36 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking socks v0.3.3 [INFO] [stderr] Checking term v0.5.2 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Compiling openssl-sys v0.9.66 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking smallvec v0.6.14 [INFO] [stderr] Checking http v0.1.21 [INFO] [stderr] Checking string v0.2.1 [INFO] [stderr] Checking parking_lot_core v0.6.2 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking parking_lot v0.9.0 [INFO] [stderr] Checking tokio-executor v0.1.10 [INFO] [stderr] Checking tokio-io v0.1.13 [INFO] [stderr] Checking tokio-sync v0.1.8 [INFO] [stderr] Checking tokio-buf v0.1.1 [INFO] [stderr] Checking want v0.2.0 [INFO] [stderr] Checking futures-cpupool v0.1.8 [INFO] [stderr] Checking crossbeam-deque v0.7.4 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking tokio-timer v0.2.13 [INFO] [stderr] Checking tokio-current-thread v0.1.7 [INFO] [stderr] Checking tokio-reactor v0.1.12 [INFO] [stderr] Checking tokio-codec v0.1.2 [INFO] [stderr] Checking tokio-threadpool v0.1.18 [INFO] [stderr] Checking h2 v0.1.26 [INFO] [stderr] Checking http-body v0.1.0 [INFO] [stderr] Checking tokio-tcp v0.1.4 [INFO] [stderr] Checking tokio-uds v0.2.7 [INFO] [stderr] Checking tokio-udp v0.1.6 [INFO] [stderr] Checking simplelog v0.5.3 [INFO] [stderr] Checking tokio-fs v0.1.7 [INFO] [stderr] Checking tokio v0.1.22 [INFO] [stderr] Checking hyper-tls v0.3.2 [INFO] [stderr] Checking hyper-socks2 v0.2.1 [INFO] [stderr] Checking toml v0.4.10 [INFO] [stderr] Checking cleartor v0.1.6 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/main.rs (2 fixes) [INFO] [stdout] warning: cannot borrow `*headers` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/main.rs:183:21 [INFO] [stdout] | [INFO] [stdout] 181 | if let Some(location) = headers.get(header::LOCATION) { [INFO] [stdout] | ------- immutable borrow occurs here [INFO] [stdout] 182 | let location_str = location.to_str().unwrap(); [INFO] [stdout] 183 | headers.insert(header::LOCATION, location_str.replace(&*route.onion, &*route.domain).parse().unwrap()); [INFO] [stdout] | ^^^^^^^ ------------ immutable borrow later used here [INFO] [stdout] | | [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mutable_borrow_reservation_conflict)]` on by default [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `*headers` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/main.rs:183:21 [INFO] [stdout] | [INFO] [stdout] 181 | if let Some(location) = headers.get(header::LOCATION) { [INFO] [stdout] | ------- immutable borrow occurs here [INFO] [stdout] 182 | let location_str = location.to_str().unwrap(); [INFO] [stdout] 183 | headers.insert(header::LOCATION, location_str.replace(&*route.onion, &*route.domain).parse().unwrap()); [INFO] [stdout] | ^^^^^^^ ------------ immutable borrow later used here [INFO] [stdout] | | [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mutable_borrow_reservation_conflict)]` on by default [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 23.00s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking cleartor v0.1.6 (/tmp/fixit) [INFO] [stdout] warning: cannot borrow `*headers` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/main.rs:183:21 [INFO] [stdout] | [INFO] [stdout] 181 | if let Some(location) = headers.get(header::LOCATION) { [INFO] [stdout] | ------- immutable borrow occurs here [INFO] [stdout] 182 | let location_str = location.to_str().unwrap(); [INFO] [stdout] 183 | headers.insert(header::LOCATION, location_str.replace(&*route.onion, &*route.domain).parse().unwrap()); [INFO] [stdout] | ^^^^^^^ ------------ immutable borrow later used here [INFO] [stdout] | | [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mutable_borrow_reservation_conflict)]` on by default [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `*headers` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/main.rs:183:21 [INFO] [stdout] | [INFO] [stdout] 181 | if let Some(location) = headers.get(header::LOCATION) { [INFO] [stdout] | ------- immutable borrow occurs here [INFO] [stdout] 182 | let location_str = location.to_str().unwrap(); [INFO] [stdout] 183 | headers.insert(header::LOCATION, location_str.replace(&*route.onion, &*route.domain).parse().unwrap()); [INFO] [stdout] | ^^^^^^^ ------------ immutable borrow later used here [INFO] [stdout] | | [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mutable_borrow_reservation_conflict)]` on by default [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.47s [INFO] running `Command { std: "docker" "inspect" "7dbaf208cdcef83271cb0b6bcd9ab68d6e4e60bf94c1db7d372452349d5fbdee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7dbaf208cdcef83271cb0b6bcd9ab68d6e4e60bf94c1db7d372452349d5fbdee", kill_on_drop: false }` [INFO] [stdout] 7dbaf208cdcef83271cb0b6bcd9ab68d6e4e60bf94c1db7d372452349d5fbdee