[INFO] cloning repository https://github.com/Pascal-So/protohackers [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Pascal-So/protohackers" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPascal-So%2Fprotohackers", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPascal-So%2Fprotohackers'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d1fbbdd6a79ae99c8740509102a9a12bd6f0437b [INFO] building Pascal-So/protohackers against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPascal-So%2Fprotohackers" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Pascal-So/protohackers [INFO] finished tweaking git repo https://github.com/Pascal-So/protohackers [INFO] tweaked toml for git repo https://github.com/Pascal-So/protohackers written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Pascal-So/protohackers on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Pascal-So/protohackers 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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0b761ee5d2bb940b4d917a414dc096cfeb750418e7dd5517379c717f6a2a300b [INFO] running `Command { std: "docker" "start" "-a" "0b761ee5d2bb940b4d917a414dc096cfeb750418e7dd5517379c717f6a2a300b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0b761ee5d2bb940b4d917a414dc096cfeb750418e7dd5517379c717f6a2a300b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b761ee5d2bb940b4d917a414dc096cfeb750418e7dd5517379c717f6a2a300b", kill_on_drop: false }` [INFO] [stdout] 0b761ee5d2bb940b4d917a414dc096cfeb750418e7dd5517379c717f6a2a300b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9d07dc27e6052444c8ce2d7820b96204c13921bf1c9799092cfe5546716d57b4 [INFO] running `Command { std: "docker" "start" "-a" "9d07dc27e6052444c8ce2d7820b96204c13921bf1c9799092cfe5546716d57b4", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.88 [INFO] [stderr] Compiling unicode-ident v1.0.5 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling hashbrown v0.15.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling smallvec v1.10.0 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling syn v1.0.103 [INFO] [stderr] Compiling winnow v0.6.20 [INFO] [stderr] Compiling parking_lot_core v0.9.4 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling serde v1.0.214 [INFO] [stderr] Compiling rustversion v1.0.18 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling tokio v1.21.2 [INFO] [stderr] Compiling anyhow v1.0.90 [INFO] [stderr] Compiling serde_json v1.0.87 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling thiserror v1.0.65 [INFO] [stderr] Compiling bitvec v1.0.1 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling mio v0.8.5 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling indexmap v2.6.0 [INFO] [stderr] Compiling aho-corasick v0.7.19 [INFO] [stderr] Compiling no_std_io2 v0.8.1 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling socket2 v0.4.7 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling bytes v1.2.1 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling itoa v1.0.4 [INFO] [stderr] Compiling ryu v1.0.11 [INFO] [stderr] Compiling syn v2.0.82 [INFO] [stderr] Compiling log-panics v2.1.0 [INFO] [stderr] Compiling regex v1.6.0 [INFO] [stderr] Compiling toml_edit v0.22.22 [INFO] [stderr] Compiling env_logger v0.9.1 [INFO] [stderr] Compiling is_prime v2.0.9 [INFO] [stderr] Compiling proc-macro-crate v3.2.0 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling thiserror-impl v1.0.65 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling deku_derive v0.18.1 [INFO] [stderr] Compiling deku v0.18.1 [INFO] [stderr] Compiling protohackers v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `self::tcp::JobCentre` [INFO] [stdout] --> src/t09_job_centre/mod.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub use self::tcp::JobCentre; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tcp::VcsServer` [INFO] [stdout] --> src/t10_voracious_code_storage/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use tcp::VcsServer; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/t08_insecure_sockets_layer.rs:252:9 [INFO] [stdout] | [INFO] [stdout] 195 | / loop { [INFO] [stdout] 196 | | let mut byte_buf = vec![0]; [INFO] [stdout] 197 | | if let Err(e) = reader.read_exact(&mut byte_buf) { [INFO] [stdout] 198 | | if e.kind() == io::ErrorKind::UnexpectedEof { [INFO] [stdout] ... | [INFO] [stdout] 250 | | } [INFO] [stdout] | |_________- any code following this expression is unreachable [INFO] [stdout] 251 | [INFO] [stdout] 252 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/main.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 46 | return; [INFO] [stdout] | ------ any code following this expression is unreachable [INFO] [stdout] 47 | [INFO] [stdout] 48 | let shutdown = ShutdownController::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shutdown` [INFO] [stdout] --> src/main.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | let shutdown = ShutdownController::new(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shutdown` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `task_done_sender` is never read [INFO] [stdout] --> src/shutdown.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct ShutdownToken { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 2 | task_done_sender: tokio::sync::mpsc::Sender<()>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Error` is never used [INFO] [stdout] --> src/t09_job_centre/mod.rs:11:6 [INFO] [stdout] | [INFO] [stdout] 11 | enum Error { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Entry` is never constructed [INFO] [stdout] --> src/t09_job_centre/job_server.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | struct Entry { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `JobServer` is never constructed [INFO] [stdout] --> src/t09_job_centre/job_server.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct JobServer { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/t09_job_centre/job_server.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl JobServer { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 23 | pub fn new() -> JobServer { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn put(&self, queue: String, job: Value, priority: i64) -> i64 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn get_nonblocking(&self, queues: &[String], client_id: i32) -> Response { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn get_blocking(&self, queues: &[String], client_id: i32) -> Response { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn abort(&self, job_id: i64, client_id: i32) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | pub fn delete(&self, job_id: i64) -> Response { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | pub fn client_disconnect(&self, client_id: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_job` is never used [INFO] [stdout] --> src/t09_job_centre/job_server.rs:122:4 [INFO] [stdout] | [INFO] [stdout] 122 | fn get_job(entries: &mut Vec, queues: &[String], client_id: i32) -> Response { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Response` is never used [INFO] [stdout] --> src/t09_job_centre/messages.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Response { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_json` is never used [INFO] [stdout] --> src/t09_job_centre/messages.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl Response { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 19 | pub fn to_json(&self) -> Value { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Request` is never used [INFO] [stdout] --> src/t09_job_centre/messages.rs:65:10 [INFO] [stdout] | [INFO] [stdout] 65 | pub enum Request { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_json` is never used [INFO] [stdout] --> src/t09_job_centre/messages.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 83 | impl Request { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 102 | pub fn from_json(val: &Value) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `JobCentre` is never constructed [INFO] [stdout] --> src/t09_job_centre/tcp.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct JobCentre { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `process_line`, and `handle_disconnect` are never used [INFO] [stdout] --> src/t09_job_centre/tcp.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl JobCentre { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 20 | pub fn new() -> JobCentre { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | fn process_line(&self, line: String, client_id: i32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | fn handle_disconnect(&self, client_id: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Message` is never used [INFO] [stdout] --> src/t04_unusual_database_program.rs:8:6 [INFO] [stdout] | [INFO] [stdout] 8 | enum Message<'a> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Storage` is never constructed [INFO] [stdout] --> src/t10_voracious_code_storage/storage.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Storage { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Data` is never used [INFO] [stdout] --> src/t10_voracious_code_storage/storage.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | pub type Data = Vec; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DirName` is never constructed [INFO] [stdout] --> src/t10_voracious_code_storage/storage.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct DirName { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FileName` is never constructed [INFO] [stdout] --> src/t10_voracious_code_storage/storage.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct FileName { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Revision` is never constructed [INFO] [stdout] --> src/t10_voracious_code_storage/storage.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct Revision(Option); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ListingEntry` is never used [INFO] [stdout] --> src/t10_voracious_code_storage/storage.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | pub enum ListingEntry { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `StorageError` is never used [INFO] [stdout] --> src/t10_voracious_code_storage/storage.rs:34:10 [INFO] [stdout] | [INFO] [stdout] 34 | pub enum StorageError { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get`, `put`, and `list` are never used [INFO] [stdout] --> src/t10_voracious_code_storage/storage.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 40 | impl Storage { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 41 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn get( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn put(&self, file_name: FileName, data: Vec) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn list(&self, dir_name: &DirName) -> Vec { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `VALID_NAME_CHARS` is never used [INFO] [stdout] --> src/t10_voracious_code_storage/storage.rs:113:7 [INFO] [stdout] | [INFO] [stdout] 113 | const VALID_NAME_CHARS: &[u8] = [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/t10_voracious_code_storage/storage.rs:117:12 [INFO] [stdout] | [INFO] [stdout] 116 | impl DirName { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 117 | pub fn new(name: &[u8]) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `is_direct_child`, and `get_immediate_child_dir_of` are never used [INFO] [stdout] --> src/t10_voracious_code_storage/storage.rs:152:12 [INFO] [stdout] | [INFO] [stdout] 151 | impl FileName { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 152 | pub fn new(name: &[u8]) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 180 | pub fn is_direct_child(&self, dir: &DirName) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 184 | pub fn get_immediate_child_dir_of( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `from_index`, and `index` are never used [INFO] [stdout] --> src/t10_voracious_code_storage/storage.rs:204:12 [INFO] [stdout] | [INFO] [stdout] 203 | impl Revision { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 204 | pub fn new(revision: &[u8]) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 228 | pub fn from_index(index: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 232 | pub fn index(&self) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_file` and `name` are never used [INFO] [stdout] --> src/t10_voracious_code_storage/storage.rs:247:12 [INFO] [stdout] | [INFO] [stdout] 246 | impl ListingEntry { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 247 | pub fn from_file(file: &FileName, revision: Revision) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 254 | fn name(&self) -> &[u8] { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Vcs` is never constructed [INFO] [stdout] --> src/t10_voracious_code_storage/vcs.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Vcs { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `session` are never used [INFO] [stdout] --> src/t10_voracious_code_storage/vcs.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Vcs { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 13 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn session( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Method` is never used [INFO] [stdout] --> src/t10_voracious_code_storage/vcs.rs:75:6 [INFO] [stdout] | [INFO] [stdout] 75 | enum Method { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_message` is never used [INFO] [stdout] --> src/t04_unusual_database_program.rs:13:4 [INFO] [stdout] | [INFO] [stdout] 13 | fn parse_message<'a>(msg: &'a [u8]) -> Message<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `server` is never used [INFO] [stdout] --> src/t04_unusual_database_program.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 21 | pub async fn server(port: u16, mut shutdown_token: ShutdownToken) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TONY` is never used [INFO] [stdout] --> src/t05_mob_in_the_middle.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | const TONY: &str = "7YWHMfk9JZe0LM0g1ZauHuiSxhI"; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SERVER` is never used [INFO] [stdout] --> src/t05_mob_in_the_middle.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | const SERVER: &str = "chat.protohackers.com:16963"; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `REGEX` is never used [INFO] [stdout] --> src/t05_mob_in_the_middle.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | const REGEX: &str = "7[[:alnum:]]{25,34}"; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `replace` is never used [INFO] [stdout] --> src/t05_mob_in_the_middle.rs:17:4 [INFO] [stdout] | [INFO] [stdout] 17 | fn replace<'a>(input: &'a str, regex: &Regex) -> Cow<'a, str> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_connection` is never used [INFO] [stdout] --> src/t05_mob_in_the_middle.rs:56:14 [INFO] [stdout] | [INFO] [stdout] 56 | pub async fn handle_connection( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SESSION_EXPIRY_TIMEOUT` is never used [INFO] [stdout] --> src/t07_line_reversal.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | const SESSION_EXPIRY_TIMEOUT: Duration = Duration::from_secs(60); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RETRANSMISSION_TIMEOUT` is never used [INFO] [stdout] --> src/t07_line_reversal.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | const RETRANSMISSION_TIMEOUT: Duration = Duration::from_secs(1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_MESSAGE_LEN` is never used [INFO] [stdout] --> src/t07_line_reversal.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | const MAX_MESSAGE_LEN: usize = 1000; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SessionId` is never constructed [INFO] [stdout] --> src/t07_line_reversal.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | struct SessionId(i32); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `slash_escape` is never used [INFO] [stdout] --> src/t07_line_reversal.rs:26:4 [INFO] [stdout] | [INFO] [stdout] 26 | fn slash_escape(input: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `slash_unescape` is never used [INFO] [stdout] --> src/t07_line_reversal.rs:30:4 [INFO] [stdout] | [INFO] [stdout] 30 | fn slash_unescape(input: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `LRCPMessage` is never used [INFO] [stdout] --> src/t07_line_reversal.rs:36:6 [INFO] [stdout] | [INFO] [stdout] 36 | enum LRCPMessage { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `parse` and `serialize` are never used [INFO] [stdout] --> src/t07_line_reversal.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 43 | impl LRCPMessage { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 44 | pub fn parse(input: &str) -> Option<(SessionId, LRCPMessage)> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | fn serialize(&self, session_id: SessionId) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_lrcp_session` is never used [INFO] [stdout] --> src/t07_line_reversal.rs:110:10 [INFO] [stdout] | [INFO] [stdout] 110 | async fn handle_lrcp_session( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `server` is never used [INFO] [stdout] --> src/t07_line_reversal.rs:256:14 [INFO] [stdout] | [INFO] [stdout] 256 | pub async fn server(port: u16) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Op` is never used [INFO] [stdout] --> src/t08_insecure_sockets_layer.rs:25:6 [INFO] [stdout] | [INFO] [stdout] 25 | enum Op { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/t08_insecure_sockets_layer.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 38 | impl Op { [INFO] [stdout] | ------- associated items in this implementation [INFO] [stdout] 39 | pub fn apply(&self, mut input: u8, pos: usize) -> u8 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn unapply(&self, input: u8, pos: usize) -> u8 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn apply_list(list: &[Self], input: u8, pos: usize) -> u8 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn unapply_list(list: &[Self], input: u8, pos: usize) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn compact_list(list: &[Self]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn is_identity_list_exhaustive(list: &[Self]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | pub fn is_identity_list_fast(list: &[Self]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_ops` is never used [INFO] [stdout] --> src/t08_insecure_sockets_layer.rs:151:4 [INFO] [stdout] | [INFO] [stdout] 151 | fn parse_ops(mut stream: impl io::Read) -> io::Result> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ISLServer` is never constructed [INFO] [stdout] --> src/t08_insecure_sockets_layer.rs:177:12 [INFO] [stdout] | [INFO] [stdout] 177 | pub struct ISLServer; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Response` is never used [INFO] [stdout] --> src/t10_voracious_code_storage/vcs.rs:91:6 [INFO] [stdout] | [INFO] [stdout] 91 | enum Response { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Error` is never used [INFO] [stdout] --> src/t10_voracious_code_storage/vcs.rs:99:6 [INFO] [stdout] | [INFO] [stdout] 99 | enum Error { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `read` is never used [INFO] [stdout] --> src/t10_voracious_code_storage/vcs.rs:119:8 [INFO] [stdout] | [INFO] [stdout] 118 | impl Method { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 119 | fn read(reader: &mut impl BufRead) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `write` is never used [INFO] [stdout] --> src/t10_voracious_code_storage/vcs.rs:181:8 [INFO] [stdout] | [INFO] [stdout] 180 | impl Error { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 181 | fn write(&self, writer: &mut impl Write) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `write` is never used [INFO] [stdout] --> src/t10_voracious_code_storage/vcs.rs:207:8 [INFO] [stdout] | [INFO] [stdout] 206 | impl Response { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] 207 | fn write(&self, writer: &mut impl Write) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VcsServer` is never constructed [INFO] [stdout] --> src/t10_voracious_code_storage/tcp.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct VcsServer { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/t10_voracious_code_storage/tcp.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl VcsServer { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 13 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EchoServer` is never constructed [INFO] [stdout] --> src/t00_smoke_test.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | struct EchoServer; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_number` is never used [INFO] [stdout] --> src/t01_prime_time.rs:17:4 [INFO] [stdout] | [INFO] [stdout] 17 | fn get_number(val: &Value) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_line` is never used [INFO] [stdout] --> src/t01_prime_time.rs:37:4 [INFO] [stdout] | [INFO] [stdout] 37 | fn handle_line(line: &str, client_id: i32) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_connection` is never used [INFO] [stdout] --> src/t01_prime_time.rs:57:14 [INFO] [stdout] | [INFO] [stdout] 57 | pub async fn handle_connection( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_connection` is never used [INFO] [stdout] --> src/t02_means_to_an_end.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | pub async fn handle_connection( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 39.82s [INFO] running `Command { std: "docker" "inspect" "9d07dc27e6052444c8ce2d7820b96204c13921bf1c9799092cfe5546716d57b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d07dc27e6052444c8ce2d7820b96204c13921bf1c9799092cfe5546716d57b4", kill_on_drop: false }` [INFO] [stdout] 9d07dc27e6052444c8ce2d7820b96204c13921bf1c9799092cfe5546716d57b4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e1ece951a3a025556b707e85ff37b9f862504c21748493d137fb05e27b0a4b5e [INFO] running `Command { std: "docker" "start" "-a" "e1ece951a3a025556b707e85ff37b9f862504c21748493d137fb05e27b0a4b5e", kill_on_drop: false }` [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Compiling syn v2.0.82 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling fastrand v2.1.1 [INFO] [stderr] Compiling wait-timeout v0.2.0 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling unarray v0.1.4 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling rand_xorshift v0.3.0 [INFO] [stderr] Compiling tempfile v3.10.1 [INFO] [stderr] Compiling rusty-fork v0.3.0 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling is_prime v2.0.9 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling thiserror-impl v1.0.65 [INFO] [stderr] Compiling proptest-derive v0.5.0 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling thiserror v1.0.65 [INFO] [stderr] Compiling deku_derive v0.18.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling deku v0.18.1 [INFO] [stderr] Compiling proptest v1.5.0 [INFO] [stderr] Compiling protohackers v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `self::tcp::JobCentre` [INFO] [stdout] --> src/t09_job_centre/mod.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub use self::tcp::JobCentre; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tcp::VcsServer` [INFO] [stdout] --> src/t10_voracious_code_storage/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use tcp::VcsServer; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/t08_insecure_sockets_layer.rs:252:9 [INFO] [stdout] | [INFO] [stdout] 195 | / loop { [INFO] [stdout] 196 | | let mut byte_buf = vec![0]; [INFO] [stdout] 197 | | if let Err(e) = reader.read_exact(&mut byte_buf) { [INFO] [stdout] 198 | | if e.kind() == io::ErrorKind::UnexpectedEof { [INFO] [stdout] ... | [INFO] [stdout] 250 | | } [INFO] [stdout] | |_________- any code following this expression is unreachable [INFO] [stdout] 251 | [INFO] [stdout] 252 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/main.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 46 | return; [INFO] [stdout] | ------ any code following this expression is unreachable [INFO] [stdout] 47 | [INFO] [stdout] 48 | let shutdown = ShutdownController::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shutdown` [INFO] [stdout] --> src/main.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | let shutdown = ShutdownController::new(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shutdown` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `task_done_sender` is never read [INFO] [stdout] --> src/shutdown.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct ShutdownToken { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 2 | task_done_sender: tokio::sync::mpsc::Sender<()>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Message` is never used [INFO] [stdout] --> src/t04_unusual_database_program.rs:8:6 [INFO] [stdout] | [INFO] [stdout] 8 | enum Message<'a> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_connection` is never used [INFO] [stdout] --> src/t01_prime_time.rs:57:14 [INFO] [stdout] | [INFO] [stdout] 57 | pub async fn handle_connection( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `server` is never used [INFO] [stdout] --> src/t07_line_reversal.rs:256:14 [INFO] [stdout] | [INFO] [stdout] 256 | pub async fn server(port: u16) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_message` is never used [INFO] [stdout] --> src/t04_unusual_database_program.rs:13:4 [INFO] [stdout] | [INFO] [stdout] 13 | fn parse_message<'a>(msg: &'a [u8]) -> Message<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `server` is never used [INFO] [stdout] --> src/t04_unusual_database_program.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 21 | pub async fn server(port: u16, mut shutdown_token: ShutdownToken) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SERVER` is never used [INFO] [stdout] --> src/t05_mob_in_the_middle.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | const SERVER: &str = "chat.protohackers.com:16963"; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_connection` is never used [INFO] [stdout] --> src/t05_mob_in_the_middle.rs:56:14 [INFO] [stdout] | [INFO] [stdout] 56 | pub async fn handle_connection( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_connection` is never used [INFO] [stdout] --> src/t02_means_to_an_end.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | pub async fn handle_connection( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 29.80s [INFO] running `Command { std: "docker" "inspect" "e1ece951a3a025556b707e85ff37b9f862504c21748493d137fb05e27b0a4b5e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1ece951a3a025556b707e85ff37b9f862504c21748493d137fb05e27b0a4b5e", kill_on_drop: false }` [INFO] [stdout] e1ece951a3a025556b707e85ff37b9f862504c21748493d137fb05e27b0a4b5e