[INFO] cloning repository https://github.com/suaviloquence/parrot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/suaviloquence/parrot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsuaviloquence%2Fparrot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsuaviloquence%2Fparrot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] df7e9d632d6fdc549f7ad09edeb8214ae9d61a6b [INFO] checking suaviloquence/parrot against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsuaviloquence%2Fparrot" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/suaviloquence/parrot on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/suaviloquence/parrot [INFO] finished tweaking git repo https://github.com/suaviloquence/parrot [INFO] tweaked toml for git repo https://github.com/suaviloquence/parrot written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 2 packages [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 104e09aed13590626436cb62ddd6eeef5c5859fbf9d64bc16a27e37a7cd267bb [INFO] running `Command { std: "docker" "start" "-a" "104e09aed13590626436cb62ddd6eeef5c5859fbf9d64bc16a27e37a7cd267bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "104e09aed13590626436cb62ddd6eeef5c5859fbf9d64bc16a27e37a7cd267bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "104e09aed13590626436cb62ddd6eeef5c5859fbf9d64bc16a27e37a7cd267bb", kill_on_drop: false }` [INFO] [stdout] 104e09aed13590626436cb62ddd6eeef5c5859fbf9d64bc16a27e37a7cd267bb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 738e8c511446e234a622c23a35bf4c1b56f4236a803bc423bcb2b74521dfe9be [INFO] running `Command { std: "docker" "start" "-a" "738e8c511446e234a622c23a35bf4c1b56f4236a803bc423bcb2b74521dfe9be", kill_on_drop: false }` [INFO] [stderr] Checking sha1_smol v1.0.0 [INFO] [stderr] Checking parrot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `decode::*` [INFO] [stdout] --> src/bencode/mod.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub use decode::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mock_stream::*` [INFO] [stdout] --> src/test/mod.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub use mock_stream::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/main.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | mod test; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TrackerEvent` [INFO] [stdout] --> src/tracker/mod.rs:8:27 [INFO] [stdout] | [INFO] [stdout] 8 | pub use tracker_request::{TrackerEvent, TrackerRequest}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MockStream` [INFO] [stdout] --> src/test/mock_stream.rs:60:34 [INFO] [stdout] | [INFO] [stdout] 60 | pub use test::{assert_stream_eq, MockStream}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `QueryString` is imported redundantly [INFO] [stdout] --> src/tracker/tracker_request.rs:152:6 [INFO] [stdout] | [INFO] [stdout] 151 | use super::*; [INFO] [stdout] | -------- the item `QueryString` is already imported here [INFO] [stdout] 152 | use crate::tracker::QueryString; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TrackerEvent` [INFO] [stdout] --> src/tracker/mod.rs:8:27 [INFO] [stdout] | [INFO] [stdout] 8 | pub use tracker_request::{TrackerEvent, TrackerRequest}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `to_dec_digit` is never used [INFO] [stdout] --> src/bencode/decode.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn to_dec_digit(byte: u8) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decode_iter` is never used [INFO] [stdout] --> src/bencode/decode.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn decode_iter(bytes: &mut impl Iterator) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decode` is never used [INFO] [stdout] --> src/bencode/decode.rs:134:8 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn decode(data: impl Into>) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `try_decode_from` is never used [INFO] [stdout] --> src/bencode/decode.rs:138:8 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn try_decode_from, D: Into>>( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `to_string` and `to_alphanumeric_or_hex` are never used [INFO] [stdout] --> src/bytes.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait BytesExt { [INFO] [stdout] | -------- methods in this trait [INFO] [stdout] 2 | fn to_hex_string(&self) -> String; [INFO] [stdout] 3 | fn to_string(&self) -> String; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 4 | fn to_alphanumeric_or_hex(&self) -> String; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `url_encode` is never used [INFO] [stdout] --> src/tracker/query_string.rs:42:4 [INFO] [stdout] | [INFO] [stdout] 42 | fn url_encode(s: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `encode` is never used [INFO] [stdout] --> src/tracker/query_string.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn encode(data: QueryString) -> Vec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_alphanumeric_or_hex` is never used [INFO] [stdout] --> src/bytes.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait BytesExt { [INFO] [stdout] | -------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 4 | fn to_alphanumeric_or_hex(&self) -> String; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.53s [INFO] running `Command { std: "docker" "inspect" "738e8c511446e234a622c23a35bf4c1b56f4236a803bc423bcb2b74521dfe9be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "738e8c511446e234a622c23a35bf4c1b56f4236a803bc423bcb2b74521dfe9be", kill_on_drop: false }` [INFO] [stdout] 738e8c511446e234a622c23a35bf4c1b56f4236a803bc423bcb2b74521dfe9be [INFO] checking suaviloquence/parrot against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsuaviloquence%2Fparrot" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/suaviloquence/parrot on toolchain 36dbcaee1a55543dfc181be52a69d99ff46ff62f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/suaviloquence/parrot [INFO] finished tweaking git repo https://github.com/suaviloquence/parrot [INFO] tweaked toml for git repo https://github.com/suaviloquence/parrot written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] deacaf7a94a4bc36ead698e6ef6db86931a6394edf35c157430bca7fdcfa0595 [INFO] running `Command { std: "docker" "start" "-a" "deacaf7a94a4bc36ead698e6ef6db86931a6394edf35c157430bca7fdcfa0595", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "deacaf7a94a4bc36ead698e6ef6db86931a6394edf35c157430bca7fdcfa0595", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "deacaf7a94a4bc36ead698e6ef6db86931a6394edf35c157430bca7fdcfa0595", kill_on_drop: false }` [INFO] [stdout] deacaf7a94a4bc36ead698e6ef6db86931a6394edf35c157430bca7fdcfa0595 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2f5c681cb072f5cfd3d0501576cbfd6fece6644702267745e477f6350463f70f [INFO] running `Command { std: "docker" "start" "-a" "2f5c681cb072f5cfd3d0501576cbfd6fece6644702267745e477f6350463f70f", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Checking sha1_smol v1.0.0 [INFO] [stderr] Checking parrot v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/test/mock_stream.rs (1 fix) [INFO] [stderr] Fixed src/tracker/mod.rs (1 fix) [INFO] [stdout] warning: the item `QueryString` is imported redundantly [INFO] [stdout] --> src/tracker/tracker_request.rs:152:6 [INFO] [stdout] | [INFO] [stdout] 151 | use super::*; [INFO] [stdout] | -------- the item `QueryString` is already imported here [INFO] [stdout] 152 | use crate::tracker::QueryString; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_alphanumeric_or_hex` is never used [INFO] [stdout] --> src/bytes.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait BytesExt { [INFO] [stdout] | -------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 4 | fn to_alphanumeric_or_hex(&self) -> String; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed src/bencode/mod.rs (1 fix) [INFO] [stderr] Fixed src/test/mod.rs (1 fix) [INFO] [stdout] warning: function `to_dec_digit` is never used [INFO] [stdout] --> src/bencode/decode.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn to_dec_digit(byte: u8) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decode_iter` is never used [INFO] [stdout] --> src/bencode/decode.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn decode_iter(bytes: &mut impl Iterator) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decode` is never used [INFO] [stdout] --> src/bencode/decode.rs:134:8 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn decode(data: impl Into>) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `try_decode_from` is never used [INFO] [stdout] --> src/bencode/decode.rs:138:8 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn try_decode_from, D: Into>>( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `to_string` and `to_alphanumeric_or_hex` are never used [INFO] [stdout] --> src/bytes.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait BytesExt { [INFO] [stdout] | -------- methods in this trait [INFO] [stdout] 2 | fn to_hex_string(&self) -> String; [INFO] [stdout] 3 | fn to_string(&self) -> String; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 4 | fn to_alphanumeric_or_hex(&self) -> String; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `url_encode` is never used [INFO] [stdout] --> src/tracker/query_string.rs:42:4 [INFO] [stdout] | [INFO] [stdout] 42 | fn url_encode(s: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `encode` is never used [INFO] [stdout] --> src/tracker/query_string.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn encode(data: QueryString) -> Vec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.36s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking parrot v0.1.0 (/tmp/fixit) [INFO] [stdout] error[E0432]: unresolved import `crate::test::assert_stream_eq` [INFO] [stdout] --> src/peer/peer.rs:104:30 [INFO] [stdout] | [INFO] [stdout] 104 | use crate::{config::Config, test::assert_stream_eq}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ no `assert_stream_eq` in `test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::test::assert_stream_eq` [INFO] [stdout] --> src/tracker/server.rs:148:36 [INFO] [stdout] | [INFO] [stdout] 148 | use crate::{config::Config, peer, test::assert_stream_eq}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ no `assert_stream_eq` in `test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `assert_decode` in this scope [INFO] [stdout] --> src/bencode/decode.rs:150:3 [INFO] [stdout] | [INFO] [stdout] 150 | assert_decode("i3e", 3 as i64); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 146 + use crate::bencode::decode::assert_decode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `assert_decode` in this scope [INFO] [stdout] --> src/bencode/decode.rs:151:3 [INFO] [stdout] | [INFO] [stdout] 151 | assert_decode("i3e", 3 as u64); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 146 + use crate::bencode::decode::assert_decode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `assert_decode` in this scope [INFO] [stdout] --> src/bencode/decode.rs:152:3 [INFO] [stdout] | [INFO] [stdout] 152 | assert_decode(format!("i{}e", u64::MAX), u64::MAX); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 146 + use crate::bencode::decode::assert_decode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `assert_decode` in this scope [INFO] [stdout] --> src/bencode/decode.rs:153:3 [INFO] [stdout] | [INFO] [stdout] 153 | assert_decode(format!("i{}e", i64::MAX), i64::MAX); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 146 + use crate::bencode::decode::assert_decode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `assert_decode` in this scope [INFO] [stdout] --> src/bencode/decode.rs:154:3 [INFO] [stdout] | [INFO] [stdout] 154 | assert_decode(format!("i{}e", i64::MIN), i64::MIN); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 146 + use crate::bencode::decode::assert_decode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `assert_decode` in this scope [INFO] [stdout] --> src/bencode/decode.rs:155:3 [INFO] [stdout] | [INFO] [stdout] 155 | assert_decode("i-3e", -3 as i64); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 146 + use crate::bencode::decode::assert_decode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `assert_decode` in this scope [INFO] [stdout] --> src/bencode/decode.rs:156:3 [INFO] [stdout] | [INFO] [stdout] 156 | assert_decode("i0e", 0 as i64); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 146 + use crate::bencode::decode::assert_decode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `assert_decode_err` in this scope [INFO] [stdout] --> src/bencode/decode.rs:159:3 [INFO] [stdout] | [INFO] [stdout] 159 | assert_decode_err("ie"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 146 + use crate::bencode::decode::assert_decode_err; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `assert_decode_err` in this scope [INFO] [stdout] --> src/bencode/decode.rs:162:3 [INFO] [stdout] | [INFO] [stdout] 162 | assert_decode_err("i-e"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 146 + use crate::bencode::decode::assert_decode_err; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `assert_decode_err` in this scope [INFO] [stdout] --> src/bencode/decode.rs:165:3 [INFO] [stdout] | [INFO] [stdout] 165 | assert_decode_err("i1-e"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 146 + use crate::bencode::decode::assert_decode_err; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `assert_decode` in this scope [INFO] [stdout] --> src/bencode/decode.rs:170:3 [INFO] [stdout] | [INFO] [stdout] 170 | assert_decode("4:four", "four"); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 146 + use crate::bencode::decode::assert_decode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `assert_decode` in this scope [INFO] [stdout] --> src/bencode/decode.rs:171:3 [INFO] [stdout] | [INFO] [stdout] 171 | assert_decode("0:", ""); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 146 + use crate::bencode::decode::assert_decode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `assert_decode_err` in this scope [INFO] [stdout] --> src/bencode/decode.rs:174:3 [INFO] [stdout] | [INFO] [stdout] 174 | assert_decode_err("4:123"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 146 + use crate::bencode::decode::assert_decode_err; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `assert_decode_err` in this scope [INFO] [stdout] --> src/bencode/decode.rs:177:3 [INFO] [stdout] | [INFO] [stdout] 177 | assert_decode_err("4x:1234"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 146 + use crate::bencode::decode::assert_decode_err; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `assert_decode` in this scope [INFO] [stdout] --> src/bencode/decode.rs:181:3 [INFO] [stdout] | [INFO] [stdout] 181 | assert_decode("l4:spam4:eggse", vec!["spam", "eggs"]); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 146 + use crate::bencode::decode::assert_decode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `assert_decode` in this scope [INFO] [stdout] --> src/bencode/decode.rs:182:3 [INFO] [stdout] | [INFO] [stdout] 182 | assert_decode("le", Vec::::new()); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 146 + use crate::bencode::decode::assert_decode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `assert_decode_err` in this scope [INFO] [stdout] --> src/bencode/decode.rs:185:3 [INFO] [stdout] | [INFO] [stdout] 185 | assert_decode_err("lle"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 146 + use crate::bencode::decode::assert_decode_err; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `assert_decode_err` in this scope [INFO] [stdout] --> src/bencode/decode.rs:188:3 [INFO] [stdout] | [INFO] [stdout] 188 | assert_decode_err("l4:eeee"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 146 + use crate::bencode::decode::assert_decode_err; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `assert_decode_err` in this scope [INFO] [stdout] --> src/bencode/decode.rs:191:3 [INFO] [stdout] | [INFO] [stdout] 191 | assert_decode_err("l0:a0:e"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 146 + use crate::bencode::decode::assert_decode_err; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `assert_decode` in this scope [INFO] [stdout] --> src/bencode/decode.rs:196:3 [INFO] [stdout] | [INFO] [stdout] 196 | assert_decode( [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 146 + use crate::bencode::decode::assert_decode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `assert_decode` in this scope [INFO] [stdout] --> src/bencode/decode.rs:201:3 [INFO] [stdout] | [INFO] [stdout] 201 | assert_decode( [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 146 + use crate::bencode::decode::assert_decode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `assert_decode` in this scope [INFO] [stdout] --> src/bencode/decode.rs:206:3 [INFO] [stdout] | [INFO] [stdout] 206 | assert_decode( [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 146 + use crate::bencode::decode::assert_decode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `assert_decode` in this scope [INFO] [stdout] --> src/bencode/decode.rs:215:3 [INFO] [stdout] | [INFO] [stdout] 215 | assert_decode("de", Dictionary::new()); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 146 + use crate::bencode::decode::assert_decode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `assert_decode_err` in this scope [INFO] [stdout] --> src/bencode/decode.rs:218:3 [INFO] [stdout] | [INFO] [stdout] 218 | assert_decode_err("dde"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 146 + use crate::bencode::decode::assert_decode_err; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `assert_decode_err` in this scope [INFO] [stdout] --> src/bencode/decode.rs:221:3 [INFO] [stdout] | [INFO] [stdout] 221 | assert_decode_err("d1:a3:dup1:a3:nooe"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 146 + use crate::bencode::decode::assert_decode_err; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `assert_decode_err` in this scope [INFO] [stdout] --> src/bencode/decode.rs:224:3 [INFO] [stdout] | [INFO] [stdout] 224 | assert_decode_err("di2e3:vale"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 146 + use crate::bencode::decode::assert_decode_err; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `assert_decode_err` in this scope [INFO] [stdout] --> src/bencode/decode.rs:227:3 [INFO] [stdout] | [INFO] [stdout] 227 | assert_decode_err("d0:a0:e"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 146 + use crate::bencode::decode::assert_decode_err; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `try_decode_from` in this scope [INFO] [stdout] --> src/metainfo/file.rs:74:4 [INFO] [stdout] | [INFO] [stdout] 74 | try_decode_from("d6:lengthi40e4:pathl2:202:30ee"), [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: function `crate::bencode::decode::try_decode_from` exists but is inaccessible [INFO] [stdout] --> src/bencode/decode.rs:138:1 [INFO] [stdout] | [INFO] [stdout] 138 | / pub fn try_decode_from, D: Into>>( [INFO] [stdout] 139 | | data: D, [INFO] [stdout] 140 | | ) -> Result, DataParseError> { [INFO] [stdout] 141 | | Ok(decode(data)?.try_into()) [INFO] [stdout] 142 | | } [INFO] [stdout] | |_^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `try_decode_from` in this scope [INFO] [stdout] --> src/metainfo/file.rs:83:4 [INFO] [stdout] | [INFO] [stdout] 83 | try_decode_from( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: function `crate::bencode::decode::try_decode_from` exists but is inaccessible [INFO] [stdout] --> src/bencode/decode.rs:138:1 [INFO] [stdout] | [INFO] [stdout] 138 | / pub fn try_decode_from, D: Into>>( [INFO] [stdout] 139 | | data: D, [INFO] [stdout] 140 | | ) -> Result, DataParseError> { [INFO] [stdout] 141 | | Ok(decode(data)?.try_into()) [INFO] [stdout] 142 | | } [INFO] [stdout] | |_^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `try_decode_from` in this scope [INFO] [stdout] --> src/metainfo/file.rs:97:11 [INFO] [stdout] | [INFO] [stdout] 97 | assert!(try_decode_from::( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: function `crate::bencode::decode::try_decode_from` exists but is inaccessible [INFO] [stdout] --> src/bencode/decode.rs:138:1 [INFO] [stdout] | [INFO] [stdout] 138 | / pub fn try_decode_from, D: Into>>( [INFO] [stdout] 139 | | data: D, [INFO] [stdout] 140 | | ) -> Result, DataParseError> { [INFO] [stdout] 141 | | Ok(decode(data)?.try_into()) [INFO] [stdout] 142 | | } [INFO] [stdout] | |_^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `try_decode_from` in this scope [INFO] [stdout] --> src/metainfo/file.rs:104:11 [INFO] [stdout] | [INFO] [stdout] 104 | assert!(try_decode_from::("de").unwrap().is_err()); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: function `crate::bencode::decode::try_decode_from` exists but is inaccessible [INFO] [stdout] --> src/bencode/decode.rs:138:1 [INFO] [stdout] | [INFO] [stdout] 138 | / pub fn try_decode_from, D: Into>>( [INFO] [stdout] 139 | | data: D, [INFO] [stdout] 140 | | ) -> Result, DataParseError> { [INFO] [stdout] 141 | | Ok(decode(data)?.try_into()) [INFO] [stdout] 142 | | } [INFO] [stdout] | |_^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `try_decode_from` in this scope [INFO] [stdout] --> src/metainfo/file_info.rs:132:4 [INFO] [stdout] | [INFO] [stdout] 132 | try_decode_from("d6:lengthi5e4:name9:cats.jpege"), [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: function `crate::bencode::decode::try_decode_from` exists but is inaccessible [INFO] [stdout] --> src/bencode/decode.rs:138:1 [INFO] [stdout] | [INFO] [stdout] 138 | / pub fn try_decode_from, D: Into>>( [INFO] [stdout] 139 | | data: D, [INFO] [stdout] 140 | | ) -> Result, DataParseError> { [INFO] [stdout] 141 | | Ok(decode(data)?.try_into()) [INFO] [stdout] 142 | | } [INFO] [stdout] | |_^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `try_decode_from` in this scope [INFO] [stdout] --> src/metainfo/file_info.rs:142:4 [INFO] [stdout] | [INFO] [stdout] 142 | try_decode_from( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: function `crate::bencode::decode::try_decode_from` exists but is inaccessible [INFO] [stdout] --> src/bencode/decode.rs:138:1 [INFO] [stdout] | [INFO] [stdout] 138 | / pub fn try_decode_from, D: Into>>( [INFO] [stdout] 139 | | data: D, [INFO] [stdout] 140 | | ) -> Result, DataParseError> { [INFO] [stdout] 141 | | Ok(decode(data)?.try_into()) [INFO] [stdout] 142 | | } [INFO] [stdout] | |_^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `try_decode_from` in this scope [INFO] [stdout] --> src/metainfo/file_info.rs:154:4 [INFO] [stdout] | [INFO] [stdout] 154 | try_decode_from("d5:filesle4:name2:mte"), [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: function `crate::bencode::decode::try_decode_from` exists but is inaccessible [INFO] [stdout] --> src/bencode/decode.rs:138:1 [INFO] [stdout] | [INFO] [stdout] 138 | / pub fn try_decode_from, D: Into>>( [INFO] [stdout] 139 | | data: D, [INFO] [stdout] 140 | | ) -> Result, DataParseError> { [INFO] [stdout] 141 | | Ok(decode(data)?.try_into()) [INFO] [stdout] 142 | | } [INFO] [stdout] | |_^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `try_decode_from` in this scope [INFO] [stdout] --> src/metainfo/file_info.rs:163:4 [INFO] [stdout] | [INFO] [stdout] 163 | try_decode_from( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: function `crate::bencode::decode::try_decode_from` exists but is inaccessible [INFO] [stdout] --> src/bencode/decode.rs:138:1 [INFO] [stdout] | [INFO] [stdout] 138 | / pub fn try_decode_from, D: Into>>( [INFO] [stdout] 139 | | data: D, [INFO] [stdout] 140 | | ) -> Result, DataParseError> { [INFO] [stdout] 141 | | Ok(decode(data)?.try_into()) [INFO] [stdout] 142 | | } [INFO] [stdout] | |_^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `try_decode_from` in this scope [INFO] [stdout] --> src/metainfo/file_info.rs:187:4 [INFO] [stdout] | [INFO] [stdout] 187 | try_decode_from::("d6:lengthi0e6:md5sum0:4:name0:e") [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: function `crate::bencode::decode::try_decode_from` exists but is inaccessible [INFO] [stdout] --> src/bencode/decode.rs:138:1 [INFO] [stdout] | [INFO] [stdout] 138 | / pub fn try_decode_from, D: Into>>( [INFO] [stdout] 139 | | data: D, [INFO] [stdout] 140 | | ) -> Result, DataParseError> { [INFO] [stdout] 141 | | Ok(decode(data)?.try_into()) [INFO] [stdout] 142 | | } [INFO] [stdout] | |_^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `try_decode_from` in this scope [INFO] [stdout] --> src/metainfo/file_info.rs:195:4 [INFO] [stdout] | [INFO] [stdout] 195 | try_decode_from::("d5:filesld6:length0:4:pathlee4:name8:bad pathee") [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: function `crate::bencode::decode::try_decode_from` exists but is inaccessible [INFO] [stdout] --> src/bencode/decode.rs:138:1 [INFO] [stdout] | [INFO] [stdout] 138 | / pub fn try_decode_from, D: Into>>( [INFO] [stdout] 139 | | data: D, [INFO] [stdout] 140 | | ) -> Result, DataParseError> { [INFO] [stdout] 141 | | Ok(decode(data)?.try_into()) [INFO] [stdout] 142 | | } [INFO] [stdout] | |_^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `try_decode_from` in this scope [INFO] [stdout] --> src/metainfo/info.rs:96:4 [INFO] [stdout] | [INFO] [stdout] 96 | try_decode_from("d6:lengthi0e4:name0:12:piece lengthi0e6:pieces0:e"), [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: function `crate::bencode::decode::try_decode_from` exists but is inaccessible [INFO] [stdout] --> src/bencode/decode.rs:138:1 [INFO] [stdout] | [INFO] [stdout] 138 | / pub fn try_decode_from, D: Into>>( [INFO] [stdout] 139 | | data: D, [INFO] [stdout] 140 | | ) -> Result, DataParseError> { [INFO] [stdout] 141 | | Ok(decode(data)?.try_into()) [INFO] [stdout] 142 | | } [INFO] [stdout] | |_^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `try_decode_from` in this scope [INFO] [stdout] --> src/metainfo/info.rs:110:4 [INFO] [stdout] | [INFO] [stdout] 110 | try_decode_from( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: function `crate::bencode::decode::try_decode_from` exists but is inaccessible [INFO] [stdout] --> src/bencode/decode.rs:138:1 [INFO] [stdout] | [INFO] [stdout] 138 | / pub fn try_decode_from, D: Into>>( [INFO] [stdout] 139 | | data: D, [INFO] [stdout] 140 | | ) -> Result, DataParseError> { [INFO] [stdout] 141 | | Ok(decode(data)?.try_into()) [INFO] [stdout] 142 | | } [INFO] [stdout] | |_^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `try_decode_from` in this scope [INFO] [stdout] --> src/metainfo/meta_info.rs:119:4 [INFO] [stdout] | [INFO] [stdout] 119 | try_decode_from( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: function `crate::bencode::decode::try_decode_from` exists but is inaccessible [INFO] [stdout] --> src/bencode/decode.rs:138:1 [INFO] [stdout] | [INFO] [stdout] 138 | / pub fn try_decode_from, D: Into>>( [INFO] [stdout] 139 | | data: D, [INFO] [stdout] 140 | | ) -> Result, DataParseError> { [INFO] [stdout] 141 | | Ok(decode(data)?.try_into()) [INFO] [stdout] 142 | | } [INFO] [stdout] | |_^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `try_decode_from` in this scope [INFO] [stdout] --> src/metainfo/meta_info.rs:142:14 [INFO] [stdout] | [INFO] [stdout] 142 | assert_eq!(try_decode_from( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: function `crate::bencode::decode::try_decode_from` exists but is inaccessible [INFO] [stdout] --> src/bencode/decode.rs:138:1 [INFO] [stdout] | [INFO] [stdout] 138 | / pub fn try_decode_from, D: Into>>( [INFO] [stdout] 139 | | data: D, [INFO] [stdout] 140 | | ) -> Result, DataParseError> { [INFO] [stdout] 141 | | Ok(decode(data)?.try_into()) [INFO] [stdout] 142 | | } [INFO] [stdout] | |_^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `assert_stream_eq` [INFO] [stdout] --> src/test/mock_stream.rs:60:16 [INFO] [stdout] | [INFO] [stdout] 60 | pub use test::{assert_stream_eq}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `QueryString` is imported redundantly [INFO] [stdout] --> src/tracker/tracker_request.rs:152:6 [INFO] [stdout] | [INFO] [stdout] 151 | use super::*; [INFO] [stdout] | -------- the item `QueryString` is already imported here [INFO] [stdout] 152 | use crate::tracker::QueryString; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `to_dec_digit` is never used [INFO] [stdout] --> src/bencode/decode.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn to_dec_digit(byte: u8) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decode_iter` is never used [INFO] [stdout] --> src/bencode/decode.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn decode_iter(bytes: &mut impl Iterator) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decode` is never used [INFO] [stdout] --> src/bencode/decode.rs:134:8 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn decode(data: impl Into>) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `try_decode_from` is never used [INFO] [stdout] --> src/bencode/decode.rs:138:8 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn try_decode_from, D: Into>>( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `to_string` and `to_alphanumeric_or_hex` are never used [INFO] [stdout] --> src/bytes.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait BytesExt { [INFO] [stdout] | -------- methods in this trait [INFO] [stdout] 2 | fn to_hex_string(&self) -> String; [INFO] [stdout] 3 | fn to_string(&self) -> String; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 4 | fn to_alphanumeric_or_hex(&self) -> String; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `url_encode` is never used [INFO] [stdout] --> src/tracker/query_string.rs:42:4 [INFO] [stdout] | [INFO] [stdout] 42 | fn url_encode(s: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `encode` is never used [INFO] [stdout] --> src/tracker/query_string.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn encode(data: QueryString) -> Vec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 43 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `parrot` (bin "parrot" test) due to 44 previous errors; 2 warnings emitted [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "2f5c681cb072f5cfd3d0501576cbfd6fece6644702267745e477f6350463f70f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f5c681cb072f5cfd3d0501576cbfd6fece6644702267745e477f6350463f70f", kill_on_drop: false }` [INFO] [stdout] 2f5c681cb072f5cfd3d0501576cbfd6fece6644702267745e477f6350463f70f