[INFO] fetching crate mco 0.1.44... [INFO] checking mco-0.1.44 against master#e4106065bf1bb515935d5d024e8d9c86454e2b22 for pr-112160 [INFO] extracting crate mco 0.1.44 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate mco 0.1.44 on toolchain e4106065bf1bb515935d5d024e8d9c86454e2b22 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e4106065bf1bb515935d5d024e8d9c86454e2b22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate mco 0.1.44 [INFO] finished tweaking crates.io crate mco 0.1.44 [INFO] tweaked toml for crates.io crate mco 0.1.44 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e4106065bf1bb515935d5d024e8d9c86454e2b22" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e4106065bf1bb515935d5d024e8d9c86454e2b22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded mco-gen v0.1.0 [INFO] [stderr] Downloaded nix v0.21.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+e4106065bf1bb515935d5d024e8d9c86454e2b22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0f64b1bfe9a126433f108de5050d19d70f4df8e69f1d013a4cb46f1ec4c55b08 [INFO] running `Command { std: "docker" "start" "-a" "0f64b1bfe9a126433f108de5050d19d70f4df8e69f1d013a4cb46f1ec4c55b08", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0f64b1bfe9a126433f108de5050d19d70f4df8e69f1d013a4cb46f1ec4c55b08", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f64b1bfe9a126433f108de5050d19d70f4df8e69f1d013a4cb46f1ec4c55b08", kill_on_drop: false }` [INFO] [stdout] 0f64b1bfe9a126433f108de5050d19d70f4df8e69f1d013a4cb46f1ec4c55b08 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+e4106065bf1bb515935d5d024e8d9c86454e2b22" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f9e2cdf9b9d9b73d5f5e4d0e8681225ffe87317f1906b3de9e4e66634641a3a7 [INFO] running `Command { std: "docker" "start" "-a" "f9e2cdf9b9d9b73d5f5e4d0e8681225ffe87317f1906b3de9e4e66634641a3a7", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-queue v0.3.8 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling serde v1.0.163 [INFO] [stderr] Compiling mco-gen v0.1.0 [INFO] [stderr] Checking parking_lot_core v0.8.6 [INFO] [stderr] Checking crossbeam-deque v0.8.3 [INFO] [stderr] Checking crossbeam-channel v0.5.8 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Compiling mco v0.1.44 (/opt/rustwide/workdir) [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking nix v0.21.2 [INFO] [stderr] Checking crossbeam v0.8.2 [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stderr] Checking time v0.3.21 [INFO] [stdout] warning: unused import: `smallvec::SmallVec` [INFO] [stdout] --> src/io/sys/unix/epoll.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use smallvec::SmallVec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/std/map/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use btree_map::*; [INFO] [stdout] | ^^^^^^^^^^^^ the name `SyncMapImpl` in the type namespace is first re-exported here [INFO] [stdout] 5 | pub use hash_map::*; [INFO] [stdout] | ----------- but the name `SyncMapImpl` in the type namespace is also re-exported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/std/map/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use btree_map::*; [INFO] [stdout] | ^^^^^^^^^^^^ the name `change_lifetime_const` in the value namespace is first re-exported here [INFO] [stdout] 5 | pub use hash_map::*; [INFO] [stdout] | ----------- but the name `change_lifetime_const` in the value namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/std/map/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use btree_map::*; [INFO] [stdout] | ^^^^^^^^^^^^ the name `change_lifetime_mut` in the value namespace is first re-exported here [INFO] [stdout] 5 | pub use hash_map::*; [INFO] [stdout] | ----------- but the name `change_lifetime_mut` in the value namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/std/map/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use btree_map::*; [INFO] [stdout] | ^^^^^^^^^^^^ the name `SyncMapRefMut` in the type namespace is first re-exported here [INFO] [stdout] 5 | pub use hash_map::*; [INFO] [stdout] | ----------- but the name `SyncMapRefMut` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/std/map/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use btree_map::*; [INFO] [stdout] | ^^^^^^^^^^^^ the name `Iter` in the type namespace is first re-exported here [INFO] [stdout] 5 | pub use hash_map::*; [INFO] [stdout] | ----------- but the name `Iter` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/std/map/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use btree_map::*; [INFO] [stdout] | ^^^^^^^^^^^^ the name `IterMut` in the type namespace is first re-exported here [INFO] [stdout] 5 | pub use hash_map::*; [INFO] [stdout] | ----------- but the name `IterMut` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `smallvec::SmallVec` [INFO] [stdout] --> src/io/sys/unix/epoll.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use smallvec::SmallVec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `defer` [INFO] [stdout] --> src/std/sync/once.rs:56:23 [INFO] [stdout] | [INFO] [stdout] 56 | use crate::{chan, defer}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TryStream` [INFO] [stdout] --> src/std/io/stream_chan.rs:46:38 [INFO] [stdout] | [INFO] [stdout] 46 | use crate::std::io::{ChanStream, TryStream}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::ControlFlow` [INFO] [stdout] --> src/std/io/stream_chan.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | use std::ops::ControlFlow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::BTreeMap` [INFO] [stdout] --> src/std/map/btree_map.rs:446:9 [INFO] [stdout] | [INFO] [stdout] 446 | use std::collections::BTreeMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::atomic::Ordering` [INFO] [stdout] --> src/std/map/btree_map.rs:448:9 [INFO] [stdout] | [INFO] [stdout] 448 | use std::sync::atomic::Ordering; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::sleep` [INFO] [stdout] --> src/std/map/hash_map.rs:458:9 [INFO] [stdout] | [INFO] [stdout] 458 | use crate::sleep; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/std/map/hash_map.rs:461:9 [INFO] [stdout] | [INFO] [stdout] 461 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::atomic::Ordering` [INFO] [stdout] --> src/std/map/hash_map.rs:463:9 [INFO] [stdout] | [INFO] [stdout] 463 | use std::sync::atomic::Ordering; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/std/map/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use btree_map::*; [INFO] [stdout] | ^^^^^^^^^^^^ the name `SyncMapImpl` in the type namespace is first re-exported here [INFO] [stdout] 5 | pub use hash_map::*; [INFO] [stdout] | ----------- but the name `SyncMapImpl` in the type namespace is also re-exported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/std/map/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use btree_map::*; [INFO] [stdout] | ^^^^^^^^^^^^ the name `change_lifetime_const` in the value namespace is first re-exported here [INFO] [stdout] 5 | pub use hash_map::*; [INFO] [stdout] | ----------- but the name `change_lifetime_const` in the value namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/std/map/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use btree_map::*; [INFO] [stdout] | ^^^^^^^^^^^^ the name `change_lifetime_mut` in the value namespace is first re-exported here [INFO] [stdout] 5 | pub use hash_map::*; [INFO] [stdout] | ----------- but the name `change_lifetime_mut` in the value namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/std/map/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use btree_map::*; [INFO] [stdout] | ^^^^^^^^^^^^ the name `SyncMapRefMut` in the type namespace is first re-exported here [INFO] [stdout] 5 | pub use hash_map::*; [INFO] [stdout] | ----------- but the name `SyncMapRefMut` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/std/map/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use btree_map::*; [INFO] [stdout] | ^^^^^^^^^^^^ the name `Iter` in the type namespace is first re-exported here [INFO] [stdout] 5 | pub use hash_map::*; [INFO] [stdout] | ----------- but the name `Iter` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/std/map/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use btree_map::*; [INFO] [stdout] | ^^^^^^^^^^^^ the name `IterMut` in the type namespace is first re-exported here [INFO] [stdout] 5 | pub use hash_map::*; [INFO] [stdout] | ----------- but the name `IterMut` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::sleep` [INFO] [stdout] --> src/std/vec/mod.rs:406:9 [INFO] [stdout] | [INFO] [stdout] 406 | use crate::sleep; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> src/std/vec/mod.rs:409:9 [INFO] [stdout] | [INFO] [stdout] 409 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::atomic::Ordering` [INFO] [stdout] --> src/std/vec/mod.rs:410:9 [INFO] [stdout] | [INFO] [stdout] 410 | use std::sync::atomic::Ordering; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate-level attribute should be in the root module [INFO] [stdout] --> src/io/sys/unix/co_io.rs:236:5 [INFO] [stdout] | [INFO] [stdout] 236 | #![feature(test)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate-level attribute should be in the root module [INFO] [stdout] --> src/std/queue/mod.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | #![cfg_attr(all(nightly, test), feature(test))] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate-level attribute should be in the root module [INFO] [stdout] --> src/std/queue/mpsc_list.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 120 | #![feature(test)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate-level attribute should be in the root module [INFO] [stdout] --> src/std/queue/mpsc_list_v1.rs:349:5 [INFO] [stdout] | [INFO] [stdout] 349 | #![feature(test)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate-level attribute should be in the root module [INFO] [stdout] --> src/std/sync/condvar.rs:198:5 [INFO] [stdout] | [INFO] [stdout] 198 | #![feature(test)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate-level attribute should be in the root module [INFO] [stdout] --> src/std/sync/mutex.rs:250:5 [INFO] [stdout] | [INFO] [stdout] 250 | #![feature(test)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate-level attribute should be in the root module [INFO] [stdout] --> src/std/sync/rwlock.rs:326:5 [INFO] [stdout] | [INFO] [stdout] 326 | #![feature(test)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate-level attribute should be in the root module [INFO] [stdout] --> src/std/sync/semphore.rs:174:5 [INFO] [stdout] | [INFO] [stdout] 174 | #![feature(test)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate-level attribute should be in the root module [INFO] [stdout] --> src/std/sync/sync_flag.rs:155:5 [INFO] [stdout] | [INFO] [stdout] 155 | #![feature(test)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ret` [INFO] [stdout] --> src/io/sys/unix/epoll.rs:163:13 [INFO] [stdout] | [INFO] [stdout] 163 | let ret = write(unsafe { self.vec.get_unchecked(id) }.evfd, buf); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/std/blocking/mod.rs:74:13 [INFO] [stdout] | [INFO] [stdout] 73 | panic!("e"); [INFO] [stdout] | ----------- any code following this expression is unreachable [INFO] [stdout] 74 | return 1; [INFO] [stdout] | ^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ret` [INFO] [stdout] --> src/io/sys/unix/epoll.rs:163:13 [INFO] [stdout] | [INFO] [stdout] 163 | let ret = write(unsafe { self.vec.get_unchecked(id) }.evfd, buf); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&AtomicCell>` instead of borrowing the inner type [INFO] [stdout] --> src/std/sync/atomic_option.rs:55:32 [INFO] [stdout] | [INFO] [stdout] 55 | unsafe { (&(*self.inner.borrow().as_ptr())).is_none() } [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&AtomicCell>` instead of borrowing the inner type [INFO] [stdout] --> src/std/sync/atomic_option.rs:60:32 [INFO] [stdout] | [INFO] [stdout] 60 | unsafe { (&(*self.inner.borrow().as_ptr())).is_some() } [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&AtomicCell>` instead of borrowing the inner type [INFO] [stdout] --> src/std/sync/atomic_option.rs:65:37 [INFO] [stdout] | [INFO] [stdout] 65 | match unsafe { &(*self.inner.borrow().as_ptr()) } { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> tests/channel.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | s1.send(1); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 16 | let _ = s1.send(1); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> tests/channel.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | s1.send(1); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 30 | let _ = s1.send(1); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/std/sync/once.rs:97:13 [INFO] [stdout] | [INFO] [stdout] 97 | for i in 0..n { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/std/sync/once.rs:107:13 [INFO] [stdout] | [INFO] [stdout] 107 | for i in 0..n { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> tests/lib.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | unsafe { j.coroutine().cancel() }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> tests/lib.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | unsafe { j.coroutine().cancel() }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/std/io/stream_chan.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | let mut c = ChanStream { recv: r, send: s }; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/std/io/stream_chan.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | let mut c = ChanStream { recv: r, send: s }; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/std/time/tick.rs:122:13 [INFO] [stdout] | [INFO] [stdout] 122 | let mut t = Arc::new(Ticker::new(Duration::from_secs(1))); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/std/time/time.rs:566:13 [INFO] [stdout] | [INFO] [stdout] 566 | let mut now = Time::now(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `insert` [INFO] [stdout] --> src/std/map/btree_map.rs:487:21 [INFO] [stdout] | [INFO] [stdout] 487 | let insert = m1.insert(1, 2); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_insert` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `insert` [INFO] [stdout] --> src/std/map/btree_map.rs:492:21 [INFO] [stdout] | [INFO] [stdout] 492 | let insert = m2.insert(1, 2); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_insert` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `insert` [INFO] [stdout] --> src/std/map/btree_map.rs:502:13 [INFO] [stdout] | [INFO] [stdout] 502 | let insert = m.insert(1, 2); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_insert` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `insert` [INFO] [stdout] --> src/std/map/btree_map.rs:510:13 [INFO] [stdout] | [INFO] [stdout] 510 | let insert = m.insert(1, 2); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_insert` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `insert` [INFO] [stdout] --> src/std/map/btree_map.rs:520:13 [INFO] [stdout] | [INFO] [stdout] 520 | let insert = m.insert(1, 2); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_insert` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `insert` [INFO] [stdout] --> src/std/map/hash_map.rs:511:21 [INFO] [stdout] | [INFO] [stdout] 511 | let insert = m1.insert(1, 2); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_insert` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `insert` [INFO] [stdout] --> src/std/map/hash_map.rs:516:21 [INFO] [stdout] | [INFO] [stdout] 516 | let insert = m2.insert(1, 2); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_insert` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `insert` [INFO] [stdout] --> src/std/map/hash_map.rs:535:25 [INFO] [stdout] | [INFO] [stdout] 535 | let insert = m1.insert(i, i); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_insert` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `insert` [INFO] [stdout] --> src/std/map/hash_map.rs:542:25 [INFO] [stdout] | [INFO] [stdout] 542 | let insert = m2.insert(i, i); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_insert` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `insert` [INFO] [stdout] --> src/std/map/hash_map.rs:553:13 [INFO] [stdout] | [INFO] [stdout] 553 | let insert = m.insert(1, 2); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_insert` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `insert` [INFO] [stdout] --> src/std/map/hash_map.rs:573:13 [INFO] [stdout] | [INFO] [stdout] 573 | let insert = m.insert(1, a); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_insert` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `insert` [INFO] [stdout] --> src/std/map/hash_map.rs:610:13 [INFO] [stdout] | [INFO] [stdout] 610 | let insert = m.insert(1, 2); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_insert` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `insert` [INFO] [stdout] --> src/std/map/hash_map.rs:620:13 [INFO] [stdout] | [INFO] [stdout] 620 | let insert = m.insert(1, 2); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_insert` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `insert` [INFO] [stdout] --> src/std/map/hash_map.rs:638:21 [INFO] [stdout] | [INFO] [stdout] 638 | let insert = m.insert(i, i); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_insert` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `insert` [INFO] [stdout] --> src/std/map/hash_map.rs:664:21 [INFO] [stdout] | [INFO] [stdout] 664 | let insert = m.insert(i, i); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_insert` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `g` [INFO] [stdout] --> src/std/map/hash_map.rs:673:21 [INFO] [stdout] | [INFO] [stdout] 673 | let g = m2.remove(&i); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `insert` [INFO] [stdout] --> src/std/vec/mod.rs:458:21 [INFO] [stdout] | [INFO] [stdout] 458 | let insert = m1.push(2); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_insert` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `insert` [INFO] [stdout] --> src/std/vec/mod.rs:463:21 [INFO] [stdout] | [INFO] [stdout] 463 | let insert = m2.push(2); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_insert` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `insert` [INFO] [stdout] --> src/std/vec/mod.rs:482:25 [INFO] [stdout] | [INFO] [stdout] 482 | let insert = m1.push(i); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_insert` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `insert` [INFO] [stdout] --> src/std/vec/mod.rs:489:25 [INFO] [stdout] | [INFO] [stdout] 489 | let insert = m2.push(i); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_insert` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `insert` [INFO] [stdout] --> src/std/vec/mod.rs:500:13 [INFO] [stdout] | [INFO] [stdout] 500 | let insert = m.push(2); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_insert` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `insert` [INFO] [stdout] --> src/std/vec/mod.rs:520:13 [INFO] [stdout] | [INFO] [stdout] 520 | let insert = m.push(a); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_insert` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/std/vec/mod.rs:534:13 [INFO] [stdout] | [INFO] [stdout] 534 | for i in 0..1000000 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/std/vec/mod.rs:543:13 [INFO] [stdout] | [INFO] [stdout] 543 | for i in 0..1000000 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `insert` [INFO] [stdout] --> src/std/vec/mod.rs:557:13 [INFO] [stdout] | [INFO] [stdout] 557 | let insert = m.push(2); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_insert` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `insert` [INFO] [stdout] --> src/std/vec/mod.rs:566:13 [INFO] [stdout] | [INFO] [stdout] 566 | let insert = m.push(2); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_insert` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/std/sync/condvar.rs:346:13 [INFO] [stdout] | [INFO] [stdout] 346 | unsafe { vec[i].coroutine().cancel() }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/std/sync/mutex.rs:523:9 [INFO] [stdout] | [INFO] [stdout] 523 | unsafe { h1.coroutine().cancel() }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/std/sync/mutex.rs:564:9 [INFO] [stdout] | [INFO] [stdout] 564 | unsafe { h1.coroutine().cancel() }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/std/sync/rwlock.rs:634:9 [INFO] [stdout] | [INFO] [stdout] 634 | unsafe { vec[cancel_id - 1].coroutine().cancel() }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/std/sync/rwlock.rs:684:9 [INFO] [stdout] | [INFO] [stdout] 684 | unsafe { h.coroutine().cancel() }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/std/sync/semphore.rs:260:9 [INFO] [stdout] | [INFO] [stdout] 260 | unsafe { h1.coroutine().cancel() }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/std/sync/sync_flag.rs:199:9 [INFO] [stdout] | [INFO] [stdout] 199 | unsafe { h1.coroutine().cancel() }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/std/queue/array_queue.rs:481:9 [INFO] [stdout] | [INFO] [stdout] 481 | q.push(1); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 481 | let _ = q.push(1); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/std/queue/array_queue.rs:482:9 [INFO] [stdout] | [INFO] [stdout] 482 | q.push(2); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 482 | let _ = q.push(2); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/std/queue/array_queue.rs:483:9 [INFO] [stdout] | [INFO] [stdout] 483 | q.push(3); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 483 | let _ = q.push(3); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&AtomicCell>` instead of borrowing the inner type [INFO] [stdout] --> src/std/sync/atomic_option.rs:55:32 [INFO] [stdout] | [INFO] [stdout] 55 | unsafe { (&(*self.inner.borrow().as_ptr())).is_none() } [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&AtomicCell>` instead of borrowing the inner type [INFO] [stdout] --> src/std/sync/atomic_option.rs:60:32 [INFO] [stdout] | [INFO] [stdout] 60 | unsafe { (&(*self.inner.borrow().as_ptr())).is_some() } [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&AtomicCell>` instead of borrowing the inner type [INFO] [stdout] --> src/std/sync/atomic_option.rs:65:37 [INFO] [stdout] | [INFO] [stdout] 65 | match unsafe { &(*self.inner.borrow().as_ptr()) } { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/std/sync/condvar.rs:211:9 [INFO] [stdout] | [INFO] [stdout] 211 | c.notify_one(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 211 | let _ = c.notify_one(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/std/sync/condvar.rs:212:9 [INFO] [stdout] | [INFO] [stdout] 212 | c.notify_all(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 212 | let _ = c.notify_all(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/std/sync/condvar.rs:225:13 [INFO] [stdout] | [INFO] [stdout] 225 | c2.notify_one(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 225 | let _ = c2.notify_one(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/std/sync/condvar.rs:260:9 [INFO] [stdout] | [INFO] [stdout] 260 | cond.notify_all(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 260 | let _ = cond.notify_all(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/std/sync/condvar.rs:280:13 [INFO] [stdout] | [INFO] [stdout] 280 | c2.notify_one(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 280 | let _ = c2.notify_one(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/std/sync/condvar.rs:300:13 [INFO] [stdout] | [INFO] [stdout] 300 | c2.notify_one(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 300 | let _ = c2.notify_one(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/std/sync/condvar.rs:357:9 [INFO] [stdout] | [INFO] [stdout] 357 | cond.notify_all(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 357 | let _ = cond.notify_all(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/std/sync/mutex.rs:393:13 [INFO] [stdout] | [INFO] [stdout] 393 | cvar.notify_one(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 393 | let _ = cvar.notify_one(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/std/sync/mutex.rs:415:13 [INFO] [stdout] | [INFO] [stdout] 415 | cvar.notify_one(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 415 | let _ = cvar.notify_one(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/std/sync/once.rs:83:20 [INFO] [stdout] | [INFO] [stdout] 83 | panic!(format!("once failed inside run: {} is not 1", o.value())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 83 - panic!(format!("once failed inside run: {} is not 1", o.value())); [INFO] [stdout] 83 + panic!("once failed inside run: {} is not 1", o.value()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/std/sync/once.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | s.send(true); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 85 | let _ = s.send(true); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/std/sync/once.rs:108:13 [INFO] [stdout] | [INFO] [stdout] 108 | r.recv(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 108 | let _ = r.recv(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/std/sync/once.rs:111:20 [INFO] [stdout] | [INFO] [stdout] 111 | panic!(format!("once failed outside run: {} is not 1", one.value())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 111 - panic!(format!("once failed outside run: {} is not 1", one.value())); [INFO] [stdout] 111 + panic!("once failed outside run: {} is not 1", one.value()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/std/sync/once.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 118 | / catch_unwind(|| { [INFO] [stdout] 119 | | once.r#do(|| { [INFO] [stdout] 120 | | panic!("failed"); [INFO] [stdout] 121 | | }); [INFO] [stdout] 122 | | }); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 118 | let _ = catch_unwind(|| { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/std/sync/rwlock.rs:641:13 [INFO] [stdout] | [INFO] [stdout] 641 | cond.notify_all(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 641 | let _ = cond.notify_all(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/std/sync/channel.rs:456:13 [INFO] [stdout] | [INFO] [stdout] 456 | tx.send(1); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 456 | let _ = tx.send(1); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/std/sync/channel.rs:459:13 [INFO] [stdout] | [INFO] [stdout] 459 | tx.send(2); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 459 | let _ = tx.send(2); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/std/io/stream_chan.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | s.send(Some(Ok(1))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 53 | let _ = s.send(Some(Ok(1))); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/std/io/stream_chan.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | s.send(None); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 54 | let _ = s.send(None); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/std/io/stream_chan.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | s.send(Some(Ok(1))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 64 | let _ = s.send(Some(Ok(1))); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/std/io/stream_chan.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | s.send(None); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 65 | let _ = s.send(None); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/std/time/tick.rs:130:9 [INFO] [stdout] | [INFO] [stdout] 130 | t.stop(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 130 | let _ = t.stop(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 96 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 12.12s [INFO] running `Command { std: "docker" "inspect" "f9e2cdf9b9d9b73d5f5e4d0e8681225ffe87317f1906b3de9e4e66634641a3a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f9e2cdf9b9d9b73d5f5e4d0e8681225ffe87317f1906b3de9e4e66634641a3a7", kill_on_drop: false }` [INFO] [stdout] f9e2cdf9b9d9b73d5f5e4d0e8681225ffe87317f1906b3de9e4e66634641a3a7