[INFO] fetching crate union 0.1.7... [INFO] checking union-0.1.7 against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] extracting crate union 0.1.7 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate union 0.1.7 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 union 0.1.7 [INFO] finished tweaking crates.io crate union 0.1.7 [INFO] tweaked toml for crates.io crate union 0.1.7 written to /workspace/builds/worker-2/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] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 813fad38fc05463647da54a438eb310e4b0068e27080b1c1cbfdec231aeb97eb [INFO] running `Command { std: "docker" "start" "-a" "813fad38fc05463647da54a438eb310e4b0068e27080b1c1cbfdec231aeb97eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "813fad38fc05463647da54a438eb310e4b0068e27080b1c1cbfdec231aeb97eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "813fad38fc05463647da54a438eb310e4b0068e27080b1c1cbfdec231aeb97eb", kill_on_drop: false }` [INFO] [stdout] 813fad38fc05463647da54a438eb310e4b0068e27080b1c1cbfdec231aeb97eb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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] 3896acff238cfe0341ac04f3d2f3c552131afee6e680c5f800d7b065e0158145 [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" "3896acff238cfe0341ac04f3d2f3c552131afee6e680c5f800d7b065e0158145", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] note: Switching to Edition 2021 will enable the use of the version 2 feature resolver in Cargo. [INFO] [stderr] This may cause some dependencies to be built with fewer features enabled than previously. [INFO] [stderr] More information about the resolver changes may be found at https://doc.rust-lang.org/nightly/edition-guide/rust-2021/default-cargo-resolver.html [INFO] [stderr] When building the following dependencies, the given features will no longer be used: [INFO] [stderr] [INFO] [stderr] syn v1.0.75 (as host dependency): visit, visit-mut [INFO] [stderr] [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Checking slab v0.4.4 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking bytes v1.0.1 [INFO] [stderr] Compiling openssl v0.10.36 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Checking futures-sink-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking futures-io-preview v0.3.0-alpha.19 [INFO] [stderr] Checking httpdate v0.3.2 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Checking unicode-bidi v0.3.6 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking tracing-core v0.1.19 [INFO] [stderr] Checking futures-timer v1.0.3 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking tinyvec v1.3.1 [INFO] [stderr] Checking futures-channel-preview v0.3.0-alpha.19 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking log v0.4.14 [INFO] [stderr] Checking encoding_rs v0.8.28 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Checking object v0.26.1 [INFO] [stderr] Checking futures-channel v0.3.16 [INFO] [stderr] Checking http v0.2.4 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking tracing v0.1.26 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling futures-util v0.3.16 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling openssl-sys v0.9.66 [INFO] [stderr] Compiling backtrace v0.3.61 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling syn v1.0.75 [INFO] [stderr] Checking tokio v0.2.25 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking tokio-tls v0.3.1 [INFO] [stderr] Compiling synstructure v0.12.5 [INFO] [stderr] Compiling union_impl v0.1.3 [INFO] [stderr] Compiling pin-project-internal v1.0.8 [INFO] [stderr] Compiling futures-join-macro-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling futures-select-macro-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling union_export v0.1.3 [INFO] [stderr] Checking union v0.1.7 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking futures-util-preview v0.3.0-alpha.19 [INFO] [stderr] Checking pin-project v1.0.8 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Checking h2 v0.2.7 [INFO] [stderr] Checking futures-executor-preview v0.3.0-alpha.19 [INFO] [stderr] Checking futures-preview v0.3.0-alpha.19 [INFO] [stderr] Checking hyper v0.13.10 [INFO] [stderr] Checking hyper-tls v0.4.3 [INFO] [stderr] Checking reqwest v0.10.10 [INFO] [stderr] Migrating tests/union.rs from 2018 edition to 2021 [INFO] [stderr] Migrating tests/union_async.rs from 2018 edition to 2021 [INFO] [stderr] Migrating tests/union_spawn.rs from 2018 edition to 2021 [INFO] [stderr] Migrating tests/union_async_spawn.rs from 2018 edition to 2021 [INFO] [stdout] error[E0596]: cannot borrow `rt` as mutable, as it is not declared as mutable [INFO] [stdout] --> tests/union_async.rs:406:9 [INFO] [stdout] | [INFO] [stdout] 404 | let rt = ::tokio::runtime::Runtime::new().unwrap(); [INFO] [stdout] | -- help: consider changing this to be mutable: `mut rt` [INFO] [stdout] 405 | [INFO] [stdout] 406 | rt.block_on(async { [INFO] [stdout] | ^^ cannot borrow as mutable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0596`. [INFO] [stdout] [INFO] [stderr] error: could not compile `union` due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0596]: cannot borrow `rt` as mutable, as it is not declared as mutable [INFO] [stdout] --> tests/union_async_spawn.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 63 | let rt = Runtime::new().unwrap(); [INFO] [stdout] | -- help: consider changing this to be mutable: `mut rt` [INFO] [stdout] 64 | rt.block_on(async { [INFO] [stdout] | ^^ cannot borrow as mutable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `rt` as mutable, as it is not declared as mutable [INFO] [stdout] --> tests/union_async_spawn.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 92 | let rt = Runtime::new().unwrap(); [INFO] [stdout] | -- help: consider changing this to be mutable: `mut rt` [INFO] [stdout] 93 | rt.block_on(async { [INFO] [stdout] | ^^ cannot borrow as mutable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `rt` as mutable, as it is not declared as mutable [INFO] [stdout] --> tests/union_async_spawn.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 120 | let rt = Runtime::new().unwrap(); [INFO] [stdout] | -- help: consider changing this to be mutable: `mut rt` [INFO] [stdout] 121 | rt.block_on(async { [INFO] [stdout] | ^^ cannot borrow as mutable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `rt` as mutable, as it is not declared as mutable [INFO] [stdout] --> tests/union_async_spawn.rs:171:9 [INFO] [stdout] | [INFO] [stdout] 170 | let rt = Runtime::new().unwrap(); [INFO] [stdout] | -- help: consider changing this to be mutable: `mut rt` [INFO] [stdout] 171 | rt.block_on( [INFO] [stdout] | ^^ cannot borrow as mutable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `rt` as mutable, as it is not declared as mutable [INFO] [stdout] --> tests/union_async_spawn.rs:251:9 [INFO] [stdout] | [INFO] [stdout] 250 | let rt = Runtime::new().unwrap(); [INFO] [stdout] | -- help: consider changing this to be mutable: `mut rt` [INFO] [stdout] 251 | rt.block_on(async { [INFO] [stdout] | ^^ cannot borrow as mutable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `rt` as mutable, as it is not declared as mutable [INFO] [stdout] --> tests/union_async_spawn.rs:290:9 [INFO] [stdout] | [INFO] [stdout] 289 | let rt = Runtime::new().unwrap(); [INFO] [stdout] | -- help: consider changing this to be mutable: `mut rt` [INFO] [stdout] 290 | rt.block_on(async { [INFO] [stdout] | ^^ cannot borrow as mutable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `rt` as mutable, as it is not declared as mutable [INFO] [stdout] --> tests/union_async_spawn.rs:346:9 [INFO] [stdout] | [INFO] [stdout] 345 | let rt = Runtime::new().unwrap(); [INFO] [stdout] | -- help: consider changing this to be mutable: `mut rt` [INFO] [stdout] 346 | rt.block_on(async { [INFO] [stdout] | ^^ cannot borrow as mutable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `rt` as mutable, as it is not declared as mutable [INFO] [stdout] --> tests/union_async_spawn.rs:355:9 [INFO] [stdout] | [INFO] [stdout] 354 | let rt = Runtime::new().unwrap(); [INFO] [stdout] | -- help: consider changing this to be mutable: `mut rt` [INFO] [stdout] 355 | rt.block_on(async { [INFO] [stdout] | ^^ cannot borrow as mutable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `rt` as mutable, as it is not declared as mutable [INFO] [stdout] --> tests/union_async_spawn.rs:365:9 [INFO] [stdout] | [INFO] [stdout] 364 | let rt = Runtime::new().unwrap(); [INFO] [stdout] | -- help: consider changing this to be mutable: `mut rt` [INFO] [stdout] 365 | rt.block_on(async { [INFO] [stdout] | ^^ cannot borrow as mutable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0596`. [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" "3896acff238cfe0341ac04f3d2f3c552131afee6e680c5f800d7b065e0158145", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3896acff238cfe0341ac04f3d2f3c552131afee6e680c5f800d7b065e0158145", kill_on_drop: false }` [INFO] [stdout] 3896acff238cfe0341ac04f3d2f3c552131afee6e680c5f800d7b065e0158145