[INFO] crate tari_broadcast_channel 0.1.0 is already in cache [INFO] checking tari_broadcast_channel-0.1.0 against master#ba72b15666b2491415aec703a02c2364fe5e2790 for pr-71140 [INFO] extracting crate tari_broadcast_channel 0.1.0 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate tari_broadcast_channel 0.1.0 on toolchain ba72b15666b2491415aec703a02c2364fe5e2790 [INFO] running `"/workspace/cargo-home/bin/cargo" "+ba72b15666b2491415aec703a02c2364fe5e2790" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate tari_broadcast_channel 0.1.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate tari_broadcast_channel 0.1.0 [INFO] tweaked toml for crates.io crate tari_broadcast_channel 0.1.0 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate crates.io crate tari_broadcast_channel 0.1.0 already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+ba72b15666b2491415aec703a02c2364fe5e2790" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+ba72b15666b2491415aec703a02c2364fe5e2790" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 60c7cdcda330cf2de9c20be13f5457930c8c8802b8e090080ab2e9fd192ef077 [INFO] running `"docker" "start" "-a" "60c7cdcda330cf2de9c20be13f5457930c8c8802b8e090080ab2e9fd192ef077"` [INFO] [stderr] Checking regex-syntax v0.6.15 [INFO] [stderr] Checking regex-automata v0.1.8 [INFO] [stderr] Checking serde_json v1.0.48 [INFO] [stderr] Checking tokio v0.2.13 [INFO] [stderr] Compiling proc-macro-hack v0.5.11 [INFO] [stderr] Checking criterion-plot v0.4.1 [INFO] [stderr] Checking crossbeam-epoch v0.8.2 [INFO] [stderr] Checking bstr v0.2.11 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking rayon-core v1.7.0 [INFO] [stderr] Checking rayon v1.3.0 [INFO] [stderr] Checking csv v1.1.3 [INFO] [stderr] Checking tinytemplate v1.0.3 [INFO] [stderr] Checking regex v1.3.4 [INFO] [stderr] Compiling futures-macro v0.3.4 [INFO] [stderr] Checking futures-util v0.3.4 [INFO] [stderr] Checking criterion v0.3.1 [INFO] [stderr] Checking futures-executor v0.3.4 [INFO] [stderr] Checking futures v0.3.4 [INFO] [stderr] Checking tari_broadcast_channel v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0596]: cannot borrow `rt` as mutable, as it is not declared as mutable [INFO] [stderr] --> benches/channel.rs:80:21 [INFO] [stderr] | [INFO] [stderr] 72 | let rt = Runtime::new().unwrap(); [INFO] [stderr] | -- help: consider changing this to be mutable: `mut rt` [INFO] [stderr] ... [INFO] [stderr] 80 | rt.block_on(publisher.send(v)).unwrap(); [INFO] [stderr] | ^^ cannot borrow as mutable [INFO] [stderr] [INFO] [stderr] error[E0596]: cannot borrow `rt` as mutable, as it is not declared as mutable [INFO] [stderr] --> benches/channel.rs:86:34 [INFO] [stderr] | [INFO] [stderr] 72 | let rt = Runtime::new().unwrap(); [INFO] [stderr] | -- help: consider changing this to be mutable: `mut rt` [INFO] [stderr] ... [INFO] [stderr] 86 | let values = rt.block_on(join_all(sub_read_all)); [INFO] [stderr] | ^^ cannot borrow as mutable [INFO] [stderr] [INFO] [stderr] error[E0524]: two closures require unique access to `rt` at the same time [INFO] [stderr] --> benches/channel.rs:83:13 [INFO] [stderr] | [INFO] [stderr] 77 | b.iter_with_setup( [INFO] [stderr] | --------------- first borrow later used by call [INFO] [stderr] 78 | || { [INFO] [stderr] | -- first closure is constructed here [INFO] [stderr] 79 | (0..NUM_MESSAGES).for_each(|v| { [INFO] [stderr] 80 | rt.block_on(publisher.send(v)).unwrap(); [INFO] [stderr] | -- first borrow occurs due to use of `rt` in closure [INFO] [stderr] ... [INFO] [stderr] 83 | |_| { [INFO] [stderr] | ^^^ second closure is constructed here [INFO] [stderr] ... [INFO] [stderr] 86 | let values = rt.block_on(join_all(sub_read_all)); [INFO] [stderr] | -- second borrow occurs due to use of `rt` in closure [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0524, E0596. [INFO] [stderr] For more information about an error, try `rustc --explain E0524`. [INFO] [stderr] error: could not compile `tari_broadcast_channel`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0596]: cannot borrow `rt` as mutable, as it is not declared as mutable [INFO] [stderr] --> benches/channel.rs:80:21 [INFO] [stderr] | [INFO] [stderr] 72 | let rt = Runtime::new().unwrap(); [INFO] [stderr] | -- help: consider changing this to be mutable: `mut rt` [INFO] [stderr] ... [INFO] [stderr] 80 | rt.block_on(publisher.send(v)).unwrap(); [INFO] [stderr] | ^^ cannot borrow as mutable [INFO] [stderr] [INFO] [stderr] error[E0596]: cannot borrow `rt` as mutable, as it is not declared as mutable [INFO] [stderr] --> benches/channel.rs:86:34 [INFO] [stderr] | [INFO] [stderr] 72 | let rt = Runtime::new().unwrap(); [INFO] [stderr] | -- help: consider changing this to be mutable: `mut rt` [INFO] [stderr] ... [INFO] [stderr] 86 | let values = rt.block_on(join_all(sub_read_all)); [INFO] [stderr] | ^^ cannot borrow as mutable [INFO] [stderr] [INFO] [stderr] error[E0524]: two closures require unique access to `rt` at the same time [INFO] [stderr] --> benches/channel.rs:83:13 [INFO] [stderr] | [INFO] [stderr] 77 | b.iter_with_setup( [INFO] [stderr] | --------------- first borrow later used by call [INFO] [stderr] 78 | || { [INFO] [stderr] | -- first closure is constructed here [INFO] [stderr] 79 | (0..NUM_MESSAGES).for_each(|v| { [INFO] [stderr] 80 | rt.block_on(publisher.send(v)).unwrap(); [INFO] [stderr] | -- first borrow occurs due to use of `rt` in closure [INFO] [stderr] ... [INFO] [stderr] 83 | |_| { [INFO] [stderr] | ^^^ second closure is constructed here [INFO] [stderr] ... [INFO] [stderr] 86 | let values = rt.block_on(join_all(sub_read_all)); [INFO] [stderr] | -- second borrow occurs due to use of `rt` in closure [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0524, E0596. [INFO] [stderr] For more information about an error, try `rustc --explain E0524`. [INFO] [stderr] error: could not compile `tari_broadcast_channel`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "60c7cdcda330cf2de9c20be13f5457930c8c8802b8e090080ab2e9fd192ef077"` [INFO] running `"docker" "rm" "-f" "60c7cdcda330cf2de9c20be13f5457930c8c8802b8e090080ab2e9fd192ef077"` [INFO] [stdout] 60c7cdcda330cf2de9c20be13f5457930c8c8802b8e090080ab2e9fd192ef077