[INFO] fetching crate std_io_iterators 1.0.0... [INFO] testing std_io_iterators-1.0.0 against 1.85.0 for beta-1.86-1 [INFO] extracting crate std_io_iterators 1.0.0 into /workspace/builds/worker-5-tc1/source [INFO] validating manifest of crates.io crate std_io_iterators 1.0.0 on toolchain 1.85.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.85.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate std_io_iterators 1.0.0 [INFO] finished tweaking crates.io crate std_io_iterators 1.0.0 [INFO] tweaked toml for crates.io crate std_io_iterators 1.0.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate crates.io crate std_io_iterators 1.0.0 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" "+1.85.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded escargot v0.5.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 52da9156cee3d342ef7963a851dcd351e66a758b9a58a72437b53de65fe7bef2 [INFO] running `Command { std: "docker" "start" "-a" "52da9156cee3d342ef7963a851dcd351e66a758b9a58a72437b53de65fe7bef2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "52da9156cee3d342ef7963a851dcd351e66a758b9a58a72437b53de65fe7bef2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "52da9156cee3d342ef7963a851dcd351e66a758b9a58a72437b53de65fe7bef2", kill_on_drop: false }` [INFO] [stdout] 52da9156cee3d342ef7963a851dcd351e66a758b9a58a72437b53de65fe7bef2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=warn" "-e" "RUSTDOCFLAGS=--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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d55f9457b5501b00e63094828ec1915b8d81c5cc8e327e9945dff6a17158b3fb [INFO] running `Command { std: "docker" "start" "-a" "d55f9457b5501b00e63094828ec1915b8d81c5cc8e327e9945dff6a17158b3fb", kill_on_drop: false }` [INFO] [stderr] Compiling std_io_iterators v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> pipe_in_iterator.rs:103:14 [INFO] [stdout] | [INFO] [stdout] 103 | unsafe { LOCKED.compare_exchange(false, true, Relaxed, Relaxed) } [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] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> pipe_in_iterator.rs:107:14 [INFO] [stdout] | [INFO] [stdout] 107 | unsafe { LOCKED.store(false, Relaxed) } [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: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> pipe_out.rs:210:14 [INFO] [stdout] | [INFO] [stdout] 210 | unsafe { ERROR.load(Relaxed) } [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: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> pipe_out.rs:214:14 [INFO] [stdout] | [INFO] [stdout] 214 | unsafe { ERROR.store(true, Relaxed) } [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: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> pipe_out.rs:221:14 [INFO] [stdout] | [INFO] [stdout] 221 | unsafe { LOCKED.compare_exchange(false, true, Relaxed, Relaxed) } [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: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> pipe_out.rs:225:14 [INFO] [stdout] | [INFO] [stdout] 225 | unsafe { LOCKED.store(false, Relaxed) } [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.29s [INFO] running `Command { std: "docker" "inspect" "d55f9457b5501b00e63094828ec1915b8d81c5cc8e327e9945dff6a17158b3fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d55f9457b5501b00e63094828ec1915b8d81c5cc8e327e9945dff6a17158b3fb", kill_on_drop: false }` [INFO] [stdout] d55f9457b5501b00e63094828ec1915b8d81c5cc8e327e9945dff6a17158b3fb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=warn" "-e" "RUSTDOCFLAGS=--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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4fc083796901b5ed5248614aad58c8a064fa74a9d0b6e8272814f7324bb836f1 [INFO] running `Command { std: "docker" "start" "-a" "4fc083796901b5ed5248614aad58c8a064fa74a9d0b6e8272814f7324bb836f1", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling serde_json v1.0.89 [INFO] [stderr] Compiling ryu v1.0.11 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling escargot v0.5.7 [INFO] [stderr] Compiling itoa v1.0.4 [INFO] [stderr] Compiling yansi v0.5.1 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling once_cell v1.16.0 [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> pipe_in_iterator.rs:103:14 [INFO] [stdout] | [INFO] [stdout] 103 | unsafe { LOCKED.compare_exchange(false, true, Relaxed, Relaxed) } [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] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> pipe_in_iterator.rs:107:14 [INFO] [stdout] | [INFO] [stdout] 107 | unsafe { LOCKED.store(false, Relaxed) } [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: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> pipe_out.rs:210:14 [INFO] [stdout] | [INFO] [stdout] 210 | unsafe { ERROR.load(Relaxed) } [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: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> pipe_out.rs:214:14 [INFO] [stdout] | [INFO] [stdout] 214 | unsafe { ERROR.store(true, Relaxed) } [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: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> pipe_out.rs:221:14 [INFO] [stdout] | [INFO] [stdout] 221 | unsafe { LOCKED.compare_exchange(false, true, Relaxed, Relaxed) } [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: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> pipe_out.rs:225:14 [INFO] [stdout] | [INFO] [stdout] 225 | unsafe { LOCKED.store(false, Relaxed) } [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] Compiling pretty_assertions v1.3.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling std_io_iterators v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> pipe_in_iterator.rs:103:14 [INFO] [stdout] | [INFO] [stdout] 103 | unsafe { LOCKED.compare_exchange(false, true, Relaxed, Relaxed) } [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] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> pipe_in_iterator.rs:107:14 [INFO] [stdout] | [INFO] [stdout] 107 | unsafe { LOCKED.store(false, Relaxed) } [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: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> pipe_in_iterator.rs:115:18 [INFO] [stdout] | [INFO] [stdout] 115 | unsafe { LOCKED.load(Relaxed) } [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: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> pipe_out.rs:210:14 [INFO] [stdout] | [INFO] [stdout] 210 | unsafe { ERROR.load(Relaxed) } [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: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> pipe_out.rs:214:14 [INFO] [stdout] | [INFO] [stdout] 214 | unsafe { ERROR.store(true, Relaxed) } [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: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> pipe_out.rs:221:14 [INFO] [stdout] | [INFO] [stdout] 221 | unsafe { LOCKED.compare_exchange(false, true, Relaxed, Relaxed) } [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: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> pipe_out.rs:225:14 [INFO] [stdout] | [INFO] [stdout] 225 | unsafe { LOCKED.store(false, Relaxed) } [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: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> pipe_out.rs:233:18 [INFO] [stdout] | [INFO] [stdout] 233 | unsafe { LOCKED.load(Relaxed) } [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 `test` profile [unoptimized + debuginfo] target(s) in 14.27s [INFO] running `Command { std: "docker" "inspect" "4fc083796901b5ed5248614aad58c8a064fa74a9d0b6e8272814f7324bb836f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4fc083796901b5ed5248614aad58c8a064fa74a9d0b6e8272814f7324bb836f1", kill_on_drop: false }` [INFO] [stdout] 4fc083796901b5ed5248614aad58c8a064fa74a9d0b6e8272814f7324bb836f1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=warn" "-e" "RUSTDOCFLAGS=--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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d0afe6870ef756256f9bd3f4299c20d46cfc9aedf8f1fab90eec09b2e4398a02 [INFO] running `Command { std: "docker" "start" "-a" "d0afe6870ef756256f9bd3f4299c20d46cfc9aedf8f1fab90eec09b2e4398a02", kill_on_drop: false }` [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> pipe_in_iterator.rs:103:14 [INFO] [stderr] | [INFO] [stderr] 103 | unsafe { LOCKED.compare_exchange(false, true, Relaxed, Relaxed) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> pipe_in_iterator.rs:107:14 [INFO] [stderr] | [INFO] [stderr] 107 | unsafe { LOCKED.store(false, Relaxed) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> pipe_out.rs:210:14 [INFO] [stderr] | [INFO] [stderr] 210 | unsafe { ERROR.load(Relaxed) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> pipe_out.rs:214:14 [INFO] [stderr] | [INFO] [stderr] 214 | unsafe { ERROR.store(true, Relaxed) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> pipe_out.rs:221:14 [INFO] [stderr] | [INFO] [stderr] 221 | unsafe { LOCKED.compare_exchange(false, true, Relaxed, Relaxed) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> pipe_out.rs:225:14 [INFO] [stderr] | [INFO] [stderr] 225 | unsafe { LOCKED.store(false, Relaxed) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: `std_io_iterators` (lib) generated 6 warnings [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> pipe_in_iterator.rs:115:18 [INFO] [stderr] | [INFO] [stderr] 115 | unsafe { LOCKED.load(Relaxed) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> pipe_out.rs:233:18 [INFO] [stderr] | [INFO] [stderr] 233 | unsafe { LOCKED.load(Relaxed) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: `std_io_iterators` (lib test) generated 8 warnings (6 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests lib.rs (/opt/rustwide/target/debug/deps/std_io_iterators-818b561d805c703b) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test pipe_in_iterator::test::test1656796720 ... ok [INFO] [stdout] test pipe_out::test::test1656794821 ... ok [INFO] [stdout] test pipe_out::test::test1656795696 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Running tests/cli.rs (/opt/rustwide/target/debug/deps/cli-1eee80ddc068b316) [INFO] [stdout] running 2 tests [INFO] [stdout] test test1653483581_demo_example ... ok [INFO] [stdout] test test1669403991_pipe_in_and_pipe_out_examples ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.16s [INFO] [stdout] [INFO] [stderr] Doc-tests std_io_iterators [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test pipe_out.rs - pipe_out::PipeOut::pipe_out (line 160) - compile ... ok [INFO] [stdout] test pipe_out_recovered_iterator.rs - pipe_out_recovered_iterator::PipeOutRecoveredIterator (line 19) - compile ... ok [INFO] [stdout] test pipe_in_iterator.rs - pipe_in_iterator::PipeInIterator (line 20) - compile ... ok [INFO] [stdout] test lib.rs - (line 28) - compile ... ok [INFO] [stdout] test pipe_out_recovered_iterator.rs - pipe_out_recovered_iterator::PipeOutRecoveredIterator (line 38) - compile ... ok [INFO] [stdout] test pipe_out_recovered_iterator.rs - pipe_out_recovered_iterator::PipeOutRecoveredIterator::dump_data (line 62) ... ok [INFO] [stdout] test pipe_out_recovered_iterator.rs - pipe_out_recovered_iterator::PipeOutRecoveredIterator::take_recovered_datum (line 103) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.38s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "d0afe6870ef756256f9bd3f4299c20d46cfc9aedf8f1fab90eec09b2e4398a02", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0afe6870ef756256f9bd3f4299c20d46cfc9aedf8f1fab90eec09b2e4398a02", kill_on_drop: false }` [INFO] [stdout] d0afe6870ef756256f9bd3f4299c20d46cfc9aedf8f1fab90eec09b2e4398a02