[INFO] cloning repository https://github.com/Incorrectish/Incorrectish-s-Bittorrent-Client [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Incorrectish/Incorrectish-s-Bittorrent-Client" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIncorrectish%2FIncorrectish-s-Bittorrent-Client", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIncorrectish%2FIncorrectish-s-Bittorrent-Client'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] def0de7b4a6d40ef1ededb51dbab26884178ae23 [INFO] checking Incorrectish/Incorrectish-s-Bittorrent-Client against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIncorrectish%2FIncorrectish-s-Bittorrent-Client" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 98% (1374/1396) Updating files: 99% (1383/1396) Updating files: 100% (1396/1396) Updating files: 100% (1396/1396), done. [INFO] validating manifest of git repo https://github.com/Incorrectish/Incorrectish-s-Bittorrent-Client 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/Incorrectish/Incorrectish-s-Bittorrent-Client [INFO] finished tweaking git repo https://github.com/Incorrectish/Incorrectish-s-Bittorrent-Client [INFO] tweaked toml for git repo https://github.com/Incorrectish/Incorrectish-s-Bittorrent-Client written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Incorrectish/Incorrectish-s-Bittorrent-Client 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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 7138693b1a606fc98bc52a2be6d74fa2980c26d47c28427acef134cbf239bada [INFO] running `Command { std: "docker" "start" "-a" "7138693b1a606fc98bc52a2be6d74fa2980c26d47c28427acef134cbf239bada", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7138693b1a606fc98bc52a2be6d74fa2980c26d47c28427acef134cbf239bada", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7138693b1a606fc98bc52a2be6d74fa2980c26d47c28427acef134cbf239bada", kill_on_drop: false }` [INFO] [stdout] 7138693b1a606fc98bc52a2be6d74fa2980c26d47c28427acef134cbf239bada [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 8a13baf4ec36b8c54d94a0eb76ccefd12daf092c6bd94effc9fccfc75714b383 [INFO] running `Command { std: "docker" "start" "-a" "8a13baf4ec36b8c54d94a0eb76ccefd12daf092c6bd94effc9fccfc75714b383", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.189 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Checking bit_torrent_client v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `serde_json` is imported redundantly [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ the item `serde_json` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `env`, `io` [INFO] [stdout] --> src/main.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{fs, io, error::Error, env}; [INFO] [stdout] | ^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BencodeToken` [INFO] [stdout] --> src/main.rs:4:37 [INFO] [stdout] | [INFO] [stdout] 4 | use bencode_parser::{BencodeParser, BencodeToken}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `bencode::BencodeData`, `decode_bencoded_value` [INFO] [stdout] --> src/test.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::{decode_bencoded_value, bencode::BencodeData}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json` [INFO] [stdout] --> src/test.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `ben_list` [INFO] [stdout] --> src/test.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 5 | macro_rules! ben_list( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde_json` is imported redundantly [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ the item `serde_json` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `env`, `io` [INFO] [stdout] --> src/main.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{fs, io, error::Error, env}; [INFO] [stdout] | ^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BencodeToken` [INFO] [stdout] --> src/main.rs:4:37 [INFO] [stdout] | [INFO] [stdout] 4 | use bencode_parser::{BencodeParser, BencodeToken}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde_json` is imported redundantly [INFO] [stdout] --> src/test.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ the item `serde_json` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.29s [INFO] running `Command { std: "docker" "inspect" "8a13baf4ec36b8c54d94a0eb76ccefd12daf092c6bd94effc9fccfc75714b383", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a13baf4ec36b8c54d94a0eb76ccefd12daf092c6bd94effc9fccfc75714b383", kill_on_drop: false }` [INFO] [stdout] 8a13baf4ec36b8c54d94a0eb76ccefd12daf092c6bd94effc9fccfc75714b383 [INFO] checking Incorrectish/Incorrectish-s-Bittorrent-Client against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIncorrectish%2FIncorrectish-s-Bittorrent-Client" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 98% (1374/1396) Updating files: 99% (1383/1396) Updating files: 100% (1396/1396) Updating files: 100% (1396/1396), done. [INFO] validating manifest of git repo https://github.com/Incorrectish/Incorrectish-s-Bittorrent-Client 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/Incorrectish/Incorrectish-s-Bittorrent-Client [INFO] finished tweaking git repo https://github.com/Incorrectish/Incorrectish-s-Bittorrent-Client [INFO] tweaked toml for git repo https://github.com/Incorrectish/Incorrectish-s-Bittorrent-Client written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Incorrectish/Incorrectish-s-Bittorrent-Client 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" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 79eb4a9456c1f7785ba1d2b0cf8ea77e22265d2346639a2bf7bfb82727a0e1e4 [INFO] running `Command { std: "docker" "start" "-a" "79eb4a9456c1f7785ba1d2b0cf8ea77e22265d2346639a2bf7bfb82727a0e1e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "79eb4a9456c1f7785ba1d2b0cf8ea77e22265d2346639a2bf7bfb82727a0e1e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "79eb4a9456c1f7785ba1d2b0cf8ea77e22265d2346639a2bf7bfb82727a0e1e4", kill_on_drop: false }` [INFO] [stdout] 79eb4a9456c1f7785ba1d2b0cf8ea77e22265d2346639a2bf7bfb82727a0e1e4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 512ff5c12cb9b3c650dbc2e7fcbe01268eb322197771f55e69cdc843d603c600 [INFO] running `Command { std: "docker" "start" "-a" "512ff5c12cb9b3c650dbc2e7fcbe01268eb322197771f55e69cdc843d603c600", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling serde v1.0.189 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Checking bit_torrent_client v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/main.rs (2 fixes) [INFO] [stderr] Fixed src/test.rs (2 fixes) [INFO] [stdout] warning: the item `serde_json` is imported redundantly [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ the item `serde_json` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `ben_list` [INFO] [stdout] --> src/test.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 5 | macro_rules! ben_list( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `decode_bencoded_value` in this scope [INFO] [stdout] --> src/test.rs:28:21 [INFO] [stdout] | [INFO] [stdout] 28 | decode_bencoded_value(b) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 5 + use crate::decode_bencoded_value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BencodeData` [INFO] [stdout] --> src/test.rs:45:45 [INFO] [stdout] | [INFO] [stdout] 45 | serde_json::Value::from(BencodeData::BencodeString(a.into())), [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `BencodeData` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 5 + use crate::bencode::BencodeData; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `decode_bencoded_value` in this scope [INFO] [stdout] --> src/test.rs:46:21 [INFO] [stdout] | [INFO] [stdout] 46 | decode_bencoded_value(b.to_string()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 5 + use crate::decode_bencoded_value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BencodeData` in this scope [INFO] [stdout] --> src/test.rs:6:23 [INFO] [stdout] | [INFO] [stdout] 6 | {} => { Vec::::new().into() }; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] ... [INFO] [stdout] 56 | (ben_list!(), "le"), [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `ben_list` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 5 + use crate::bencode::BencodeData; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BencodeData` [INFO] [stdout] --> src/test.rs:10:30 [INFO] [stdout] | [INFO] [stdout] 10 | $( list.push(BencodeData::from($value)); )+ [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `BencodeData` [INFO] [stdout] ... [INFO] [stdout] 57 | (ben_list!["abra", "cadabra"], "l4:abra7:cadabrae"), [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `ben_list` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 5 + use crate::bencode::BencodeData; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BencodeData` [INFO] [stdout] --> src/test.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | BencodeData::from(list) [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `BencodeData` [INFO] [stdout] ... [INFO] [stdout] 57 | (ben_list!["abra", "cadabra"], "l4:abra7:cadabrae"), [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `ben_list` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 5 + use crate::bencode::BencodeData; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BencodeData` [INFO] [stdout] --> src/test.rs:10:30 [INFO] [stdout] | [INFO] [stdout] 10 | $( list.push(BencodeData::from($value)); )+ [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `BencodeData` [INFO] [stdout] ... [INFO] [stdout] 58 | (ben_list!["spam", "eggs"], "l4:spam4:eggse"), [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `ben_list` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 5 + use crate::bencode::BencodeData; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BencodeData` [INFO] [stdout] --> src/test.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | BencodeData::from(list) [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `BencodeData` [INFO] [stdout] ... [INFO] [stdout] 58 | (ben_list!["spam", "eggs"], "l4:spam4:eggse"), [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `ben_list` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 5 + use crate::bencode::BencodeData; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BencodeData` [INFO] [stdout] --> src/test.rs:10:30 [INFO] [stdout] | [INFO] [stdout] 10 | $( list.push(BencodeData::from($value)); )+ [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `BencodeData` [INFO] [stdout] ... [INFO] [stdout] 60 | ben_list![ben_list!["list", "of", "lists"], ben_list!["like", "omygawd!"]], [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `ben_list` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 5 + use crate::bencode::BencodeData; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BencodeData` [INFO] [stdout] --> src/test.rs:10:30 [INFO] [stdout] | [INFO] [stdout] 10 | $( list.push(BencodeData::from($value)); )+ [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `BencodeData` [INFO] [stdout] ... [INFO] [stdout] 60 | ben_list![ben_list!["list", "of", "lists"], ben_list!["like", "omygawd!"]], [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `ben_list` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 5 + use crate::bencode::BencodeData; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BencodeData` [INFO] [stdout] --> src/test.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | BencodeData::from(list) [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `BencodeData` [INFO] [stdout] ... [INFO] [stdout] 60 | ben_list![ben_list!["list", "of", "lists"], ben_list!["like", "omygawd!"]], [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `ben_list` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 5 + use crate::bencode::BencodeData; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BencodeData` [INFO] [stdout] --> src/test.rs:10:30 [INFO] [stdout] | [INFO] [stdout] 10 | $( list.push(BencodeData::from($value)); )+ [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `BencodeData` [INFO] [stdout] ... [INFO] [stdout] 60 | ben_list![ben_list!["list", "of", "lists"], ben_list!["like", "omygawd!"]], [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `ben_list` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 5 + use crate::bencode::BencodeData; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BencodeData` [INFO] [stdout] --> src/test.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | BencodeData::from(list) [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `BencodeData` [INFO] [stdout] ... [INFO] [stdout] 60 | ben_list![ben_list!["list", "of", "lists"], ben_list!["like", "omygawd!"]], [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `ben_list` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 5 + use crate::bencode::BencodeData; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BencodeData` [INFO] [stdout] --> src/test.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | BencodeData::from(list) [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `BencodeData` [INFO] [stdout] ... [INFO] [stdout] 60 | ben_list![ben_list!["list", "of", "lists"], ben_list!["like", "omygawd!"]], [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `ben_list` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 5 + use crate::bencode::BencodeData; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `decode_bencoded_value` in this scope [INFO] [stdout] --> src/test.rs:68:21 [INFO] [stdout] | [INFO] [stdout] 68 | decode_bencoded_value(b.to_string()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 5 + use crate::decode_bencoded_value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde_json` is imported redundantly [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ the item `serde_json` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 15 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bit_torrent_client` (bin "bit_torrent_client" test) due to 16 previous errors; 1 warning emitted [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "512ff5c12cb9b3c650dbc2e7fcbe01268eb322197771f55e69cdc843d603c600", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "512ff5c12cb9b3c650dbc2e7fcbe01268eb322197771f55e69cdc843d603c600", kill_on_drop: false }` [INFO] [stdout] 512ff5c12cb9b3c650dbc2e7fcbe01268eb322197771f55e69cdc843d603c600