[INFO] fetching crate union 0.1.7... [INFO] testing union-0.1.7 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate union 0.1.7 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate union 0.1.7 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-8/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d3a4b6ed5a992ad7e31ed70a6801af849049ea52892ae07732b8ae189732b99b [INFO] running `Command { std: "docker" "start" "-a" "d3a4b6ed5a992ad7e31ed70a6801af849049ea52892ae07732b8ae189732b99b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d3a4b6ed5a992ad7e31ed70a6801af849049ea52892ae07732b8ae189732b99b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d3a4b6ed5a992ad7e31ed70a6801af849049ea52892ae07732b8ae189732b99b", kill_on_drop: false }` [INFO] [stdout] d3a4b6ed5a992ad7e31ed70a6801af849049ea52892ae07732b8ae189732b99b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 98f43d5bd547eb1d333c83c1bf62271bc187256ac62d6bd3668caccecad88931 [INFO] running `Command { std: "docker" "start" "-a" "98f43d5bd547eb1d333c83c1bf62271bc187256ac62d6bd3668caccecad88931", kill_on_drop: false }` [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 [unoptimized + debuginfo] target(s) in 3.44s [INFO] running `Command { std: "docker" "inspect" "98f43d5bd547eb1d333c83c1bf62271bc187256ac62d6bd3668caccecad88931", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "98f43d5bd547eb1d333c83c1bf62271bc187256ac62d6bd3668caccecad88931", kill_on_drop: false }` [INFO] [stdout] 98f43d5bd547eb1d333c83c1bf62271bc187256ac62d6bd3668caccecad88931 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 78574e54064f5af2cb69bc2273f280a3db8d5e1d9b80f69e5aedf8d6adf4c828 [INFO] running `Command { std: "docker" "start" "-a" "78574e54064f5af2cb69bc2273f280a3db8d5e1d9b80f69e5aedf8d6adf4c828", 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] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling futures-core-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling futures-sink-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling futures-io-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling tracing v0.1.33 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling tokio v0.2.25 [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 synstructure v0.12.6 [INFO] [stderr] Compiling rand_core v0.5.1 [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 rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling futures-util-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling tokio-tls v0.3.1 [INFO] [stderr] Compiling h2 v0.2.7 [INFO] [stderr] Compiling futures-executor-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling futures-preview v0.3.0-alpha.19 [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] 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] 65 | | let product = union_async_spawn! { [INFO] [stdout] 66 | | ok(2u16), [INFO] [stdout] 67 | | ok(get_three().await), [INFO] [stdout] ... | [INFO] [stdout] 86 | | ); [INFO] [stdout] 87 | | }); [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] 94 | | let product = union_async_spawn! { [INFO] [stdout] 95 | | ok(2u16).map(add_one_to_ok).and_then(add_one_ok), //4 [INFO] [stdout] 96 | | ok(get_three().await).and_then(add_one_ok).map(add_one_to_ok).map(add_one_to_ok).map(add_one_to_ok), //7 [INFO] [stdout] ... | [INFO] [stdout] 115 | | ); [INFO] [stdout] 116 | | }); [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] 122 | | let product = union_async_spawn! { [INFO] [stdout] 123 | | ok(2u16) |> add_one_to_ok => add_one_ok, //4 [INFO] [stdout] 124 | | ok(get_three().await) => add_one_ok |> add_one_to_ok |> add_one_to_ok |> add_one_to_ok, //7 [INFO] [stdout] ... | [INFO] [stdout] 164 | | assert_eq!(none.await, None); [INFO] [stdout] 165 | | }); [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] 172 | | async { [INFO] [stdout] 173 | | let ok_value = union_async_spawn! { [INFO] [stdout] 174 | | ok(2u16), [INFO] [stdout] ... | [INFO] [stdout] 244 | | } [INFO] [stdout] 245 | | ); [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] 252 | | let product = union_async_spawn! { [INFO] [stdout] 253 | | let branch_0 = ok(2u16) ~|> { [INFO] [stdout] 254 | | let branch_0 = branch_0.as_ref().ok().map(Clone::clone); [INFO] [stdout] ... | [INFO] [stdout] 284 | | assert_eq!(product.await.unwrap(), 840); [INFO] [stdout] 285 | | }); [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] 291 | | use futures::lock::Mutex; [INFO] [stdout] 292 | | use std::sync::Arc; [INFO] [stdout] 293 | | use std::time::Duration; [INFO] [stdout] ... | [INFO] [stdout] 339 | | .unwrap(); [INFO] [stdout] 340 | | }); [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] 347 | | let values = union_async_spawn! { ok::<_,u8>(2), ok::<_,u8>(3) }.await; [INFO] [stdout] 348 | | assert_eq!(values.unwrap(), (2, 3)); [INFO] [stdout] 349 | | }); [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] 356 | | let value = union_async_spawn! { ready(Some(1)) }.await; [INFO] [stdout] 357 | | assert_eq!(value.unwrap(), 1); [INFO] [stdout] 358 | | }); [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] 366 | | let _fut = union_async_spawn! { [INFO] [stdout] 367 | | ready(panic!()), [INFO] [stdout] 368 | | ready(unreachable!()), [INFO] [stdout] 369 | | then => |a: Result, b: Result| ready(a) [INFO] [stdout] 370 | | }; [INFO] [stdout] 371 | | }); [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: could not compile `union` due to 10 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] 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] 407 | | [INFO] [stdout] 408 | | println!( [INFO] [stdout] 409 | | "Hello.\nThis's is the game where winner is the player, which value is the closest to {}", [INFO] [stdout] ... | [INFO] [stdout] 528 | | }.unwrap(); [INFO] [stdout] 529 | | }); [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] running `Command { std: "docker" "inspect" "78574e54064f5af2cb69bc2273f280a3db8d5e1d9b80f69e5aedf8d6adf4c828", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "78574e54064f5af2cb69bc2273f280a3db8d5e1d9b80f69e5aedf8d6adf4c828", kill_on_drop: false }` [INFO] [stdout] 78574e54064f5af2cb69bc2273f280a3db8d5e1d9b80f69e5aedf8d6adf4c828