[INFO] cloning repository https://github.com/tony612/rust-by-example [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tony612/rust-by-example" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftony612%2Frust-by-example", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftony612%2Frust-by-example'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 12770c03945679fc114a5ef5accc51c6ecc0e8f9 [INFO] checking tony612/rust-by-example against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftony612%2Frust-by-example" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tony612/rust-by-example on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/tony612/rust-by-example [INFO] finished tweaking git repo https://github.com/tony612/rust-by-example [INFO] tweaked toml for git repo https://github.com/tony612/rust-by-example written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/tony612/rust-by-example already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "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-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] db939fff271b6ec4ce2b764794e7248ae458013c972f7d14ff3ae1252e35341a [INFO] running `Command { std: "docker" "start" "-a" "db939fff271b6ec4ce2b764794e7248ae458013c972f7d14ff3ae1252e35341a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "db939fff271b6ec4ce2b764794e7248ae458013c972f7d14ff3ae1252e35341a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db939fff271b6ec4ce2b764794e7248ae458013c972f7d14ff3ae1252e35341a", kill_on_drop: false }` [INFO] [stdout] db939fff271b6ec4ce2b764794e7248ae458013c972f7d14ff3ae1252e35341a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4f219fa8dea8fe21cd4fcb6db4d315c138ced17ad1377be4754f9f00edc70759 [INFO] running `Command { std: "docker" "start" "-a" "4f219fa8dea8fe21cd4fcb6db4d315c138ced17ad1377be4754f9f00edc70759", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] note: Switching to Edition 2021 will enable the use of the version 2 feature resolver in Cargo. [INFO] [stderr] This may cause some dependencies to be built with fewer features enabled than previously. [INFO] [stderr] More information about the resolver changes may be found at https://doc.rust-lang.org/nightly/edition-guide/rust-2021/default-cargo-resolver.html [INFO] [stderr] When building the following dependencies, the given features will no longer be used: [INFO] [stderr] [INFO] [stderr] tokio v1.6.1: winapi [INFO] [stderr] [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling anyhow v1.0.40 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Compiling tokio v1.6.1 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking mio v0.7.11 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling tokio-macros v1.2.0 [INFO] [stderr] Checking rust-by-example v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stdout] warning: function is never used: `longest` [INFO] [stdout] --> src/lifetime/function.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn longest<'a>(s1: &'a String, s2: &'a String) -> &'a String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `pick_first` [INFO] [stdout] --> src/lifetime/function.rs:18:4 [INFO] [stdout] | [INFO] [stdout] 18 | fn pick_first<'a>(s1: &'a String, _s2: &String) -> &'a String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `MyStruct` [INFO] [stdout] --> src/lifetime/method.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct MyStruct {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `empty` [INFO] [stdout] --> src/lifetime/method.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn empty(&self, _msg: &str) -> &str { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `msg` [INFO] [stdout] --> src/lifetime/method.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | fn msg<'a>(&self, msg: &'a str) -> &'a str { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `MyStruct` [INFO] [stdout] --> src/lifetime/struct.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct MyStruct<'a> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `empty` [INFO] [stdout] --> src/lifetime/struct.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | fn empty(&self, _msg: &str) -> &str { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `msg` [INFO] [stdout] --> src/lifetime/struct.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | fn msg<'b>(&self, msg: &'b str) -> &'b str { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `hygiene` [INFO] [stdout] --> src/macro/hygiene.rs:8:4 [INFO] [stdout] | [INFO] [stdout] 8 | fn hygiene() -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `across_scope` [INFO] [stdout] --> src/macro/hygiene.rs:22:4 [INFO] [stdout] | [INFO] [stdout] 22 | fn across_scope() -> usize { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `ref_mut` [INFO] [stdout] --> src/pattern_match/ref.rs:2:4 [INFO] [stdout] | [INFO] [stdout] 2 | fn ref_mut(mut s: Option<&str>) -> Option<&str> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `ref_mut2` [INFO] [stdout] --> src/pattern_match/ref.rs:12:4 [INFO] [stdout] | [INFO] [stdout] 12 | fn ref_mut2(mut s: Option<&str>) -> Option<&str> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `ref_mut3` [INFO] [stdout] --> src/pattern_match/ref.rs:20:4 [INFO] [stdout] | [INFO] [stdout] 20 | fn ref_mut3(s: Option<&str>) -> Option<&str> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `and_mut` [INFO] [stdout] --> src/pattern_match/ref.rs:35:4 [INFO] [stdout] | [INFO] [stdout] 35 | fn and_mut(input: Option<&mut Foo>) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/pointer/cell.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new(value: T) -> Cell { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/pointer/rc.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | fn new(value: T) -> Rc { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Shared` [INFO] [stdout] --> src/pointer/refcell.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | Shared(usize), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Exclusive` [INFO] [stdout] --> src/pointer/refcell.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | Exclusive, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/pointer/refcell.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | fn new(value: T) -> RefCell { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `borrow` [INFO] [stdout] --> src/pointer/refcell.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | fn borrow(&self) -> Option> [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `borrow_mut` [INFO] [stdout] --> src/pointer/refcell.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 45 | fn borrow_mut(&self) -> Option> [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `send` [INFO] [stdout] --> src/sync/mpsc.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | fn send(&self, v: T) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Receiver` [INFO] [stdout] --> src/sync/mpsc.rs:66:8 [INFO] [stdout] | [INFO] [stdout] 66 | struct Receiver { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `recv` [INFO] [stdout] --> src/sync/mpsc.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | fn recv(&mut self) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `queue` [INFO] [stdout] --> src/sync/mpsc.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 96 | queue: VecDeque, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `channel` [INFO] [stdout] --> src/sync/mpsc.rs:105:4 [INFO] [stdout] | [INFO] [stdout] 105 | fn channel() -> (Sender, Receiver) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `data` [INFO] [stdout] --> src/tokio/actor.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | data: Request, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `sender` [INFO] [stdout] --> src/tokio/actor.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | sender: oneshot::Sender, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `spawn` [INFO] [stdout] --> src/tokio/actor.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn spawn(mut actor: A, mailbox: usize) -> Pid [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `send` [INFO] [stdout] --> src/tokio/actor.rs:41:18 [INFO] [stdout] | [INFO] [stdout] 41 | pub async fn send(&self, data: Request) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `watch` [INFO] [stdout] --> src/tokio/watch.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | async fn watch() -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 31 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 18.96s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Compiling tokio v1.6.1 [INFO] [stderr] Checking rust-by-example v0.1.0 (/tmp/fixit) [INFO] [stdout] warning: function is never used: `longest` [INFO] [stdout] --> src/lifetime/function.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn longest<'a>(s1: &'a String, s2: &'a String) -> &'a String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `pick_first` [INFO] [stdout] --> src/lifetime/function.rs:18:4 [INFO] [stdout] | [INFO] [stdout] 18 | fn pick_first<'a>(s1: &'a String, _s2: &String) -> &'a String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `MyStruct` [INFO] [stdout] --> src/lifetime/method.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct MyStruct {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `empty` [INFO] [stdout] --> src/lifetime/method.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | fn empty(&self, _msg: &str) -> &str { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `msg` [INFO] [stdout] --> src/lifetime/method.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | fn msg<'a>(&self, msg: &'a str) -> &'a str { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `MyStruct` [INFO] [stdout] --> src/lifetime/struct.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct MyStruct<'a> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `empty` [INFO] [stdout] --> src/lifetime/struct.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | fn empty(&self, _msg: &str) -> &str { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `msg` [INFO] [stdout] --> src/lifetime/struct.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | fn msg<'b>(&self, msg: &'b str) -> &'b str { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `hygiene` [INFO] [stdout] --> src/macro/hygiene.rs:8:4 [INFO] [stdout] | [INFO] [stdout] 8 | fn hygiene() -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `across_scope` [INFO] [stdout] --> src/macro/hygiene.rs:22:4 [INFO] [stdout] | [INFO] [stdout] 22 | fn across_scope() -> usize { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `ref_mut` [INFO] [stdout] --> src/pattern_match/ref.rs:2:4 [INFO] [stdout] | [INFO] [stdout] 2 | fn ref_mut(mut s: Option<&str>) -> Option<&str> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `ref_mut2` [INFO] [stdout] --> src/pattern_match/ref.rs:12:4 [INFO] [stdout] | [INFO] [stdout] 12 | fn ref_mut2(mut s: Option<&str>) -> Option<&str> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `ref_mut3` [INFO] [stdout] --> src/pattern_match/ref.rs:20:4 [INFO] [stdout] | [INFO] [stdout] 20 | fn ref_mut3(s: Option<&str>) -> Option<&str> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `and_mut` [INFO] [stdout] --> src/pattern_match/ref.rs:35:4 [INFO] [stdout] | [INFO] [stdout] 35 | fn and_mut(input: Option<&mut Foo>) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/pointer/cell.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new(value: T) -> Cell { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/pointer/rc.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | fn new(value: T) -> Rc { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Shared` [INFO] [stdout] --> src/pointer/refcell.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | Shared(usize), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Exclusive` [INFO] [stdout] --> src/pointer/refcell.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | Exclusive, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/pointer/refcell.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | fn new(value: T) -> RefCell { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `borrow` [INFO] [stdout] --> src/pointer/refcell.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | fn borrow(&self) -> Option> [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `borrow_mut` [INFO] [stdout] --> src/pointer/refcell.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 45 | fn borrow_mut(&self) -> Option> [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `send` [INFO] [stdout] --> src/sync/mpsc.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | fn send(&self, v: T) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Receiver` [INFO] [stdout] --> src/sync/mpsc.rs:66:8 [INFO] [stdout] | [INFO] [stdout] 66 | struct Receiver { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `recv` [INFO] [stdout] --> src/sync/mpsc.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | fn recv(&mut self) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `queue` [INFO] [stdout] --> src/sync/mpsc.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 96 | queue: VecDeque, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `channel` [INFO] [stdout] --> src/sync/mpsc.rs:105:4 [INFO] [stdout] | [INFO] [stdout] 105 | fn channel() -> (Sender, Receiver) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `data` [INFO] [stdout] --> src/tokio/actor.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | data: Request, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `sender` [INFO] [stdout] --> src/tokio/actor.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | sender: oneshot::Sender, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `spawn` [INFO] [stdout] --> src/tokio/actor.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn spawn(mut actor: A, mailbox: usize) -> Pid [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `send` [INFO] [stdout] --> src/tokio/actor.rs:41:18 [INFO] [stdout] | [INFO] [stdout] 41 | pub async fn send(&self, data: Request) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `watch` [INFO] [stdout] --> src/tokio/watch.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | async fn watch() -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 31 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5.73s [INFO] running `Command { std: "docker" "inspect" "4f219fa8dea8fe21cd4fcb6db4d315c138ced17ad1377be4754f9f00edc70759", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f219fa8dea8fe21cd4fcb6db4d315c138ced17ad1377be4754f9f00edc70759", kill_on_drop: false }` [INFO] [stdout] 4f219fa8dea8fe21cd4fcb6db4d315c138ced17ad1377be4754f9f00edc70759