[INFO] cloning repository https://github.com/jsam/akktor [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jsam/akktor" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjsam%2Fakktor", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjsam%2Fakktor'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1a517d04daef670fb011763e9fbd2c7ce6db4da4 [INFO] checking jsam/akktor against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjsam%2Fakktor" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jsam/akktor on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jsam/akktor [INFO] finished tweaking git repo https://github.com/jsam/akktor [INFO] tweaked toml for git repo https://github.com/jsam/akktor written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/jsam/akktor 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "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-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2cbefb522bb6fc003c1b1c4edcf597963c5f97431e38cacb00fd5f0803331392 [INFO] running `Command { std: "docker" "start" "-a" "2cbefb522bb6fc003c1b1c4edcf597963c5f97431e38cacb00fd5f0803331392", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2cbefb522bb6fc003c1b1c4edcf597963c5f97431e38cacb00fd5f0803331392", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2cbefb522bb6fc003c1b1c4edcf597963c5f97431e38cacb00fd5f0803331392", kill_on_drop: false }` [INFO] [stdout] 2cbefb522bb6fc003c1b1c4edcf597963c5f97431e38cacb00fd5f0803331392 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eb5a5c83eb419c3a20de6dd3340e371b05b5f013da068c492d9a7037f7a7adfc [INFO] running `Command { std: "docker" "start" "-a" "eb5a5c83eb419c3a20de6dd3340e371b05b5f013da068c492d9a7037f7a7adfc", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.146 [INFO] [stderr] Compiling proc-macro2 v1.0.63 [INFO] [stderr] Compiling unicode-ident v1.0.9 [INFO] [stderr] Compiling quote v1.0.28 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Checking smallvec v1.10.0 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling tokio v1.28.2 [INFO] [stderr] Checking bytes v1.4.0 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Compiling syn v2.0.22 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking socket2 v0.4.9 [INFO] [stderr] Checking num_cpus v1.15.0 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Checking akktor v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Identifiable` [INFO] [stdout] --> src/echo.rs:1:35 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{actor::{ActorProcess, Identifiable}, message::Message, context::Context}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DerefMut`, `Deref` [INFO] [stdout] --> src/registry.rs:1:39 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, ops::{DerefMut, Deref}, sync::{Arc, Mutex}}; [INFO] [stdout] | ^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Identifiable` [INFO] [stdout] --> src/echo.rs:1:35 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{actor::{ActorProcess, Identifiable}, message::Message, context::Context}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DerefMut`, `Deref` [INFO] [stdout] --> src/registry.rs:1:39 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, ops::{DerefMut, Deref}, sync::{Arc, Mutex}}; [INFO] [stdout] | ^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/echo.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 18 | fn process(&self, ctx: &mut Context, message: Message) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `message` [INFO] [stdout] --> src/echo.rs:18:48 [INFO] [stdout] | [INFO] [stdout] 18 | fn process(&self, ctx: &mut Context, message: Message) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/registry.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | let mut data = self.data.lock().unwrap(); [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: method `id` is never used [INFO] [stdout] --> src/actor.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait Identifiable { [INFO] [stdout] | ------------ method in this trait [INFO] [stdout] 6 | fn id(&self) -> usize; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `run_loop` is never used [INFO] [stdout] --> src/actor.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub trait ActorLoop [INFO] [stdout] | --------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 19 | fn run_loop(&mut self, process: T); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `COUNTER` is never used [INFO] [stdout] --> src/context.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | static COUNTER: AtomicUsize = AtomicUsize::new(0); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `rt` and `registry` are never read [INFO] [stdout] --> src/context.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Context { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 10 | id: usize, [INFO] [stdout] 11 | rt: Arc, [INFO] [stdout] | ^^ [INFO] [stdout] 12 | registry: Arc, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/context.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl Context { [INFO] [stdout] | -------------------------------- associated function in this implementation [INFO] [stdout] 19 | pub fn new(rt: Arc, registry: Arc, receiver: mpsc::Receiver) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/echo.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct EchoActor { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 6 | id: usize, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/echo.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl EchoActor { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 10 | pub fn new(addr: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Supervisor` is never constructed [INFO] [stdout] --> src/supervisor.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Supervisor { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `run`, and `spawn` are never used [INFO] [stdout] --> src/supervisor.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Supervisor { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 14 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn run(&self) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn spawn(&self, actor: A) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Start`, `Stop`, `Payload`, `Ping`, and `Pong` are never constructed [INFO] [stdout] --> src/message.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum Message { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 4 | Start, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 5 | Stop, [INFO] [stdout] | ^^^^ [INFO] [stdout] 6 | Payload(usize, u8), // (sender name, payload) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 7 | Ping, [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | Pong, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `data` is never read [INFO] [stdout] --> src/registry.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Registry { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 9 | data: Arc>>>>, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `register`, and `get` are never used [INFO] [stdout] --> src/registry.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Registry { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 13 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn register(&self, addr: usize, sender: Box>){ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn get(&self, addr: &usize) -> Option>> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/echo.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 18 | fn process(&self, ctx: &mut Context, message: Message) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `message` [INFO] [stdout] --> src/echo.rs:18:48 [INFO] [stdout] | [INFO] [stdout] 18 | fn process(&self, ctx: &mut Context, message: Message) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/registry.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | let mut data = self.data.lock().unwrap(); [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: fields `rt` and `registry` are never read [INFO] [stdout] --> src/context.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Context { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 10 | id: usize, [INFO] [stdout] 11 | rt: Arc, [INFO] [stdout] | ^^ [INFO] [stdout] 12 | registry: Arc, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/echo.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct EchoActor { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 6 | id: usize, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `run` is never used [INFO] [stdout] --> src/supervisor.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Supervisor { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn run(&self) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/message.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | Payload(usize, u8), // (sender name, payload) [INFO] [stdout] | ------- ^^^^^ ^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 6 | Payload((), ()), // (sender name, payload) [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Start`, `Stop`, `Ping`, and `Pong` are never constructed [INFO] [stdout] --> src/message.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum Message { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 4 | Start, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 5 | Stop, [INFO] [stdout] | ^^^^ [INFO] [stdout] 6 | Payload(usize, u8), // (sender name, payload) [INFO] [stdout] 7 | Ping, [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | Pong, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/supervisor.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | / sender.send( [INFO] [stdout] 68 | | Message::Payload(2, 1) [INFO] [stdout] 69 | | ).await; [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] 67 | let _ = sender.send( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.32s [INFO] running `Command { std: "docker" "inspect" "eb5a5c83eb419c3a20de6dd3340e371b05b5f013da068c492d9a7037f7a7adfc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb5a5c83eb419c3a20de6dd3340e371b05b5f013da068c492d9a7037f7a7adfc", kill_on_drop: false }` [INFO] [stdout] eb5a5c83eb419c3a20de6dd3340e371b05b5f013da068c492d9a7037f7a7adfc [INFO] checking jsam/akktor against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjsam%2Fakktor" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jsam/akktor on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jsam/akktor [INFO] finished tweaking git repo https://github.com/jsam/akktor [INFO] tweaked toml for git repo https://github.com/jsam/akktor written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/jsam/akktor 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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 575f83fcdfe4e3ca4f6778f94d5cf0637fc42c14c48cc1412612899847faac49 [INFO] running `Command { std: "docker" "start" "-a" "575f83fcdfe4e3ca4f6778f94d5cf0637fc42c14c48cc1412612899847faac49", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "575f83fcdfe4e3ca4f6778f94d5cf0637fc42c14c48cc1412612899847faac49", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "575f83fcdfe4e3ca4f6778f94d5cf0637fc42c14c48cc1412612899847faac49", kill_on_drop: false }` [INFO] [stdout] 575f83fcdfe4e3ca4f6778f94d5cf0637fc42c14c48cc1412612899847faac49 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] af8a1e05c41ca9886a0028836cb1fc8ff11bbcc386f36cad72bd82227ed48db8 [INFO] running `Command { std: "docker" "start" "-a" "af8a1e05c41ca9886a0028836cb1fc8ff11bbcc386f36cad72bd82227ed48db8", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.146 [INFO] [stderr] Compiling proc-macro2 v1.0.63 [INFO] [stderr] Compiling quote v1.0.28 [INFO] [stderr] Compiling unicode-ident v1.0.9 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Checking smallvec v1.10.0 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling tokio v1.28.2 [INFO] [stderr] Checking bytes v1.4.0 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Compiling syn v2.0.22 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking socket2 v0.4.9 [INFO] [stderr] Checking num_cpus v1.15.0 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Checking akktor v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Identifiable` [INFO] [stdout] --> src/echo.rs:1:35 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{actor::{ActorProcess, Identifiable}, message::Message, context::Context}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Identifiable` [INFO] [stdout] --> src/echo.rs:1:35 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{actor::{ActorProcess, Identifiable}, message::Message, context::Context}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DerefMut`, `Deref` [INFO] [stdout] --> src/registry.rs:1:39 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, ops::{DerefMut, Deref}, sync::{Arc, Mutex}}; [INFO] [stdout] | ^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DerefMut`, `Deref` [INFO] [stdout] --> src/registry.rs:1:39 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, ops::{DerefMut, Deref}, sync::{Arc, Mutex}}; [INFO] [stdout] | ^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/echo.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 18 | fn process(&self, ctx: &mut Context, message: Message) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `message` [INFO] [stdout] --> src/echo.rs:18:48 [INFO] [stdout] | [INFO] [stdout] 18 | fn process(&self, ctx: &mut Context, message: Message) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/echo.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 18 | fn process(&self, ctx: &mut Context, message: Message) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/registry.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | let mut data = self.data.lock().unwrap(); [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: method `id` is never used [INFO] [stdout] --> src/actor.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait Identifiable { [INFO] [stdout] | ------------ method in this trait [INFO] [stdout] 6 | fn id(&self) -> usize; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `run_loop` is never used [INFO] [stdout] --> src/actor.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub trait ActorLoop [INFO] [stdout] | --------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 19 | fn run_loop(&mut self, process: T); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `COUNTER` is never used [INFO] [stdout] --> src/context.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | static COUNTER: AtomicUsize = AtomicUsize::new(0); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `rt` and `registry` are never read [INFO] [stdout] --> src/context.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Context { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 10 | id: usize, [INFO] [stdout] 11 | rt: Arc, [INFO] [stdout] | ^^ [INFO] [stdout] 12 | registry: Arc, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/context.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl Context { [INFO] [stdout] | -------------------------------- associated function in this implementation [INFO] [stdout] 19 | pub fn new(rt: Arc, registry: Arc, receiver: mpsc::Receiver) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/echo.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct EchoActor { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 6 | id: usize, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/echo.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl EchoActor { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 10 | pub fn new(addr: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Supervisor` is never constructed [INFO] [stdout] --> src/supervisor.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Supervisor { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `run`, and `spawn` are never used [INFO] [stdout] --> src/supervisor.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Supervisor { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 14 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn run(&self) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn spawn(&self, actor: A) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Start`, `Stop`, `Payload`, `Ping`, and `Pong` are never constructed [INFO] [stdout] --> src/message.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum Message { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 4 | Start, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 5 | Stop, [INFO] [stdout] | ^^^^ [INFO] [stdout] 6 | Payload(usize, u8), // (sender name, payload) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 7 | Ping, [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | Pong, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `data` is never read [INFO] [stdout] --> src/registry.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Registry { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 9 | data: Arc>>>>, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `register`, and `get` are never used [INFO] [stdout] --> src/registry.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Registry { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 13 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn register(&self, addr: usize, sender: Box>){ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn get(&self, addr: &usize) -> Option>> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `message` [INFO] [stdout] --> src/echo.rs:18:48 [INFO] [stdout] | [INFO] [stdout] 18 | fn process(&self, ctx: &mut Context, message: Message) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/registry.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | let mut data = self.data.lock().unwrap(); [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: fields `rt` and `registry` are never read [INFO] [stdout] --> src/context.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Context { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 10 | id: usize, [INFO] [stdout] 11 | rt: Arc, [INFO] [stdout] | ^^ [INFO] [stdout] 12 | registry: Arc, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/echo.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct EchoActor { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 6 | id: usize, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `run` is never used [INFO] [stdout] --> src/supervisor.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Supervisor { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn run(&self) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/message.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | Payload(usize, u8), // (sender name, payload) [INFO] [stdout] | ------- ^^^^^ ^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 6 | Payload((), ()), // (sender name, payload) [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Start`, `Stop`, `Ping`, and `Pong` are never constructed [INFO] [stdout] --> src/message.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum Message { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 4 | Start, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 5 | Stop, [INFO] [stdout] | ^^^^ [INFO] [stdout] 6 | Payload(usize, u8), // (sender name, payload) [INFO] [stdout] 7 | Ping, [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | Pong, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/supervisor.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | / sender.send( [INFO] [stdout] 68 | | Message::Payload(2, 1) [INFO] [stdout] 69 | | ).await; [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] 67 | let _ = sender.send( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.80s [INFO] running `Command { std: "docker" "inspect" "af8a1e05c41ca9886a0028836cb1fc8ff11bbcc386f36cad72bd82227ed48db8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af8a1e05c41ca9886a0028836cb1fc8ff11bbcc386f36cad72bd82227ed48db8", kill_on_drop: false }` [INFO] [stdout] af8a1e05c41ca9886a0028836cb1fc8ff11bbcc386f36cad72bd82227ed48db8