[INFO] fetching crate union 0.1.7... [INFO] testing union-0.1.7 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate union 0.1.7 into /workspace/builds/worker-6-tc2/source [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-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate union 0.1.7 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 197 packages to latest compatible versions [INFO] [stderr] Adding futures-timer v1.0.3 (available: v3.0.3) [INFO] [stderr] Adding rand v0.7.3 (available: v0.9.2) [INFO] [stderr] Adding reqwest v0.10.10 (available: v0.12.23) [INFO] [stderr] Adding tokio v0.2.25 (available: v1.47.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 755de07adbb7e58159a4ae37fbdaec8f2f2fe8ffd1df03f5e9b09677841ffbed [INFO] running `Command { std: "docker" "start" "-a" "755de07adbb7e58159a4ae37fbdaec8f2f2fe8ffd1df03f5e9b09677841ffbed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "755de07adbb7e58159a4ae37fbdaec8f2f2fe8ffd1df03f5e9b09677841ffbed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "755de07adbb7e58159a4ae37fbdaec8f2f2fe8ffd1df03f5e9b09677841ffbed", kill_on_drop: false }` [INFO] [stdout] 755de07adbb7e58159a4ae37fbdaec8f2f2fe8ffd1df03f5e9b09677841ffbed [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 07ef2582503eaf7529b008a7aceb7df1e9a9a25d7d0df716cbc831f890d94b71 [INFO] running `Command { std: "docker" "start" "-a" "07ef2582503eaf7529b008a7aceb7df1e9a9a25d7d0df716cbc831f890d94b71", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling union_impl v0.1.3 [INFO] [stderr] Compiling union_export v0.1.3 [INFO] [stderr] Compiling union v0.1.7 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.01s [INFO] running `Command { std: "docker" "inspect" "07ef2582503eaf7529b008a7aceb7df1e9a9a25d7d0df716cbc831f890d94b71", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07ef2582503eaf7529b008a7aceb7df1e9a9a25d7d0df716cbc831f890d94b71", kill_on_drop: false }` [INFO] [stdout] 07ef2582503eaf7529b008a7aceb7df1e9a9a25d7d0df716cbc831f890d94b71 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c90cc27881bfe4f8063d9c1b9028ea56e2007ad3b37d6efad3195b0e735daf58 [INFO] running `Command { std: "docker" "start" "-a" "c90cc27881bfe4f8063d9c1b9028ea56e2007ad3b37d6efad3195b0e735daf58", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling pin-project-lite v0.1.12 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling bitflags v2.9.3 [INFO] [stderr] Compiling futures-core-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling futures-sink-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling futures-join-macro-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling futures-select-macro-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling futures-io-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling gimli v0.31.1 [INFO] [stderr] Compiling httpdate v0.3.2 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling futures-channel-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling rustc-demangle v0.1.26 [INFO] [stderr] Compiling futures-timer v1.0.3 [INFO] [stderr] Compiling futures-util-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling net2 v0.2.39 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling addr2line v0.24.2 [INFO] [stderr] Compiling tokio v0.2.25 [INFO] [stderr] Compiling futures-executor-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling futures-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling backtrace v0.3.75 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling h2 v0.2.7 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling tokio-tls v0.3.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling hyper v0.13.10 [INFO] [stderr] Compiling hyper-tls v0.4.3 [INFO] [stderr] Compiling reqwest v0.10.10 [INFO] [stderr] Compiling union v0.1.7 (/opt/rustwide/workdir) [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] 64 | rt.block_on(async { [INFO] [stdout] | ^^ cannot borrow as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be mutable [INFO] [stdout] | [INFO] [stdout] 63 | let mut rt = Runtime::new().unwrap(); [INFO] [stdout] | +++ [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] 93 | rt.block_on(async { [INFO] [stdout] | ^^ cannot borrow as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be mutable [INFO] [stdout] | [INFO] [stdout] 92 | let mut rt = Runtime::new().unwrap(); [INFO] [stdout] | +++ [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] 121 | rt.block_on(async { [INFO] [stdout] | ^^ cannot borrow as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be mutable [INFO] [stdout] | [INFO] [stdout] 120 | let mut rt = Runtime::new().unwrap(); [INFO] [stdout] | +++ [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] 171 | rt.block_on( [INFO] [stdout] | ^^ cannot borrow as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be mutable [INFO] [stdout] | [INFO] [stdout] 170 | let mut rt = Runtime::new().unwrap(); [INFO] [stdout] | +++ [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.rs:406:9 [INFO] [stdout] | [INFO] [stdout] 406 | rt.block_on(async { [INFO] [stdout] | ^^ cannot borrow as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be mutable [INFO] [stdout] | [INFO] [stdout] 404 | let mut rt = ::tokio::runtime::Runtime::new().unwrap(); [INFO] [stdout] | +++ [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] 251 | rt.block_on(async { [INFO] [stdout] | ^^ cannot borrow as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be mutable [INFO] [stdout] | [INFO] [stdout] 250 | let mut rt = Runtime::new().unwrap(); [INFO] [stdout] | +++ [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] 290 | rt.block_on(async { [INFO] [stdout] | ^^ cannot borrow as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be mutable [INFO] [stdout] | [INFO] [stdout] 289 | let mut rt = Runtime::new().unwrap(); [INFO] [stdout] | +++ [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] 346 | rt.block_on(async { [INFO] [stdout] | ^^ cannot borrow as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be mutable [INFO] [stdout] | [INFO] [stdout] 345 | let mut rt = Runtime::new().unwrap(); [INFO] [stdout] | +++ [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] 355 | rt.block_on(async { [INFO] [stdout] | ^^ cannot borrow as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be mutable [INFO] [stdout] | [INFO] [stdout] 354 | let mut rt = Runtime::new().unwrap(); [INFO] [stdout] | +++ [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] 365 | rt.block_on(async { [INFO] [stdout] | ^^ cannot borrow as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be mutable [INFO] [stdout] | [INFO] [stdout] 364 | let mut rt = Runtime::new().unwrap(); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0596`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0596`. [INFO] [stdout] [INFO] [stderr] error: could not compile `union` (test "union_async") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `union` (test "union_async_spawn") due to 9 previous errors [INFO] running `Command { std: "docker" "inspect" "c90cc27881bfe4f8063d9c1b9028ea56e2007ad3b37d6efad3195b0e735daf58", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c90cc27881bfe4f8063d9c1b9028ea56e2007ad3b37d6efad3195b0e735daf58", kill_on_drop: false }` [INFO] [stdout] c90cc27881bfe4f8063d9c1b9028ea56e2007ad3b37d6efad3195b0e735daf58