[INFO] fetching crate union 0.1.7... [INFO] testing union-0.1.7 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate union 0.1.7 into /workspace/builds/worker-5-tc1/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-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate union 0.1.7 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "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" "+caccb4d0368bd918ef6668af8e13834d07040417" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 180 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" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded union_impl v0.1.3 [INFO] [stderr] Downloaded futures-core-preview v0.3.0-alpha.19 [INFO] [stderr] Downloaded futures-preview v0.3.0-alpha.19 [INFO] [stderr] Downloaded futures-timer v1.0.3 [INFO] [stderr] Downloaded futures-channel-preview v0.3.0-alpha.19 [INFO] [stderr] Downloaded futures-join-macro-preview v0.3.0-alpha.19 [INFO] [stderr] Downloaded futures-io-preview v0.3.0-alpha.19 [INFO] [stderr] Downloaded union_export v0.1.3 [INFO] [stderr] Downloaded futures-select-macro-preview v0.3.0-alpha.19 [INFO] [stderr] Downloaded futures-sink-preview v0.3.0-alpha.19 [INFO] [stderr] Downloaded futures-util-preview v0.3.0-alpha.19 [INFO] [stderr] Downloaded futures-executor-preview v0.3.0-alpha.19 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 63629240c6a17bbcaf840cbd8557ffcb8b2d2bd132f64f95001540caac3aadc4 [INFO] running `Command { std: "docker" "start" "-a" "63629240c6a17bbcaf840cbd8557ffcb8b2d2bd132f64f95001540caac3aadc4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "63629240c6a17bbcaf840cbd8557ffcb8b2d2bd132f64f95001540caac3aadc4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "63629240c6a17bbcaf840cbd8557ffcb8b2d2bd132f64f95001540caac3aadc4", kill_on_drop: false }` [INFO] [stdout] 63629240c6a17bbcaf840cbd8557ffcb8b2d2bd132f64f95001540caac3aadc4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2d8c34511f3fcae30497e0df6360ad4850f0247006c7db925ccfa356b9996707 [INFO] running `Command { std: "docker" "start" "-a" "2d8c34511f3fcae30497e0df6360ad4850f0247006c7db925ccfa356b9996707", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [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 1.65s [INFO] running `Command { std: "docker" "inspect" "2d8c34511f3fcae30497e0df6360ad4850f0247006c7db925ccfa356b9996707", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2d8c34511f3fcae30497e0df6360ad4850f0247006c7db925ccfa356b9996707", kill_on_drop: false }` [INFO] [stdout] 2d8c34511f3fcae30497e0df6360ad4850f0247006c7db925ccfa356b9996707 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 65574fa61c371d7d721314b228e0b4b3bc5f148bb07dc0ca3a78e8a5d34e11f8 [INFO] running `Command { std: "docker" "start" "-a" "65574fa61c371d7d721314b228e0b4b3bc5f148bb07dc0ca3a78e8a5d34e11f8", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling pin-project-lite v0.1.12 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling futures-core-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling futures-sink-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling object v0.37.3 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling mime_guess v2.0.5 [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 httpdate v0.3.2 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling gimli v0.32.3 [INFO] [stderr] Compiling futures-io-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling futures-channel-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling futures-timer v1.0.3 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling futures-util-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.39 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling futures-executor-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling futures-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling tokio v0.2.25 [INFO] [stderr] Compiling addr2line v0.25.1 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling backtrace v0.3.76 [INFO] [stderr] Compiling h2 v0.2.7 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling tokio-tls v0.3.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] 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] [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] [stderr] error: could not compile `union` (test "union_async_spawn") due to 9 previous errors [INFO] running `Command { std: "docker" "inspect" "65574fa61c371d7d721314b228e0b4b3bc5f148bb07dc0ca3a78e8a5d34e11f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "65574fa61c371d7d721314b228e0b4b3bc5f148bb07dc0ca3a78e8a5d34e11f8", kill_on_drop: false }` [INFO] [stdout] 65574fa61c371d7d721314b228e0b4b3bc5f148bb07dc0ca3a78e8a5d34e11f8