[INFO] fetching crate id3 1.10.0... [INFO] checking id3-1.10.0 against master#35936c4839dd272646394779d151e060d0f6b3ac for pr-122960-1 [INFO] extracting crate id3 1.10.0 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate id3 1.10.0 on toolchain 35936c4839dd272646394779d151e060d0f6b3ac [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+35936c4839dd272646394779d151e060d0f6b3ac" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate id3 1.10.0 [INFO] finished tweaking crates.io crate id3 1.10.0 [INFO] tweaked toml for crates.io crate id3 1.10.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+35936c4839dd272646394779d151e060d0f6b3ac" "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" "+35936c4839dd272646394779d151e060d0f6b3ac" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tokio-macros v2.2.0 [INFO] [stderr] Downloaded tokio v1.37.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+35936c4839dd272646394779d151e060d0f6b3ac" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 57edc6ccf9522fe887cd9be438c17d2664711f7d32a908901e4b74ea4fab3ec2 [INFO] running `Command { std: "docker" "start" "-a" "57edc6ccf9522fe887cd9be438c17d2664711f7d32a908901e4b74ea4fab3ec2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "57edc6ccf9522fe887cd9be438c17d2664711f7d32a908901e4b74ea4fab3ec2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "57edc6ccf9522fe887cd9be438c17d2664711f7d32a908901e4b74ea4fab3ec2", kill_on_drop: false }` [INFO] [stdout] 57edc6ccf9522fe887cd9be438c17d2664711f7d32a908901e4b74ea4fab3ec2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+35936c4839dd272646394779d151e060d0f6b3ac" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 931cd58c770c5587692a807be5b3ed026c46de6862ea29d24c9ce38a47d4dff3 [INFO] running `Command { std: "docker" "start" "-a" "931cd58c770c5587692a807be5b3ed026c46de6862ea29d24c9ce38a47d4dff3", kill_on_drop: false }` [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Compiling rustix v0.38.32 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Checking fastrand v2.0.2 [INFO] [stderr] Checking miniz_oxide v0.7.2 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Checking id3 v1.10.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/frame/timestamp.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/chunk.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Seek` is imported redundantly [INFO] [stdout] --> src/chunk.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 7 | use std::io::prelude::*; [INFO] [stdout] | ------------------- the item `Seek` is already imported here [INFO] [stdout] 8 | use std::io::{BufReader, Seek, SeekFrom}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryInto` is imported redundantly [INFO] [stdout] --> src/chunk.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | use std::{convert::TryInto, io}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryInto` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryInto` is imported redundantly [INFO] [stdout] --> src/stream/encoding.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryInto` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/stream/frame/content.rs:10:20 [INFO] [stdout] | [INFO] [stdout] 10 | use std::convert::{TryFrom, TryInto}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryInto` is imported redundantly [INFO] [stdout] --> src/stream/frame/content.rs:10:29 [INFO] [stdout] | [INFO] [stdout] 10 | use std::convert::{TryFrom, TryInto}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryInto` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `FromIterator` is imported redundantly [INFO] [stdout] --> src/tag.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | use std::iter::{FromIterator, Iterator}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `FromIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Iterator` is imported redundantly [INFO] [stdout] --> src/tag.rs:14:31 [INFO] [stdout] | [INFO] [stdout] 14 | use std::iter::{FromIterator, Iterator}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] --> /rustc/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Iterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/stream/frame/content.rs:589:17 [INFO] [stdout] | [INFO] [stdout] 589 | _ => unreachable!(), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `reader` is never used [INFO] [stdout] --> src/storage.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub trait Storage<'a> { [INFO] [stdout] | ------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 22 | fn reader(&'a mut self) -> io::Result; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking tempfile v3.10.1 [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> src/stream/tag.rs:115:13 [INFO] [stdout] | [INFO] [stdout] 115 | use tokio::io::AsyncReadExt; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> src/stream/tag.rs:214:13 [INFO] [stdout] | [INFO] [stdout] 214 | use tokio::io::AsyncReadExt; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> src/stream/tag.rs:593:7 [INFO] [stdout] | [INFO] [stdout] 593 | #[tokio::test] [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> src/stream/tag.rs:628:7 [INFO] [stdout] | [INFO] [stdout] 628 | #[tokio::test] [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> src/stream/tag.rs:765:7 [INFO] [stdout] | [INFO] [stdout] 765 | #[tokio::test] [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> src/stream/tag.rs:113:26 [INFO] [stdout] | [INFO] [stdout] 113 | mut reader: impl tokio::io::AsyncRead + std::marker::Unpin, [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> src/stream/tag.rs:209:22 [INFO] [stdout] | [INFO] [stdout] 209 | mut reader: impl tokio::io::AsyncRead + std::marker::Unpin, [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> src/stream/tag.rs:595:24 [INFO] [stdout] | [INFO] [stdout] 595 | let mut file = tokio::fs::File::open("testdata/id3v22.id3").await.unwrap(); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 481 + use crate::stream::tag::fs::File; [INFO] [stdout] | [INFO] [stdout] 481 + use std::fs::File; [INFO] [stdout] | [INFO] [stdout] help: if you import `File`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 595 - let mut file = tokio::fs::File::open("testdata/id3v22.id3").await.unwrap(); [INFO] [stdout] 595 + let mut file = File::open("testdata/id3v22.id3").await.unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> src/stream/tag.rs:630:24 [INFO] [stdout] | [INFO] [stdout] 630 | let mut file = tokio::fs::File::open("testdata/id3v23.id3").await.unwrap(); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 481 + use crate::stream::tag::fs::File; [INFO] [stdout] | [INFO] [stdout] 481 + use std::fs::File; [INFO] [stdout] | [INFO] [stdout] help: if you import `File`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 630 - let mut file = tokio::fs::File::open("testdata/id3v23.id3").await.unwrap(); [INFO] [stdout] 630 + let mut file = File::open("testdata/id3v23.id3").await.unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> src/stream/tag.rs:767:24 [INFO] [stdout] | [INFO] [stdout] 767 | let mut file = tokio::fs::File::open("testdata/id3v24_ext.id3") [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 481 + use crate::stream::tag::fs::File; [INFO] [stdout] | [INFO] [stdout] 481 + use std::fs::File; [INFO] [stdout] | [INFO] [stdout] help: if you import `File`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 767 - let mut file = tokio::fs::File::open("testdata/id3v24_ext.id3") [INFO] [stdout] 767 + let mut file = File::open("testdata/id3v24_ext.id3") [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/frame/timestamp.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `fs` is imported redundantly [INFO] [stdout] --> src/v1.rs:378:9 [INFO] [stdout] | [INFO] [stdout] 377 | use super::*; [INFO] [stdout] | -------- the item `fs` is already imported here [INFO] [stdout] 378 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `File` is imported redundantly [INFO] [stdout] --> src/v1v2.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 105 | use super::*; [INFO] [stdout] | -------- the item `File` is already imported here [INFO] [stdout] 106 | use crate::TagLike; [INFO] [stdout] 107 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/chunk.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Seek` is imported redundantly [INFO] [stdout] --> src/chunk.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 7 | use std::io::prelude::*; [INFO] [stdout] | ------------------- the item `Seek` is already imported here [INFO] [stdout] 8 | use std::io::{BufReader, Seek, SeekFrom}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryInto` is imported redundantly [INFO] [stdout] --> src/chunk.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | use std::{convert::TryInto, io}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryInto` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryInto` is imported redundantly [INFO] [stdout] --> src/stream/encoding.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryInto` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/stream/frame/content.rs:10:20 [INFO] [stdout] | [INFO] [stdout] 10 | use std::convert::{TryFrom, TryInto}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryInto` is imported redundantly [INFO] [stdout] --> src/stream/frame/content.rs:10:29 [INFO] [stdout] | [INFO] [stdout] 10 | use std::convert::{TryFrom, TryInto}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryInto` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Content` is imported redundantly [INFO] [stdout] --> src/stream/frame/content.rs:916:9 [INFO] [stdout] | [INFO] [stdout] 915 | use super::*; [INFO] [stdout] | -------- the item `Content` is already imported here [INFO] [stdout] 916 | use crate::frame::Content; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Picture` is imported redundantly [INFO] [stdout] --> src/stream/frame/content.rs:917:30 [INFO] [stdout] | [INFO] [stdout] 915 | use super::*; [INFO] [stdout] | -------- the item `Picture` is already imported here [INFO] [stdout] 916 | use crate::frame::Content; [INFO] [stdout] 917 | use crate::frame::{self, Picture, PictureType}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PictureType` is imported redundantly [INFO] [stdout] --> src/stream/frame/content.rs:917:39 [INFO] [stdout] | [INFO] [stdout] 915 | use super::*; [INFO] [stdout] | -------- the item `PictureType` is already imported here [INFO] [stdout] 916 | use crate::frame::Content; [INFO] [stdout] 917 | use crate::frame::{self, Picture, PictureType}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Frame` is imported redundantly [INFO] [stdout] --> src/stream/frame/mod.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 94 | use super::*; [INFO] [stdout] | -------- the item `Frame` is already imported here [INFO] [stdout] 95 | use crate::frame::Frame; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Encoding` is imported redundantly [INFO] [stdout] --> src/stream/frame/mod.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 94 | use super::*; [INFO] [stdout] | -------- the item `Encoding` is already imported here [INFO] [stdout] 95 | use crate::frame::Frame; [INFO] [stdout] 96 | use crate::stream::encoding::Encoding; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `unsynch` is imported redundantly [INFO] [stdout] --> src/stream/frame/mod.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 94 | use super::*; [INFO] [stdout] | -------- the item `unsynch` is already imported here [INFO] [stdout] ... [INFO] [stdout] 97 | use crate::stream::unsynch; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `fs` is imported redundantly [INFO] [stdout] --> src/stream/tag.rs:487:9 [INFO] [stdout] | [INFO] [stdout] 481 | use super::*; [INFO] [stdout] | -------- the item `fs` is already imported here [INFO] [stdout] ... [INFO] [stdout] 487 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `io` is imported redundantly [INFO] [stdout] --> src/stream/tag.rs:488:19 [INFO] [stdout] | [INFO] [stdout] 481 | use super::*; [INFO] [stdout] | -------- the item `io` is already imported here [INFO] [stdout] ... [INFO] [stdout] 488 | use std::io::{self, Read}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Read` is imported redundantly [INFO] [stdout] --> src/stream/tag.rs:488:25 [INFO] [stdout] | [INFO] [stdout] 481 | use super::*; [INFO] [stdout] | -------- the item `Read` is already imported here [INFO] [stdout] ... [INFO] [stdout] 488 | use std::io::{self, Read}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `FromIterator` is imported redundantly [INFO] [stdout] --> src/tag.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | use std::iter::{FromIterator, Iterator}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `FromIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Iterator` is imported redundantly [INFO] [stdout] --> src/tag.rs:14:31 [INFO] [stdout] | [INFO] [stdout] 14 | use std::iter::{FromIterator, Iterator}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] --> /rustc/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Iterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TagLike` is imported redundantly [INFO] [stdout] --> src/tag.rs:500:9 [INFO] [stdout] | [INFO] [stdout] 499 | use super::*; [INFO] [stdout] | -------- the item `TagLike` is already imported here [INFO] [stdout] 500 | use crate::taglike::TagLike; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `fs` is imported redundantly [INFO] [stdout] --> src/tag.rs:501:9 [INFO] [stdout] | [INFO] [stdout] 499 | use super::*; [INFO] [stdout] | -------- the item `fs` is already imported here [INFO] [stdout] 500 | use crate::taglike::TagLike; [INFO] [stdout] 501 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors; 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `id3` (lib test) due to 11 previous errors; 22 warnings emitted [INFO] running `Command { std: "docker" "inspect" "931cd58c770c5587692a807be5b3ed026c46de6862ea29d24c9ce38a47d4dff3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "931cd58c770c5587692a807be5b3ed026c46de6862ea29d24c9ce38a47d4dff3", kill_on_drop: false }` [INFO] [stdout] 931cd58c770c5587692a807be5b3ed026c46de6862ea29d24c9ce38a47d4dff3 [INFO] checking id3-1.10.0 against try#9ae1860851f3fbc1435a1698e572252c0076f413 for pr-122960-1 [INFO] extracting crate id3 1.10.0 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate id3 1.10.0 on toolchain 9ae1860851f3fbc1435a1698e572252c0076f413 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9ae1860851f3fbc1435a1698e572252c0076f413" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate id3 1.10.0 [INFO] finished tweaking crates.io crate id3 1.10.0 [INFO] tweaked toml for crates.io crate id3 1.10.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9ae1860851f3fbc1435a1698e572252c0076f413" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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" "+9ae1860851f3fbc1435a1698e572252c0076f413" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+9ae1860851f3fbc1435a1698e572252c0076f413" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f0e03aa293dce2707009c6e76e56a9a4e40cf2941a1ae63a335e3840f8bc45e0 [INFO] running `Command { std: "docker" "start" "-a" "f0e03aa293dce2707009c6e76e56a9a4e40cf2941a1ae63a335e3840f8bc45e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f0e03aa293dce2707009c6e76e56a9a4e40cf2941a1ae63a335e3840f8bc45e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f0e03aa293dce2707009c6e76e56a9a4e40cf2941a1ae63a335e3840f8bc45e0", kill_on_drop: false }` [INFO] [stdout] f0e03aa293dce2707009c6e76e56a9a4e40cf2941a1ae63a335e3840f8bc45e0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+9ae1860851f3fbc1435a1698e572252c0076f413" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 50496df8bebf33d76547ad9831c6ceffbf6d6995551836c240b22cfeb6a705b6 [INFO] running `Command { std: "docker" "start" "-a" "50496df8bebf33d76547ad9831c6ceffbf6d6995551836c240b22cfeb6a705b6", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling rustix v0.38.32 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Checking fastrand v2.0.2 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking miniz_oxide v0.7.2 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Checking id3 v1.10.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/frame/timestamp.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/9ae1860851f3fbc1435a1698e572252c0076f413/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/chunk.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/9ae1860851f3fbc1435a1698e572252c0076f413/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Seek` is imported redundantly [INFO] [stdout] --> src/chunk.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 7 | use std::io::prelude::*; [INFO] [stdout] | ------------------- the item `Seek` is already imported here [INFO] [stdout] 8 | use std::io::{BufReader, Seek, SeekFrom}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryInto` is imported redundantly [INFO] [stdout] --> src/chunk.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | use std::{convert::TryInto, io}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/9ae1860851f3fbc1435a1698e572252c0076f413/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryInto` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryInto` is imported redundantly [INFO] [stdout] --> src/stream/encoding.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/9ae1860851f3fbc1435a1698e572252c0076f413/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryInto` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/stream/frame/content.rs:10:20 [INFO] [stdout] | [INFO] [stdout] 10 | use std::convert::{TryFrom, TryInto}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/9ae1860851f3fbc1435a1698e572252c0076f413/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryInto` is imported redundantly [INFO] [stdout] --> src/stream/frame/content.rs:10:29 [INFO] [stdout] | [INFO] [stdout] 10 | use std::convert::{TryFrom, TryInto}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/9ae1860851f3fbc1435a1698e572252c0076f413/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryInto` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `FromIterator` is imported redundantly [INFO] [stdout] --> src/tag.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | use std::iter::{FromIterator, Iterator}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/9ae1860851f3fbc1435a1698e572252c0076f413/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `FromIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Iterator` is imported redundantly [INFO] [stdout] --> src/tag.rs:14:31 [INFO] [stdout] | [INFO] [stdout] 14 | use std::iter::{FromIterator, Iterator}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] --> /rustc/9ae1860851f3fbc1435a1698e572252c0076f413/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Iterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/stream/frame/content.rs:589:17 [INFO] [stdout] | [INFO] [stdout] 589 | _ => unreachable!(), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `reader` is never used [INFO] [stdout] --> src/storage.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub trait Storage<'a> { [INFO] [stdout] | ------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 22 | fn reader(&'a mut self) -> io::Result; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking tempfile v3.10.1 [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> src/stream/tag.rs:115:13 [INFO] [stdout] | [INFO] [stdout] 115 | use tokio::io::AsyncReadExt; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> src/stream/tag.rs:214:13 [INFO] [stdout] | [INFO] [stdout] 214 | use tokio::io::AsyncReadExt; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> src/stream/tag.rs:593:7 [INFO] [stdout] | [INFO] [stdout] 593 | #[tokio::test] [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> src/stream/tag.rs:628:7 [INFO] [stdout] | [INFO] [stdout] 628 | #[tokio::test] [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> src/stream/tag.rs:765:7 [INFO] [stdout] | [INFO] [stdout] 765 | #[tokio::test] [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> src/stream/tag.rs:113:26 [INFO] [stdout] | [INFO] [stdout] 113 | mut reader: impl tokio::io::AsyncRead + std::marker::Unpin, [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> src/stream/tag.rs:209:22 [INFO] [stdout] | [INFO] [stdout] 209 | mut reader: impl tokio::io::AsyncRead + std::marker::Unpin, [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> src/stream/tag.rs:595:24 [INFO] [stdout] | [INFO] [stdout] 595 | let mut file = tokio::fs::File::open("testdata/id3v22.id3").await.unwrap(); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 481 + use crate::stream::tag::fs::File; [INFO] [stdout] | [INFO] [stdout] 481 + use std::fs::File; [INFO] [stdout] | [INFO] [stdout] help: if you import `File`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 595 - let mut file = tokio::fs::File::open("testdata/id3v22.id3").await.unwrap(); [INFO] [stdout] 595 + let mut file = File::open("testdata/id3v22.id3").await.unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> src/stream/tag.rs:630:24 [INFO] [stdout] | [INFO] [stdout] 630 | let mut file = tokio::fs::File::open("testdata/id3v23.id3").await.unwrap(); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 481 + use crate::stream::tag::fs::File; [INFO] [stdout] | [INFO] [stdout] 481 + use std::fs::File; [INFO] [stdout] | [INFO] [stdout] help: if you import `File`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 630 - let mut file = tokio::fs::File::open("testdata/id3v23.id3").await.unwrap(); [INFO] [stdout] 630 + let mut file = File::open("testdata/id3v23.id3").await.unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> src/stream/tag.rs:767:24 [INFO] [stdout] | [INFO] [stdout] 767 | let mut file = tokio::fs::File::open("testdata/id3v24_ext.id3") [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 481 + use crate::stream::tag::fs::File; [INFO] [stdout] | [INFO] [stdout] 481 + use std::fs::File; [INFO] [stdout] | [INFO] [stdout] help: if you import `File`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 767 - let mut file = tokio::fs::File::open("testdata/id3v24_ext.id3") [INFO] [stdout] 767 + let mut file = File::open("testdata/id3v24_ext.id3") [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/frame/timestamp.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/9ae1860851f3fbc1435a1698e572252c0076f413/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `id3` (lib test) due to 11 previous errors; 22 warnings emitted [INFO] [stdout] warning: the item `fs` is imported redundantly [INFO] [stdout] --> src/v1.rs:378:9 [INFO] [stdout] | [INFO] [stdout] 377 | use super::*; [INFO] [stdout] | -------- the item `fs` is already imported here [INFO] [stdout] 378 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `File` is imported redundantly [INFO] [stdout] --> src/v1v2.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 105 | use super::*; [INFO] [stdout] | -------- the item `File` is already imported here [INFO] [stdout] 106 | use crate::TagLike; [INFO] [stdout] 107 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/chunk.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/9ae1860851f3fbc1435a1698e572252c0076f413/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Seek` is imported redundantly [INFO] [stdout] --> src/chunk.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 7 | use std::io::prelude::*; [INFO] [stdout] | ------------------- the item `Seek` is already imported here [INFO] [stdout] 8 | use std::io::{BufReader, Seek, SeekFrom}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryInto` is imported redundantly [INFO] [stdout] --> src/chunk.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | use std::{convert::TryInto, io}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/9ae1860851f3fbc1435a1698e572252c0076f413/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryInto` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryInto` is imported redundantly [INFO] [stdout] --> src/stream/encoding.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/9ae1860851f3fbc1435a1698e572252c0076f413/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryInto` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/stream/frame/content.rs:10:20 [INFO] [stdout] | [INFO] [stdout] 10 | use std::convert::{TryFrom, TryInto}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/9ae1860851f3fbc1435a1698e572252c0076f413/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryInto` is imported redundantly [INFO] [stdout] --> src/stream/frame/content.rs:10:29 [INFO] [stdout] | [INFO] [stdout] 10 | use std::convert::{TryFrom, TryInto}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/9ae1860851f3fbc1435a1698e572252c0076f413/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryInto` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Content` is imported redundantly [INFO] [stdout] --> src/stream/frame/content.rs:916:9 [INFO] [stdout] | [INFO] [stdout] 915 | use super::*; [INFO] [stdout] | -------- the item `Content` is already imported here [INFO] [stdout] 916 | use crate::frame::Content; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Picture` is imported redundantly [INFO] [stdout] --> src/stream/frame/content.rs:917:30 [INFO] [stdout] | [INFO] [stdout] 915 | use super::*; [INFO] [stdout] | -------- the item `Picture` is already imported here [INFO] [stdout] 916 | use crate::frame::Content; [INFO] [stdout] 917 | use crate::frame::{self, Picture, PictureType}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PictureType` is imported redundantly [INFO] [stdout] --> src/stream/frame/content.rs:917:39 [INFO] [stdout] | [INFO] [stdout] 915 | use super::*; [INFO] [stdout] | -------- the item `PictureType` is already imported here [INFO] [stdout] 916 | use crate::frame::Content; [INFO] [stdout] 917 | use crate::frame::{self, Picture, PictureType}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Frame` is imported redundantly [INFO] [stdout] --> src/stream/frame/mod.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 94 | use super::*; [INFO] [stdout] | -------- the item `Frame` is already imported here [INFO] [stdout] 95 | use crate::frame::Frame; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Encoding` is imported redundantly [INFO] [stdout] --> src/stream/frame/mod.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 94 | use super::*; [INFO] [stdout] | -------- the item `Encoding` is already imported here [INFO] [stdout] 95 | use crate::frame::Frame; [INFO] [stdout] 96 | use crate::stream::encoding::Encoding; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `unsynch` is imported redundantly [INFO] [stdout] --> src/stream/frame/mod.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 94 | use super::*; [INFO] [stdout] | -------- the item `unsynch` is already imported here [INFO] [stdout] ... [INFO] [stdout] 97 | use crate::stream::unsynch; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `fs` is imported redundantly [INFO] [stdout] --> src/stream/tag.rs:487:9 [INFO] [stdout] | [INFO] [stdout] 481 | use super::*; [INFO] [stdout] | -------- the item `fs` is already imported here [INFO] [stdout] ... [INFO] [stdout] 487 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `io` is imported redundantly [INFO] [stdout] --> src/stream/tag.rs:488:19 [INFO] [stdout] | [INFO] [stdout] 481 | use super::*; [INFO] [stdout] | -------- the item `io` is already imported here [INFO] [stdout] ... [INFO] [stdout] 488 | use std::io::{self, Read}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Read` is imported redundantly [INFO] [stdout] --> src/stream/tag.rs:488:25 [INFO] [stdout] | [INFO] [stdout] 481 | use super::*; [INFO] [stdout] | -------- the item `Read` is already imported here [INFO] [stdout] ... [INFO] [stdout] 488 | use std::io::{self, Read}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `FromIterator` is imported redundantly [INFO] [stdout] --> src/tag.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | use std::iter::{FromIterator, Iterator}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/9ae1860851f3fbc1435a1698e572252c0076f413/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `FromIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Iterator` is imported redundantly [INFO] [stdout] --> src/tag.rs:14:31 [INFO] [stdout] | [INFO] [stdout] 14 | use std::iter::{FromIterator, Iterator}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] --> /rustc/9ae1860851f3fbc1435a1698e572252c0076f413/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Iterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TagLike` is imported redundantly [INFO] [stdout] --> src/tag.rs:500:9 [INFO] [stdout] | [INFO] [stdout] 499 | use super::*; [INFO] [stdout] | -------- the item `TagLike` is already imported here [INFO] [stdout] 500 | use crate::taglike::TagLike; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `fs` is imported redundantly [INFO] [stdout] --> src/tag.rs:501:9 [INFO] [stdout] | [INFO] [stdout] 499 | use super::*; [INFO] [stdout] | -------- the item `fs` is already imported here [INFO] [stdout] 500 | use crate::taglike::TagLike; [INFO] [stdout] 501 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors; 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [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" "50496df8bebf33d76547ad9831c6ceffbf6d6995551836c240b22cfeb6a705b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "50496df8bebf33d76547ad9831c6ceffbf6d6995551836c240b22cfeb6a705b6", kill_on_drop: false }` [INFO] [stdout] 50496df8bebf33d76547ad9831c6ceffbf6d6995551836c240b22cfeb6a705b6