[INFO] cloning repository https://github.com/chrisz2zz/rust-concurrency-cookbook-code [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/chrisz2zz/rust-concurrency-cookbook-code" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchrisz2zz%2Frust-concurrency-cookbook-code", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchrisz2zz%2Frust-concurrency-cookbook-code'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5ae30ea36a0a9e02264927638a9cd239c2f4be3b [INFO] testing chrisz2zz/rust-concurrency-cookbook-code against master#1871252fc8bb672d40787e67404e6eaae7059369 for pr-125151 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchrisz2zz%2Frust-concurrency-cookbook-code" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/chrisz2zz/rust-concurrency-cookbook-code on toolchain 1871252fc8bb672d40787e67404e6eaae7059369 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/chrisz2zz/rust-concurrency-cookbook-code [INFO] finished tweaking git repo https://github.com/chrisz2zz/rust-concurrency-cookbook-code [INFO] tweaked toml for git repo https://github.com/chrisz2zz/rust-concurrency-cookbook-code written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/chrisz2zz/rust-concurrency-cookbook-code already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] testing chrisz2zz/rust-concurrency-cookbook-code against try#b642703cf9526da1e72c0b6755753b939a9c6b6d for pr-125151 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchrisz2zz%2Frust-concurrency-cookbook-code" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/chrisz2zz/rust-concurrency-cookbook-code on toolchain b642703cf9526da1e72c0b6755753b939a9c6b6d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/chrisz2zz/rust-concurrency-cookbook-code [INFO] finished tweaking git repo https://github.com/chrisz2zz/rust-concurrency-cookbook-code [INFO] tweaked toml for git repo https://github.com/chrisz2zz/rust-concurrency-cookbook-code written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/chrisz2zz/rust-concurrency-cookbook-code already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "fetch" "--manifest-path" "Cargo.toml", 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] Downloading crates ... [INFO] [stderr] Downloaded mxo_env_logger v0.1.0 [INFO] [stderr] Downloaded fast-threadpool v0.3.0 [INFO] [stderr] Downloaded async-fs v2.1.0 [INFO] [stderr] Downloaded threadpool-executor v0.3.2 [INFO] [stderr] Downloaded thread-control v0.1.2 [INFO] [stderr] Downloaded affinity v0.1.2 [INFO] [stderr] Downloaded async-oneshot v0.4.2 [INFO] [stderr] Downloaded go-spawn v0.1.2 [INFO] [stderr] Downloaded thread-amount v0.1.3 [INFO] [stderr] Downloaded thread-priority v0.15.1 [INFO] [stderr] Downloaded executor-service v0.2.2 [INFO] [stderr] Downloaded futures-micro v0.3.1 [INFO] [stderr] Downloaded poolite v0.7.1 [INFO] [stderr] Downloaded async-process v2.0.1 [INFO] [stderr] Downloaded crossbeam-channel v0.1.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 13271f90ae517a6fd1ae3540e3007ab4acdf33293eaf93d4bcbbad1a7d0f4088 [INFO] running `Command { std: "docker" "start" "-a" "13271f90ae517a6fd1ae3540e3007ab4acdf33293eaf93d4bcbbad1a7d0f4088", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "13271f90ae517a6fd1ae3540e3007ab4acdf33293eaf93d4bcbbad1a7d0f4088", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "13271f90ae517a6fd1ae3540e3007ab4acdf33293eaf93d4bcbbad1a7d0f4088", kill_on_drop: false }` [INFO] [stdout] 13271f90ae517a6fd1ae3540e3007ab4acdf33293eaf93d4bcbbad1a7d0f4088 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 65b82c4f7ebd205902b55eaaef774e47547f01e9b81389a3b354d4289ffc1725 [INFO] running `Command { std: "docker" "start" "-a" "65b82c4f7ebd205902b55eaaef774e47547f01e9b81389a3b354d4289ffc1725", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.18 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling proc-macro2 v1.0.76 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling parking v2.2.0 [INFO] [stderr] Compiling value-bag v1.6.0 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling fastrand v2.0.1 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling rustix v0.38.28 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling linux-raw-sys v0.4.12 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling futures-lite v2.2.0 [INFO] [stderr] Compiling async-task v4.7.0 [INFO] [stderr] Compiling piper v0.2.1 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling ucd-util v0.1.10 [INFO] [stderr] Compiling smallvec v1.11.2 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Compiling aho-corasick v0.6.10 [INFO] [stderr] Compiling smallvec v0.6.14 [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling rustix v0.37.27 [INFO] [stderr] Compiling concurrent-queue v2.4.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.17 [INFO] [stderr] Compiling crossbeam-channel v0.5.10 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling event-listener v4.0.3 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling utf8-ranges v1.0.5 [INFO] [stderr] Compiling crossbeam-deque v0.8.4 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling nodrop v0.1.14 [INFO] [stderr] Compiling rayon-core v1.12.0 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling owning_ref v0.3.3 [INFO] [stderr] Compiling event-listener-strategy v0.4.0 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling crossbeam-utils v0.3.2 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Compiling memoffset v0.2.1 [INFO] [stderr] Compiling async-lock v3.3.0 [INFO] [stderr] Compiling async-channel v2.1.1 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling waker-fn v1.1.1 [INFO] [stderr] Compiling thiserror v1.0.56 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling fastrand v1.9.0 [INFO] [stderr] Compiling parking_lot_core v0.2.14 [INFO] [stderr] Compiling linux-raw-sys v0.3.8 [INFO] [stderr] Compiling crossbeam-epoch v0.4.3 [INFO] [stderr] Compiling futures-lite v1.13.0 [INFO] [stderr] Compiling parking_lot v0.5.5 [INFO] [stderr] Compiling async-lock v2.8.0 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling nanorand v0.7.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling blocking v1.5.1 [INFO] [stderr] Compiling async-executor v1.8.0 [INFO] [stderr] Compiling mio v0.8.10 [INFO] [stderr] Compiling socket2 v0.5.5 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling futures-micro v0.3.1 [INFO] [stderr] Compiling async-fs v2.1.0 [INFO] [stderr] Compiling rayon v1.8.0 [INFO] [stderr] Compiling async-oneshot v0.4.2 [INFO] [stderr] Compiling crossbeam-channel v0.1.3 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling errno v0.3.8 [INFO] [stderr] Compiling crossbeam-queue v0.3.10 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling state v0.5.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling affinity v0.1.2 [INFO] [stderr] Compiling threadpool-executor v0.3.2 [INFO] [stderr] Compiling crossbeam v0.8.3 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.7 [INFO] [stderr] Compiling core_affinity v0.8.1 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling executor-service v0.2.2 [INFO] [stderr] Compiling num_threads v0.1.6 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Compiling scoped-tls v1.0.1 [INFO] [stderr] Compiling arc-swap v1.6.0 [INFO] [stderr] Compiling thread-control v0.1.2 [INFO] [stderr] Compiling thread-amount v0.1.3 [INFO] [stderr] Compiling env_logger v0.4.3 [INFO] [stderr] Compiling send_wrapper v0.6.0 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling thread-priority v0.15.1 [INFO] [stderr] Compiling chapter_04_container_sync_primitive v0.1.0 (/opt/rustwide/workdir/chapter_04_container_sync_primitive) [INFO] [stderr] Compiling chapter_07_process v0.1.0 (/opt/rustwide/workdir/chapter_07_process) [INFO] [stderr] Compiling mxo_env_logger v0.1.0 [INFO] [stderr] Compiling chapter_06_concurrency_collection v0.1.0 (/opt/rustwide/workdir/chapter_06_concurrency_collection) [INFO] [stderr] Compiling poolite v0.7.1 [INFO] [stderr] Compiling chapter_05_basic_sync_primitive v0.1.0 (/opt/rustwide/workdir/chapter_05_basic_sync_primitive) [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling polling v3.3.1 [INFO] [stderr] Compiling tokio v1.35.1 [INFO] [stderr] Compiling async-io v2.2.2 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling go-spawn v0.1.2 [INFO] [stderr] Compiling chapter_01_thread v0.1.0 (/opt/rustwide/workdir/chapter_01_thread) [INFO] [stderr] Compiling async-signal v0.2.5 [INFO] [stderr] Compiling async-net v2.0.0 [INFO] [stderr] Compiling async-global-executor v2.4.1 [INFO] [stderr] Compiling pin-project v1.1.3 [INFO] [stderr] Compiling flume v0.10.14 [INFO] [stderr] Compiling async-process v2.0.1 [INFO] [stderr] Compiling async-std v1.12.0 [INFO] [stderr] Compiling fast-threadpool v0.3.0 [INFO] [stderr] Compiling smol v2.0.0 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling rusty_pool v0.7.0 [INFO] [stderr] Compiling chapter_03_async_await v0.1.0 (/opt/rustwide/workdir/chapter_03_async_await) [INFO] [stderr] Compiling chapter_02_thread_pool v0.1.0 (/opt/rustwide/workdir/chapter_02_thread_pool) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.58s [INFO] running `Command { std: "docker" "inspect" "65b82c4f7ebd205902b55eaaef774e47547f01e9b81389a3b354d4289ffc1725", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "65b82c4f7ebd205902b55eaaef774e47547f01e9b81389a3b354d4289ffc1725", kill_on_drop: false }` [INFO] [stdout] 65b82c4f7ebd205902b55eaaef774e47547f01e9b81389a3b354d4289ffc1725 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f3bd8163bcf78afd7d5ee27660c2c9d0cba5a76ce57bb0a6dc8f99dfe07edd87 [INFO] running `Command { std: "docker" "start" "-a" "f3bd8163bcf78afd7d5ee27660c2c9d0cba5a76ce57bb0a6dc8f99dfe07edd87", kill_on_drop: false }` [INFO] [stderr] Compiling chapter_02_thread_pool v0.1.0 (/opt/rustwide/workdir/chapter_02_thread_pool) [INFO] [stderr] Compiling chapter_04_container_sync_primitive v0.1.0 (/opt/rustwide/workdir/chapter_04_container_sync_primitive) [INFO] [stderr] Compiling chapter_06_concurrency_collection v0.1.0 (/opt/rustwide/workdir/chapter_06_concurrency_collection) [INFO] [stderr] Compiling chapter_07_process v0.1.0 (/opt/rustwide/workdir/chapter_07_process) [INFO] [stderr] Compiling chapter_01_thread v0.1.0 (/opt/rustwide/workdir/chapter_01_thread) [INFO] [stderr] Compiling chapter_05_basic_sync_primitive v0.1.0 (/opt/rustwide/workdir/chapter_05_basic_sync_primitive) [INFO] [stderr] Compiling chapter_03_async_await v0.1.0 (/opt/rustwide/workdir/chapter_03_async_await) [INFO] [stdout] warning: unused import: `chapter_02_thread_pool::*` [INFO] [stdout] --> chapter_02_thread_pool/examples/threadpool.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use chapter_02_thread_pool::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `exclusive_range_pattern` has been stable since 1.80.0-nightly and no longer requires an attribute to enable [INFO] [stdout] --> chapter_02_thread_pool/examples/poolite.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(exclusive_range_pattern)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `boxed` [INFO] [stdout] --> chapter_04_container_sync_primitive/examples/box.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | let boxed = Box::new(val); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_boxed` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> chapter_04_container_sync_primitive/examples/box.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | let val = *boxed; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> chapter_04_container_sync_primitive/examples/box.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | Cons(T, Box>), [INFO] [stdout] | ---- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 18 | Cons(T, ()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `new` is never used [INFO] [stdout] --> chapter_02_thread_pool/examples/poolite.rs:13:4 [INFO] [stdout] | [INFO] [stdout] 13 | fn new() -> poolite::Pool { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `scoped` is never used [INFO] [stdout] --> chapter_02_thread_pool/examples/poolite.rs:19:4 [INFO] [stdout] | [INFO] [stdout] 19 | fn scoped() { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `new_with_builder` is never used [INFO] [stdout] --> chapter_02_thread_pool/examples/poolite.rs:26:4 [INFO] [stdout] | [INFO] [stdout] 26 | fn new_with_builder() -> poolite::Pool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cell::RefCell` [INFO] [stdout] --> chapter_05_basic_sync_primitive/examples/arc.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | cell::RefCell, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chapter_02_thread_pool::*` [INFO] [stdout] --> chapter_02_thread_pool/examples/rusty_pool.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use chapter_02_thread_pool::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: use of moved value: `closure` [INFO] [stdout] --> chapter_02_thread_pool/examples/rusty_pool.rs:56:16 [INFO] [stdout] | [INFO] [stdout] 43 | let closure = async move |x: i32, y: i32| -> i32 { x + y }; [INFO] [stdout] | ------- move occurs because `closure` has type `{async closure@chapter_02_thread_pool/examples/rusty_pool.rs:43:19: 43:53}`, which does not implement the `Copy` trait [INFO] [stdout] 44 | [INFO] [stdout] 45 | let handle = pool.complete(async move { [INFO] [stdout] | ________________________________- [INFO] [stdout] 46 | | let a = closure(4, 6).await; [INFO] [stdout] | | ------- variable moved due to use in coroutine [INFO] [stdout] 47 | | let b = closure(a, 3).await; [INFO] [stdout] 48 | | let c = closure(b, -a).await; [INFO] [stdout] 49 | | closure(c, 5).await [INFO] [stdout] 50 | | }); [INFO] [stdout] | |_____- value moved here [INFO] [stdout] ... [INFO] [stdout] 56 | pool.spawn(async move { [INFO] [stdout] | ________________^ [INFO] [stdout] 57 | | let a = closure(3, 6).await; [INFO] [stdout] | | ------- use occurs due to use in coroutine [INFO] [stdout] 58 | | let b = closure(a, -4).await; [INFO] [stdout] 59 | | let c = closure(b, 7).await; [INFO] [stdout] 60 | | clone.fetch_add(c, std::sync::atomic::Ordering::SeqCst); [INFO] [stdout] 61 | | }); [INFO] [stdout] | |_____^ value used here after move [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reference1` [INFO] [stdout] --> chapter_04_container_sync_primitive/examples/cell.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | let reference1 = Rc::clone(&data); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reference1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reference2` [INFO] [stdout] --> chapter_04_container_sync_primitive/examples/cell.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | let reference2 = Rc::clone(&data); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reference2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ss1` [INFO] [stdout] --> chapter_04_container_sync_primitive/examples/cell.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | let ss1 = &ss; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ss1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ss2` [INFO] [stdout] --> chapter_04_container_sync_primitive/examples/cell.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | let ss2 = &ss; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ss2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rc` is never used [INFO] [stdout] --> chapter_04_container_sync_primitive/examples/cell.rs:82:4 [INFO] [stdout] | [INFO] [stdout] 82 | fn rc() { [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0382`. [INFO] [stdout] [INFO] [stderr] error: could not compile `chapter_02_thread_pool` (example "rusty_pool") due to 2 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `reference1` [INFO] [stdout] --> chapter_04_container_sync_primitive/examples/rc.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | let reference1 = Rc::clone(&data); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reference1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reference2` [INFO] [stdout] --> chapter_04_container_sync_primitive/examples/rc.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | let reference2 = Rc::clone(&data); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reference2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ss1` [INFO] [stdout] --> chapter_04_container_sync_primitive/examples/rc.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | let ss1 = &ss; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ss1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ss2` [INFO] [stdout] --> chapter_04_container_sync_primitive/examples/rc.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | let ss2 = &ss; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ss2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "f3bd8163bcf78afd7d5ee27660c2c9d0cba5a76ce57bb0a6dc8f99dfe07edd87", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f3bd8163bcf78afd7d5ee27660c2c9d0cba5a76ce57bb0a6dc8f99dfe07edd87", kill_on_drop: false }` [INFO] [stdout] f3bd8163bcf78afd7d5ee27660c2c9d0cba5a76ce57bb0a6dc8f99dfe07edd87