[INFO] cloning repository https://github.com/suryxks/atomic-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/suryxks/atomic-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsuryxks%2Fatomic-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsuryxks%2Fatomic-rust'... [INFO] [stderr] error: unable to write symref for HEAD: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 1) [INFO] cloning repository https://github.com/suryxks/atomic-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/suryxks/atomic-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsuryxks%2Fatomic-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsuryxks%2Fatomic-rust'... [INFO] [stderr] error: copy-fd: write returned: No space left on device [INFO] [stderr] fatal: cannot copy '/usr/share/git-core/templates/hooks/applypatch-msg.sample' to '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsuryxks%2Fatomic-rust/hooks/applypatch-msg.sample': No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 2) [INFO] cloning repository https://github.com/suryxks/atomic-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/suryxks/atomic-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsuryxks%2Fatomic-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsuryxks%2Fatomic-rust'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsuryxks%2Fatomic-rust: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 3) [INFO] cloning repository https://github.com/suryxks/atomic-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/suryxks/atomic-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsuryxks%2Fatomic-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsuryxks%2Fatomic-rust'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsuryxks%2Fatomic-rust: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 4) [INFO] cloning repository https://github.com/suryxks/atomic-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/suryxks/atomic-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsuryxks%2Fatomic-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsuryxks%2Fatomic-rust'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsuryxks%2Fatomic-rust: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 5) [INFO] cloning repository https://github.com/suryxks/atomic-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/suryxks/atomic-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsuryxks%2Fatomic-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsuryxks%2Fatomic-rust'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsuryxks%2Fatomic-rust: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 6) [INFO] cloning repository https://github.com/suryxks/atomic-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/suryxks/atomic-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsuryxks%2Fatomic-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsuryxks%2Fatomic-rust'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsuryxks%2Fatomic-rust: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 7) [INFO] cloning repository https://github.com/suryxks/atomic-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/suryxks/atomic-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsuryxks%2Fatomic-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsuryxks%2Fatomic-rust'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsuryxks%2Fatomic-rust: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 8) [INFO] cloning repository https://github.com/suryxks/atomic-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/suryxks/atomic-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsuryxks%2Fatomic-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsuryxks%2Fatomic-rust'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsuryxks%2Fatomic-rust: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 9) [INFO] cloning repository https://github.com/suryxks/atomic-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/suryxks/atomic-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsuryxks%2Fatomic-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsuryxks%2Fatomic-rust'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsuryxks%2Fatomic-rust: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 10) [INFO] cloning repository https://github.com/suryxks/atomic-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/suryxks/atomic-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsuryxks%2Fatomic-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsuryxks%2Fatomic-rust'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsuryxks%2Fatomic-rust: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 11) [INFO] cloning repository https://github.com/suryxks/atomic-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/suryxks/atomic-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsuryxks%2Fatomic-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsuryxks%2Fatomic-rust'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsuryxks%2Fatomic-rust: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 12) [INFO] cloning repository https://github.com/suryxks/atomic-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/suryxks/atomic-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsuryxks%2Fatomic-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsuryxks%2Fatomic-rust'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsuryxks%2Fatomic-rust: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 13) [INFO] cloning repository https://github.com/suryxks/atomic-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/suryxks/atomic-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsuryxks%2Fatomic-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsuryxks%2Fatomic-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fd97adb497db6c1a4f3d5b9f8b2bcdb5ebc230b1 [INFO] checking suryxks/atomic-rust against master#4847d6a9d07d4be9ba3196f6ad444af2d7bdde72 for pr-134276 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsuryxks%2Fatomic-rust" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/suryxks/atomic-rust on toolchain 4847d6a9d07d4be9ba3196f6ad444af2d7bdde72 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4847d6a9d07d4be9ba3196f6ad444af2d7bdde72" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/suryxks/atomic-rust [INFO] finished tweaking git repo https://github.com/suryxks/atomic-rust [INFO] tweaked toml for git repo https://github.com/suryxks/atomic-rust written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/suryxks/atomic-rust 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" "+4847d6a9d07d4be9ba3196f6ad444af2d7bdde72" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+4847d6a9d07d4be9ba3196f6ad444af2d7bdde72" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e1c35320f681fcf1c79dc251d4bc417193c0a832d4b244d8492f5d99862b154b [INFO] running `Command { std: "docker" "start" "-a" "e1c35320f681fcf1c79dc251d4bc417193c0a832d4b244d8492f5d99862b154b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e1c35320f681fcf1c79dc251d4bc417193c0a832d4b244d8492f5d99862b154b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1c35320f681fcf1c79dc251d4bc417193c0a832d4b244d8492f5d99862b154b", kill_on_drop: false }` [INFO] [stdout] e1c35320f681fcf1c79dc251d4bc417193c0a832d4b244d8492f5d99862b154b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+4847d6a9d07d4be9ba3196f6ad444af2d7bdde72" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3965401496b6bdf8f86ae1a280bf6854133e9a4d12588c535e10a8245cdc6f33 [INFO] running `Command { std: "docker" "start" "-a" "3965401496b6bdf8f86ae1a280bf6854133e9a4d12588c535e10a8245cdc6f33", kill_on_drop: false }` [INFO] [stderr] Checking atomic-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `core::num` [INFO] [stdout] --> src/ch_1.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::num; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AtomicI32` and `Ordering` [INFO] [stdout] --> src/main.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 2 | use std::sync::atomic::{ AtomicI32, Ordering }; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ch_1::ch_1` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use ch_1::ch_1; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AtomicBool` [INFO] [stdout] --> src/ch_2.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | sync::atomic::{ AtomicBool, AtomicU32, AtomicU64, AtomicUsize, Ordering::Relaxed }, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ch_2::ch_2` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use ch_2::ch_2; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AtomicPtr`, `AtomicU64`, and `yield_now` [INFO] [stdout] --> src/ch_3.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | AtomicPtr, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 6 | AtomicU64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | thread::{ self, yield_now }, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::num` [INFO] [stdout] --> src/ch_1.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::num; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AtomicI32` and `Ordering` [INFO] [stdout] --> src/main.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 2 | use std::sync::atomic::{ AtomicI32, Ordering }; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ch_1::ch_1` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use ch_1::ch_1; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AtomicBool` [INFO] [stdout] --> src/ch_2.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | sync::atomic::{ AtomicBool, AtomicU32, AtomicU64, AtomicUsize, Ordering::Relaxed }, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ch_2::ch_2` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use ch_2::ch_2; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AtomicPtr`, `AtomicU64`, and `yield_now` [INFO] [stdout] --> src/ch_3.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | AtomicPtr, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 6 | AtomicU64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | thread::{ self, yield_now }, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/ch_2.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | fn process_item(i: usize) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ch_1` is never used [INFO] [stdout] --> src/ch_1.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn ch_1() { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `f` is never used [INFO] [stdout] --> src/ch_1.rs:26:4 [INFO] [stdout] | [INFO] [stdout] 26 | fn f() { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `scoped_threads` is never used [INFO] [stdout] --> src/ch_1.rs:33:4 [INFO] [stdout] | [INFO] [stdout] 33 | fn scoped_threads() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `reference_counting` is never used [INFO] [stdout] --> src/ch_1.rs:46:4 [INFO] [stdout] | [INFO] [stdout] 46 | fn reference_counting() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mutex` is never used [INFO] [stdout] --> src/ch_1.rs:59:4 [INFO] [stdout] | [INFO] [stdout] 59 | fn mutex() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `thread_parking` is never used [INFO] [stdout] --> src/ch_1.rs:105:4 [INFO] [stdout] | [INFO] [stdout] 105 | fn thread_parking() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `conditional_variables` is never used [INFO] [stdout] --> src/ch_1.rs:126:4 [INFO] [stdout] | [INFO] [stdout] 126 | fn conditional_variables() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ch_2` is never used [INFO] [stdout] --> src/ch_2.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn ch_2() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `process_item` is never used [INFO] [stdout] --> src/ch_2.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn process_item(i: usize) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `example_process_reporting_multiple_threads` is never used [INFO] [stdout] --> src/ch_2.rs:15:4 [INFO] [stdout] | [INFO] [stdout] 15 | fn example_process_reporting_multiple_threads() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `example_statistics` is never used [INFO] [stdout] --> src/ch_2.rs:43:4 [INFO] [stdout] | [INFO] [stdout] 43 | fn example_statistics() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `increment` is never used [INFO] [stdout] --> src/ch_2.rs:82:4 [INFO] [stdout] | [INFO] [stdout] 82 | fn increment(a: &AtomicU32) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `id_allocation` is never used [INFO] [stdout] --> src/ch_2.rs:96:4 [INFO] [stdout] | [INFO] [stdout] 96 | fn id_allocation() -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `X` is never used [INFO] [stdout] --> src/ch_3.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | static X: AtomicI32 = AtomicI32::new(0); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `Y` is never used [INFO] [stdout] --> src/ch_3.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | static Y: AtomicI32 = AtomicI32::new(0); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `DATA` is never used [INFO] [stdout] --> src/ch_3.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | static mut DATA: String = String::new(); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `LOCKED` is never used [INFO] [stdout] --> src/ch_3.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | static LOCKED: AtomicBool = AtomicBool::new(false); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `a` is never used [INFO] [stdout] --> src/ch_3.rs:18:4 [INFO] [stdout] | [INFO] [stdout] 18 | fn a() { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `b` is never used [INFO] [stdout] --> src/ch_3.rs:22:4 [INFO] [stdout] | [INFO] [stdout] 22 | fn b() { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `f` is never used [INFO] [stdout] --> src/ch_3.rs:45:4 [INFO] [stdout] | [INFO] [stdout] 45 | fn f() { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ex` is never used [INFO] [stdout] --> src/ch_3.rs:49:4 [INFO] [stdout] | [INFO] [stdout] 49 | fn ex() { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `release_and_acquire_ordering` is never used [INFO] [stdout] --> src/ch_3.rs:63:4 [INFO] [stdout] | [INFO] [stdout] 63 | fn release_and_acquire_ordering() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ex_locking` is never used [INFO] [stdout] --> src/ch_3.rs:83:4 [INFO] [stdout] | [INFO] [stdout] 83 | fn ex_locking() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/ch_2.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | fn process_item(i: usize) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/ch_3.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | DATA.push('!'); [INFO] [stdout] | ^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/ch_3.rs:101:17 [INFO] [stdout] | [INFO] [stdout] 101 | S.push('!'); [INFO] [stdout] | ^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/ch_3.rs:109:17 [INFO] [stdout] | [INFO] [stdout] 109 | S.push('1'); [INFO] [stdout] | ^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/ch_3.rs:116:31 [INFO] [stdout] | [INFO] [stdout] 116 | println!("{:?}", unsafe { S.as_str() }) [INFO] [stdout] | ^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ch_1` is never used [INFO] [stdout] --> src/ch_1.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn ch_1() { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `f` is never used [INFO] [stdout] --> src/ch_1.rs:26:4 [INFO] [stdout] | [INFO] [stdout] 26 | fn f() { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `scoped_threads` is never used [INFO] [stdout] --> src/ch_1.rs:33:4 [INFO] [stdout] | [INFO] [stdout] 33 | fn scoped_threads() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `reference_counting` is never used [INFO] [stdout] --> src/ch_1.rs:46:4 [INFO] [stdout] | [INFO] [stdout] 46 | fn reference_counting() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mutex` is never used [INFO] [stdout] --> src/ch_1.rs:59:4 [INFO] [stdout] | [INFO] [stdout] 59 | fn mutex() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `thread_parking` is never used [INFO] [stdout] --> src/ch_1.rs:105:4 [INFO] [stdout] | [INFO] [stdout] 105 | fn thread_parking() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `conditional_variables` is never used [INFO] [stdout] --> src/ch_1.rs:126:4 [INFO] [stdout] | [INFO] [stdout] 126 | fn conditional_variables() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ch_2` is never used [INFO] [stdout] --> src/ch_2.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn ch_2() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `process_item` is never used [INFO] [stdout] --> src/ch_2.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn process_item(i: usize) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `example_process_reporting_multiple_threads` is never used [INFO] [stdout] --> src/ch_2.rs:15:4 [INFO] [stdout] | [INFO] [stdout] 15 | fn example_process_reporting_multiple_threads() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `example_statistics` is never used [INFO] [stdout] --> src/ch_2.rs:43:4 [INFO] [stdout] | [INFO] [stdout] 43 | fn example_statistics() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `increment` is never used [INFO] [stdout] --> src/ch_2.rs:82:4 [INFO] [stdout] | [INFO] [stdout] 82 | fn increment(a: &AtomicU32) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `id_allocation` is never used [INFO] [stdout] --> src/ch_2.rs:96:4 [INFO] [stdout] | [INFO] [stdout] 96 | fn id_allocation() -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `X` is never used [INFO] [stdout] --> src/ch_3.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | static X: AtomicI32 = AtomicI32::new(0); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `Y` is never used [INFO] [stdout] --> src/ch_3.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | static Y: AtomicI32 = AtomicI32::new(0); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `DATA` is never used [INFO] [stdout] --> src/ch_3.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | static mut DATA: String = String::new(); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `LOCKED` is never used [INFO] [stdout] --> src/ch_3.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | static LOCKED: AtomicBool = AtomicBool::new(false); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `a` is never used [INFO] [stdout] --> src/ch_3.rs:18:4 [INFO] [stdout] | [INFO] [stdout] 18 | fn a() { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `b` is never used [INFO] [stdout] --> src/ch_3.rs:22:4 [INFO] [stdout] | [INFO] [stdout] 22 | fn b() { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `f` is never used [INFO] [stdout] --> src/ch_3.rs:45:4 [INFO] [stdout] | [INFO] [stdout] 45 | fn f() { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ex` is never used [INFO] [stdout] --> src/ch_3.rs:49:4 [INFO] [stdout] | [INFO] [stdout] 49 | fn ex() { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `release_and_acquire_ordering` is never used [INFO] [stdout] --> src/ch_3.rs:63:4 [INFO] [stdout] | [INFO] [stdout] 63 | fn release_and_acquire_ordering() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ex_locking` is never used [INFO] [stdout] --> src/ch_3.rs:83:4 [INFO] [stdout] | [INFO] [stdout] 83 | fn ex_locking() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/ch_3.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | DATA.push('!'); [INFO] [stdout] | ^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/ch_3.rs:101:17 [INFO] [stdout] | [INFO] [stdout] 101 | S.push('!'); [INFO] [stdout] | ^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/ch_3.rs:109:17 [INFO] [stdout] | [INFO] [stdout] 109 | S.push('1'); [INFO] [stdout] | ^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/ch_3.rs:116:31 [INFO] [stdout] | [INFO] [stdout] 116 | println!("{:?}", unsafe { S.as_str() }) [INFO] [stdout] | ^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.15s [INFO] running `Command { std: "docker" "inspect" "3965401496b6bdf8f86ae1a280bf6854133e9a4d12588c535e10a8245cdc6f33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3965401496b6bdf8f86ae1a280bf6854133e9a4d12588c535e10a8245cdc6f33", kill_on_drop: false }` [INFO] [stdout] 3965401496b6bdf8f86ae1a280bf6854133e9a4d12588c535e10a8245cdc6f33