[INFO] fetching crate union 0.1.7... [INFO] testing union-0.1.7 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate union 0.1.7 into /workspace/builds/worker-5-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-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate union 0.1.7 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a37c1f979497f2fdecd57c7f64b5187d482bd6cbe852504b23e396334d9e51c4 [INFO] running `Command { std: "docker" "start" "-a" "a37c1f979497f2fdecd57c7f64b5187d482bd6cbe852504b23e396334d9e51c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a37c1f979497f2fdecd57c7f64b5187d482bd6cbe852504b23e396334d9e51c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a37c1f979497f2fdecd57c7f64b5187d482bd6cbe852504b23e396334d9e51c4", kill_on_drop: false }` [INFO] [stdout] a37c1f979497f2fdecd57c7f64b5187d482bd6cbe852504b23e396334d9e51c4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dfa5f85bdbbe968792f8f1c000ed30be11b2b0a402c9b05101e471bd18ff442b [INFO] running `Command { std: "docker" "start" "-a" "dfa5f85bdbbe968792f8f1c000ed30be11b2b0a402c9b05101e471bd18ff442b", 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 2.01s [INFO] running `Command { std: "docker" "inspect" "dfa5f85bdbbe968792f8f1c000ed30be11b2b0a402c9b05101e471bd18ff442b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dfa5f85bdbbe968792f8f1c000ed30be11b2b0a402c9b05101e471bd18ff442b", kill_on_drop: false }` [INFO] [stdout] dfa5f85bdbbe968792f8f1c000ed30be11b2b0a402c9b05101e471bd18ff442b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5677edbe822e69eac0b6ec68e701551af5d33a7e16453197ed247a6c540b468e [INFO] running `Command { std: "docker" "start" "-a" "5677edbe822e69eac0b6ec68e701551af5d33a7e16453197ed247a6c540b468e", 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 mime_guess v2.0.5 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling futures-select-macro-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling futures-join-macro-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling futures-io-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling gimli v0.32.3 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling httpdate v0.3.2 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling futures-channel-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling futures-timer v1.0.3 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling futures-util-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [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 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 tokio v0.2.25 [INFO] [stderr] Compiling futures-executor-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling addr2line v0.25.1 [INFO] [stderr] Compiling futures-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling backtrace v0.3.76 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling h2 v0.2.7 [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_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] [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.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] running `Command { std: "docker" "inspect" "5677edbe822e69eac0b6ec68e701551af5d33a7e16453197ed247a6c540b468e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5677edbe822e69eac0b6ec68e701551af5d33a7e16453197ed247a6c540b468e", kill_on_drop: false }` [INFO] [stdout] 5677edbe822e69eac0b6ec68e701551af5d33a7e16453197ed247a6c540b468e