[INFO] cloning repository https://github.com/mattias-p/digraph123 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mattias-p/digraph123" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmattias-p%2Fdigraph123", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmattias-p%2Fdigraph123'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6d75d23e0842ed2e866dee9561505b673b235a05 [INFO] testing mattias-p/digraph123 against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmattias-p%2Fdigraph123" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mattias-p/digraph123 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mattias-p/digraph123 [INFO] finished tweaking git repo https://github.com/mattias-p/digraph123 [INFO] tweaked toml for git repo https://github.com/mattias-p/digraph123 written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/mattias-p/digraph123 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/mattias-p/vorbis-rs.git` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded gcc v0.3.26 [INFO] [stderr] Downloaded alsa-sys v0.0.8 [INFO] [stderr] Downloaded coreaudio-sys v0.1.2 [INFO] [stderr] Downloaded winapi v0.2.6 [INFO] [stderr] Downloaded regex-syntax v0.3.1 [INFO] [stderr] Downloaded mempool v0.3.1 [INFO] [stderr] Downloaded ansi_term v0.7.2 [INFO] [stderr] Downloaded vorbis-sys v0.0.8 [INFO] [stderr] Downloaded regex v0.1.65 [INFO] [stderr] Downloaded ole32-sys v0.1.0 [INFO] [stderr] Downloaded coreaudio-rs v0.4.0 [INFO] [stderr] Downloaded cpal v0.2.9 [INFO] [stderr] Downloaded clap v2.2.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] dbfef36aca1c75f4d7edacc493f3d0bbbaf93c9425fc603068ddd95d1506014c [INFO] running `Command { std: "docker" "start" "-a" "dbfef36aca1c75f4d7edacc493f3d0bbbaf93c9425fc603068ddd95d1506014c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dbfef36aca1c75f4d7edacc493f3d0bbbaf93c9425fc603068ddd95d1506014c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dbfef36aca1c75f4d7edacc493f3d0bbbaf93c9425fc603068ddd95d1506014c", kill_on_drop: false }` [INFO] [stdout] dbfef36aca1c75f4d7edacc493f3d0bbbaf93c9425fc603068ddd95d1506014c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 3b2957372f009f72464b8c2c36fcc6a94768d04c6e9db9d398b1377d51cf78c1 [INFO] running `Command { std: "docker" "start" "-a" "3b2957372f009f72464b8c2c36fcc6a94768d04c6e9db9d398b1377d51cf78c1", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.9 [INFO] [stderr] Compiling gcc v0.3.26 [INFO] [stderr] Compiling ole32-sys v0.1.0 [INFO] [stderr] Compiling winapi v0.2.6 [INFO] [stderr] Compiling ansi_term v0.7.2 [INFO] [stderr] Compiling regex-syntax v0.3.1 [INFO] [stderr] Compiling vec_map v0.6.0 [INFO] [stderr] Compiling unicode-width v0.1.3 [INFO] [stderr] Compiling mempool v0.3.1 [INFO] [stderr] Compiling strsim v0.4.0 [INFO] [stderr] Compiling alsa-sys v0.0.8 [INFO] [stderr] Compiling memchr v0.1.11 [INFO] [stderr] Compiling rand v0.3.14 [INFO] [stderr] Compiling clap v2.2.5 [INFO] [stderr] Compiling aho-corasick v0.5.1 [INFO] [stderr] Compiling ogg-sys v0.0.9 [INFO] [stderr] Compiling vorbis-sys v0.0.8 [INFO] [stderr] Compiling vorbisfile-sys v0.0.8 [INFO] [stderr] Compiling cpal v0.2.9 [INFO] [stderr] Compiling regex v0.1.65 [INFO] [stderr] Compiling vorbis v0.0.14 (https://github.com/mattias-p/vorbis-rs.git?branch=comments#089bab7d) [INFO] [stderr] Compiling digraph123 v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/stream.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | try!(stream.load()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/stream.rs:55:18 [INFO] [stdout] | [INFO] [stdout] 55 | Some(try!(first) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/stream.rs:105:32 [INFO] [stdout] | [INFO] [stdout] 105 | let data = try!(vorbis_packet).data; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/stream.rs:144:23 [INFO] [stdout] | [INFO] [stdout] 144 | let decoder = try!(vorbis::Decoder::new(file)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/stream.rs:145:28 [INFO] [stdout] | [INFO] [stdout] 145 | let splice_point = try!(decoder.get_comment("SPLICEPOINT")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/stream.rs:149:60 [INFO] [stdout] | [INFO] [stdout] 149 | ... let value = try!(u64::from_str(value)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/stream.rs:155:28 [INFO] [stdout] | [INFO] [stdout] 155 | let splice_point = try!(splice_point); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/stream.rs:156:22 [INFO] [stdout] | [INFO] [stdout] 156 | let stream = try!(VorbisStream::new(decoder)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/stream.rs:196:13 [INFO] [stdout] | [INFO] [stdout] 196 | try!(self.stream.load()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/stream.rs:223:25 [INFO] [stdout] | [INFO] [stdout] 223 | let tails = try!(player.load()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/stream.rs:254:26 [INFO] [stdout] | [INFO] [stdout] 254 | tails.extend(try!(new_tails)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/stream.rs:257:34 [INFO] [stdout] | [INFO] [stdout] 257 | self.track = try!(new_track); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:62:20 [INFO] [stdout] | [INFO] [stdout] 62 | let file = try!(fs::File::open(path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:63:27 [INFO] [stdout] | [INFO] [stdout] 63 | let mut decoder = try!(vorbis::Decoder::new(file)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:64:22 [INFO] [stdout] | [INFO] [stdout] 64 | let packet = try!(decoder.packets().next().expect("first packet")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:105:36 [INFO] [stdout] | [INFO] [stdout] 105 | Ok(Some((voice_config, try!(stream::Player::new(Box::new(tracks)))))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:128:26 [INFO] [stdout] | [INFO] [stdout] 128 | for entry in try!(fs::read_dir(dir)) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:129:29 [INFO] [stdout] | [INFO] [stdout] 129 | let entry = try!(entry); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:134:51 [INFO] [stdout] | [INFO] [stdout] 134 | if let Some((voice_config, player)) = try!(player_builder.build()) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/main.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | / lazy_static! { [INFO] [stdout] 70 | | static ref SECTION_RE: regex::Regex = regex::Regex::new(r"^([^-]+)-([^-]+)(?:-(.+))?.ogg$").unwrap(); [INFO] [stdout] 71 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/main.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | / lazy_static! { [INFO] [stdout] 70 | | static ref SECTION_RE: regex::Regex = regex::Regex::new(r"^([^-]+)-([^-]+)(?:-(.+))?.ogg$").unwrap(); [INFO] [stdout] 71 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/stream.rs:139:38 [INFO] [stdout] | [INFO] [stdout] 139 | error::Error::description(&why)) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/digraph.rs:66:14 [INFO] [stdout] | [INFO] [stdout] 66 | rng: Box, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 66 - rng: Box, [INFO] [stdout] 66 + rng: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/stream.rs:121:17 [INFO] [stdout] | [INFO] [stdout] 121 | stream: Box, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 121 - stream: Box, [INFO] [stdout] 121 + stream: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/stream.rs:212:20 [INFO] [stdout] | [INFO] [stdout] 212 | play_list: Box>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 212 - play_list: Box>>, [INFO] [stdout] 212 + play_list: Box>>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/stream.rs:268:22 [INFO] [stdout] | [INFO] [stdout] 268 | streams: Vec>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 268 - streams: Vec>, [INFO] [stdout] 268 + streams: Vec>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:113:22 [INFO] [stdout] | [INFO] [stdout] 113 | streams: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 113 - streams: Vec>, [INFO] [stdout] 113 + streams: Vec>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/digraph.rs:9:44 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn into_random_walk(self, rng: Box) -> IntoRandomWalk { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 9 - pub fn into_random_walk(self, rng: Box) -> IntoRandomWalk { [INFO] [stdout] 9 + pub fn into_random_walk(self, rng: Box) -> IntoRandomWalk { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/stream.rs:19:42 [INFO] [stdout] | [INFO] [stdout] 19 | fn load(&mut self) -> Result>>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 19 - fn load(&mut self) -> Result>>; [INFO] [stdout] 19 + fn load(&mut self) -> Result>>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/stream.rs:39:42 [INFO] [stdout] | [INFO] [stdout] 39 | fn load(&mut self) -> Result>> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 39 - fn load(&mut self) -> Result>> { [INFO] [stdout] 39 + fn load(&mut self) -> Result>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/stream.rs:98:42 [INFO] [stdout] | [INFO] [stdout] 98 | fn load(&mut self) -> Result>> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 98 - fn load(&mut self) -> Result>> { [INFO] [stdout] 98 + fn load(&mut self) -> Result>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/stream.rs:194:42 [INFO] [stdout] | [INFO] [stdout] 194 | fn load(&mut self) -> Result>> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 194 - fn load(&mut self) -> Result>> { [INFO] [stdout] 194 + fn load(&mut self) -> Result>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/stream.rs:216:28 [INFO] [stdout] | [INFO] [stdout] 216 | pub fn new(tracks: Box>>) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 216 - pub fn new(tracks: Box>>) -> Result { [INFO] [stdout] 216 + pub fn new(tracks: Box>>) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/stream.rs:246:42 [INFO] [stdout] | [INFO] [stdout] 246 | fn load(&mut self) -> Result>> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 246 - fn load(&mut self) -> Result>> { [INFO] [stdout] 246 + fn load(&mut self) -> Result>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/stream.rs:272:33 [INFO] [stdout] | [INFO] [stdout] 272 | pub fn new(streams: Vec>) -> Mixer { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 272 - pub fn new(streams: Vec>) -> Mixer { [INFO] [stdout] 272 + pub fn new(streams: Vec>) -> Mixer { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/stream.rs:306:42 [INFO] [stdout] | [INFO] [stdout] 306 | fn load(&mut self) -> Result>> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 306 - fn load(&mut self) -> Result>> { [INFO] [stdout] 306 + fn load(&mut self) -> Result>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/stream.rs:368:32 [INFO] [stdout] | [INFO] [stdout] 368 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 368 - fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] 368 + fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/stream.rs:371:49 [INFO] [stdout] | [INFO] [stdout] 371 | &Error::Io(ref err) => Some(err as &error::Error), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 371 - &Error::Io(ref err) => Some(err as &error::Error), [INFO] [stdout] 371 + &Error::Io(ref err) => Some(err as &dyn error::Error), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/stream.rs:372:52 [INFO] [stdout] | [INFO] [stdout] 372 | &Error::Parse(ref err) => Some(err as &error::Error), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 372 - &Error::Parse(ref err) => Some(err as &error::Error), [INFO] [stdout] 372 + &Error::Parse(ref err) => Some(err as &dyn error::Error), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/stream.rs:373:53 [INFO] [stdout] | [INFO] [stdout] 373 | &Error::Vorbis(ref err) => Some(err as &error::Error), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 373 - &Error::Vorbis(ref err) => Some(err as &error::Error), [INFO] [stdout] 373 + &Error::Vorbis(ref err) => Some(err as &dyn error::Error), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/stream.rs:374:62 [INFO] [stdout] | [INFO] [stdout] 374 | &Error::File(_, ref err) => Some(err.deref() as &error::Error), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 374 - &Error::File(_, ref err) => Some(err.deref() as &error::Error), [INFO] [stdout] 374 + &Error::File(_, ref err) => Some(err.deref() as &dyn error::Error), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/stream.rs:375:61 [INFO] [stdout] | [INFO] [stdout] 375 | &Error::Dir(_, ref err) => Some(err.deref() as &error::Error), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 375 - &Error::Dir(_, ref err) => Some(err.deref() as &error::Error), [INFO] [stdout] 375 + &Error::Dir(_, ref err) => Some(err.deref() as &dyn error::Error), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/stream.rs:413:61 [INFO] [stdout] | [INFO] [stdout] 413 | &::stream::Error::Io(_) => write!(f, "{}", self.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/stream.rs:414:64 [INFO] [stdout] | [INFO] [stdout] 414 | &::stream::Error::Parse(_) => write!(f, "{}", self.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/stream.rs:415:65 [INFO] [stdout] | [INFO] [stdout] 415 | &::stream::Error::Vorbis(_) => write!(f, "{}", self.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/stream.rs:418:46 [INFO] [stdout] | [INFO] [stdout] 418 | write!(f, "{}:\n * {}", self.description(), parts.join("\n * ")) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/stream.rs:420:67 [INFO] [stdout] | [INFO] [stdout] 420 | &::stream::Error::AudioFormat => write!(f, "{}", self.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/stream.rs:425:63 [INFO] [stdout] | [INFO] [stdout] 425 | &::stream::Error::NoItems => write!(f, "{}", self.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:27:32 [INFO] [stdout] | [INFO] [stdout] 27 | let mut err = $err as &std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 131 | print_error!(&err, "warning: ignoring file"); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `print_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 27 - let mut err = $err as &std::error::Error; [INFO] [stdout] 27 + let mut err = $err as &dyn std::error::Error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/main.rs:29:37 [INFO] [stdout] | [INFO] [stdout] 29 | while let Some(cause) = err.cause() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 131 | print_error!(&err, "warning: ignoring file"); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `print_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:27:32 [INFO] [stdout] | [INFO] [stdout] 27 | let mut err = $err as &std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 163 | let formats = insist!(formats, [INFO] [stdout] | _______________________- [INFO] [stdout] 164 | | "fatal: failed to get list of supported audio formats"); [INFO] [stdout] | |_____________________________________________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `print_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 27 - let mut err = $err as &std::error::Error; [INFO] [stdout] 27 + let mut err = $err as &dyn std::error::Error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/main.rs:29:37 [INFO] [stdout] | [INFO] [stdout] 29 | while let Some(cause) = err.cause() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 163 | let formats = insist!(formats, [INFO] [stdout] | _______________________- [INFO] [stdout] 164 | | "fatal: failed to get list of supported audio formats"); [INFO] [stdout] | |_____________________________________________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `print_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:27:32 [INFO] [stdout] | [INFO] [stdout] 27 | let mut err = $err as &std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 195 | print_error!(&err, "warning: ignoring directory"); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `print_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 27 - let mut err = $err as &std::error::Error; [INFO] [stdout] 27 + let mut err = $err as &dyn std::error::Error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/main.rs:29:37 [INFO] [stdout] | [INFO] [stdout] 29 | while let Some(cause) = err.cause() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 195 | print_error!(&err, "warning: ignoring directory"); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `print_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:27:32 [INFO] [stdout] | [INFO] [stdout] 27 | let mut err = $err as &std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 198 | let (voice_config, coefficient, mut mixer) = insist!(mixer_builder.build(), [INFO] [stdout] | __________________________________________________- [INFO] [stdout] 199 | | "fatal: failed to construct mixer"); [INFO] [stdout] | |____________________________________________________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `print_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 27 - let mut err = $err as &std::error::Error; [INFO] [stdout] 27 + let mut err = $err as &dyn std::error::Error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/main.rs:29:37 [INFO] [stdout] | [INFO] [stdout] 29 | while let Some(cause) = err.cause() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 198 | let (voice_config, coefficient, mut mixer) = insist!(mixer_builder.build(), [INFO] [stdout] | __________________________________________________- [INFO] [stdout] 199 | | "fatal: failed to construct mixer"); [INFO] [stdout] | |____________________________________________________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `print_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:27:32 [INFO] [stdout] | [INFO] [stdout] 27 | let mut err = $err as &std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | print_error!(&err, "warning: an error occurred loading the mixer"); [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `print_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 27 - let mut err = $err as &std::error::Error; [INFO] [stdout] 27 + let mut err = $err as &dyn std::error::Error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/main.rs:29:37 [INFO] [stdout] | [INFO] [stdout] 29 | while let Some(cause) = err.cause() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | print_error!(&err, "warning: an error occurred loading the mixer"); [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `print_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 58 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 28.29s [INFO] running `Command { std: "docker" "inspect" "3b2957372f009f72464b8c2c36fcc6a94768d04c6e9db9d398b1377d51cf78c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3b2957372f009f72464b8c2c36fcc6a94768d04c6e9db9d398b1377d51cf78c1", kill_on_drop: false }` [INFO] [stdout] 3b2957372f009f72464b8c2c36fcc6a94768d04c6e9db9d398b1377d51cf78c1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 5658ccaf9ba0b0fbd9544771beb32448144afa4d62f2e1764c6d56d1680b5236 [INFO] running `Command { std: "docker" "start" "-a" "5658ccaf9ba0b0fbd9544771beb32448144afa4d62f2e1764c6d56d1680b5236", kill_on_drop: false }` [INFO] [stderr] Compiling digraph123 v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/stream.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | try!(stream.load()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/stream.rs:55:18 [INFO] [stdout] | [INFO] [stdout] 55 | Some(try!(first) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/stream.rs:105:32 [INFO] [stdout] | [INFO] [stdout] 105 | let data = try!(vorbis_packet).data; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/stream.rs:144:23 [INFO] [stdout] | [INFO] [stdout] 144 | let decoder = try!(vorbis::Decoder::new(file)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/stream.rs:145:28 [INFO] [stdout] | [INFO] [stdout] 145 | let splice_point = try!(decoder.get_comment("SPLICEPOINT")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/stream.rs:149:60 [INFO] [stdout] | [INFO] [stdout] 149 | ... let value = try!(u64::from_str(value)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/stream.rs:155:28 [INFO] [stdout] | [INFO] [stdout] 155 | let splice_point = try!(splice_point); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/stream.rs:156:22 [INFO] [stdout] | [INFO] [stdout] 156 | let stream = try!(VorbisStream::new(decoder)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/stream.rs:196:13 [INFO] [stdout] | [INFO] [stdout] 196 | try!(self.stream.load()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/stream.rs:223:25 [INFO] [stdout] | [INFO] [stdout] 223 | let tails = try!(player.load()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/stream.rs:254:26 [INFO] [stdout] | [INFO] [stdout] 254 | tails.extend(try!(new_tails)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/stream.rs:257:34 [INFO] [stdout] | [INFO] [stdout] 257 | self.track = try!(new_track); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:62:20 [INFO] [stdout] | [INFO] [stdout] 62 | let file = try!(fs::File::open(path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:63:27 [INFO] [stdout] | [INFO] [stdout] 63 | let mut decoder = try!(vorbis::Decoder::new(file)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:64:22 [INFO] [stdout] | [INFO] [stdout] 64 | let packet = try!(decoder.packets().next().expect("first packet")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:105:36 [INFO] [stdout] | [INFO] [stdout] 105 | Ok(Some((voice_config, try!(stream::Player::new(Box::new(tracks)))))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:128:26 [INFO] [stdout] | [INFO] [stdout] 128 | for entry in try!(fs::read_dir(dir)) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:129:29 [INFO] [stdout] | [INFO] [stdout] 129 | let entry = try!(entry); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:134:51 [INFO] [stdout] | [INFO] [stdout] 134 | if let Some((voice_config, player)) = try!(player_builder.build()) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/main.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | / lazy_static! { [INFO] [stdout] 70 | | static ref SECTION_RE: regex::Regex = regex::Regex::new(r"^([^-]+)-([^-]+)(?:-(.+))?.ogg$").unwrap(); [INFO] [stdout] 71 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/main.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | / lazy_static! { [INFO] [stdout] 70 | | static ref SECTION_RE: regex::Regex = regex::Regex::new(r"^([^-]+)-([^-]+)(?:-(.+))?.ogg$").unwrap(); [INFO] [stdout] 71 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/stream.rs:139:38 [INFO] [stdout] | [INFO] [stdout] 139 | error::Error::description(&why)) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/digraph.rs:66:14 [INFO] [stdout] | [INFO] [stdout] 66 | rng: Box, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 66 - rng: Box, [INFO] [stdout] 66 + rng: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/stream.rs:121:17 [INFO] [stdout] | [INFO] [stdout] 121 | stream: Box, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 121 - stream: Box, [INFO] [stdout] 121 + stream: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/stream.rs:212:20 [INFO] [stdout] | [INFO] [stdout] 212 | play_list: Box>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 212 - play_list: Box>>, [INFO] [stdout] 212 + play_list: Box>>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/stream.rs:268:22 [INFO] [stdout] | [INFO] [stdout] 268 | streams: Vec>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 268 - streams: Vec>, [INFO] [stdout] 268 + streams: Vec>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:113:22 [INFO] [stdout] | [INFO] [stdout] 113 | streams: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 113 - streams: Vec>, [INFO] [stdout] 113 + streams: Vec>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/digraph.rs:9:44 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn into_random_walk(self, rng: Box) -> IntoRandomWalk { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 9 - pub fn into_random_walk(self, rng: Box) -> IntoRandomWalk { [INFO] [stdout] 9 + pub fn into_random_walk(self, rng: Box) -> IntoRandomWalk { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/stream.rs:19:42 [INFO] [stdout] | [INFO] [stdout] 19 | fn load(&mut self) -> Result>>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 19 - fn load(&mut self) -> Result>>; [INFO] [stdout] 19 + fn load(&mut self) -> Result>>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/stream.rs:39:42 [INFO] [stdout] | [INFO] [stdout] 39 | fn load(&mut self) -> Result>> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 39 - fn load(&mut self) -> Result>> { [INFO] [stdout] 39 + fn load(&mut self) -> Result>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/stream.rs:98:42 [INFO] [stdout] | [INFO] [stdout] 98 | fn load(&mut self) -> Result>> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 98 - fn load(&mut self) -> Result>> { [INFO] [stdout] 98 + fn load(&mut self) -> Result>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/stream.rs:194:42 [INFO] [stdout] | [INFO] [stdout] 194 | fn load(&mut self) -> Result>> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 194 - fn load(&mut self) -> Result>> { [INFO] [stdout] 194 + fn load(&mut self) -> Result>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/stream.rs:216:28 [INFO] [stdout] | [INFO] [stdout] 216 | pub fn new(tracks: Box>>) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 216 - pub fn new(tracks: Box>>) -> Result { [INFO] [stdout] 216 + pub fn new(tracks: Box>>) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/stream.rs:246:42 [INFO] [stdout] | [INFO] [stdout] 246 | fn load(&mut self) -> Result>> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 246 - fn load(&mut self) -> Result>> { [INFO] [stdout] 246 + fn load(&mut self) -> Result>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/stream.rs:272:33 [INFO] [stdout] | [INFO] [stdout] 272 | pub fn new(streams: Vec>) -> Mixer { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 272 - pub fn new(streams: Vec>) -> Mixer { [INFO] [stdout] 272 + pub fn new(streams: Vec>) -> Mixer { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/stream.rs:306:42 [INFO] [stdout] | [INFO] [stdout] 306 | fn load(&mut self) -> Result>> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 306 - fn load(&mut self) -> Result>> { [INFO] [stdout] 306 + fn load(&mut self) -> Result>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/stream.rs:368:32 [INFO] [stdout] | [INFO] [stdout] 368 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 368 - fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] 368 + fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/stream.rs:371:49 [INFO] [stdout] | [INFO] [stdout] 371 | &Error::Io(ref err) => Some(err as &error::Error), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 371 - &Error::Io(ref err) => Some(err as &error::Error), [INFO] [stdout] 371 + &Error::Io(ref err) => Some(err as &dyn error::Error), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/stream.rs:372:52 [INFO] [stdout] | [INFO] [stdout] 372 | &Error::Parse(ref err) => Some(err as &error::Error), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 372 - &Error::Parse(ref err) => Some(err as &error::Error), [INFO] [stdout] 372 + &Error::Parse(ref err) => Some(err as &dyn error::Error), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/stream.rs:373:53 [INFO] [stdout] | [INFO] [stdout] 373 | &Error::Vorbis(ref err) => Some(err as &error::Error), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 373 - &Error::Vorbis(ref err) => Some(err as &error::Error), [INFO] [stdout] 373 + &Error::Vorbis(ref err) => Some(err as &dyn error::Error), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/stream.rs:374:62 [INFO] [stdout] | [INFO] [stdout] 374 | &Error::File(_, ref err) => Some(err.deref() as &error::Error), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 374 - &Error::File(_, ref err) => Some(err.deref() as &error::Error), [INFO] [stdout] 374 + &Error::File(_, ref err) => Some(err.deref() as &dyn error::Error), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/stream.rs:375:61 [INFO] [stdout] | [INFO] [stdout] 375 | &Error::Dir(_, ref err) => Some(err.deref() as &error::Error), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 375 - &Error::Dir(_, ref err) => Some(err.deref() as &error::Error), [INFO] [stdout] 375 + &Error::Dir(_, ref err) => Some(err.deref() as &dyn error::Error), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/stream.rs:413:61 [INFO] [stdout] | [INFO] [stdout] 413 | &::stream::Error::Io(_) => write!(f, "{}", self.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/stream.rs:414:64 [INFO] [stdout] | [INFO] [stdout] 414 | &::stream::Error::Parse(_) => write!(f, "{}", self.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/stream.rs:415:65 [INFO] [stdout] | [INFO] [stdout] 415 | &::stream::Error::Vorbis(_) => write!(f, "{}", self.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/stream.rs:418:46 [INFO] [stdout] | [INFO] [stdout] 418 | write!(f, "{}:\n * {}", self.description(), parts.join("\n * ")) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/stream.rs:420:67 [INFO] [stdout] | [INFO] [stdout] 420 | &::stream::Error::AudioFormat => write!(f, "{}", self.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/stream.rs:425:63 [INFO] [stdout] | [INFO] [stdout] 425 | &::stream::Error::NoItems => write!(f, "{}", self.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:27:32 [INFO] [stdout] | [INFO] [stdout] 27 | let mut err = $err as &std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 131 | print_error!(&err, "warning: ignoring file"); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `print_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 27 - let mut err = $err as &std::error::Error; [INFO] [stdout] 27 + let mut err = $err as &dyn std::error::Error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/main.rs:29:37 [INFO] [stdout] | [INFO] [stdout] 29 | while let Some(cause) = err.cause() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 131 | print_error!(&err, "warning: ignoring file"); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `print_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:27:32 [INFO] [stdout] | [INFO] [stdout] 27 | let mut err = $err as &std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 163 | let formats = insist!(formats, [INFO] [stdout] | _______________________- [INFO] [stdout] 164 | | "fatal: failed to get list of supported audio formats"); [INFO] [stdout] | |_____________________________________________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `print_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 27 - let mut err = $err as &std::error::Error; [INFO] [stdout] 27 + let mut err = $err as &dyn std::error::Error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/main.rs:29:37 [INFO] [stdout] | [INFO] [stdout] 29 | while let Some(cause) = err.cause() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 163 | let formats = insist!(formats, [INFO] [stdout] | _______________________- [INFO] [stdout] 164 | | "fatal: failed to get list of supported audio formats"); [INFO] [stdout] | |_____________________________________________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `print_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:27:32 [INFO] [stdout] | [INFO] [stdout] 27 | let mut err = $err as &std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 195 | print_error!(&err, "warning: ignoring directory"); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `print_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 27 - let mut err = $err as &std::error::Error; [INFO] [stdout] 27 + let mut err = $err as &dyn std::error::Error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/main.rs:29:37 [INFO] [stdout] | [INFO] [stdout] 29 | while let Some(cause) = err.cause() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 195 | print_error!(&err, "warning: ignoring directory"); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `print_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:27:32 [INFO] [stdout] | [INFO] [stdout] 27 | let mut err = $err as &std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 198 | let (voice_config, coefficient, mut mixer) = insist!(mixer_builder.build(), [INFO] [stdout] | __________________________________________________- [INFO] [stdout] 199 | | "fatal: failed to construct mixer"); [INFO] [stdout] | |____________________________________________________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `print_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 27 - let mut err = $err as &std::error::Error; [INFO] [stdout] 27 + let mut err = $err as &dyn std::error::Error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/main.rs:29:37 [INFO] [stdout] | [INFO] [stdout] 29 | while let Some(cause) = err.cause() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 198 | let (voice_config, coefficient, mut mixer) = insist!(mixer_builder.build(), [INFO] [stdout] | __________________________________________________- [INFO] [stdout] 199 | | "fatal: failed to construct mixer"); [INFO] [stdout] | |____________________________________________________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `print_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:27:32 [INFO] [stdout] | [INFO] [stdout] 27 | let mut err = $err as &std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | print_error!(&err, "warning: an error occurred loading the mixer"); [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `print_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 27 - let mut err = $err as &std::error::Error; [INFO] [stdout] 27 + let mut err = $err as &dyn std::error::Error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/main.rs:29:37 [INFO] [stdout] | [INFO] [stdout] 29 | while let Some(cause) = err.cause() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | print_error!(&err, "warning: an error occurred loading the mixer"); [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `print_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 58 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.66s [INFO] running `Command { std: "docker" "inspect" "5658ccaf9ba0b0fbd9544771beb32448144afa4d62f2e1764c6d56d1680b5236", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5658ccaf9ba0b0fbd9544771beb32448144afa4d62f2e1764c6d56d1680b5236", kill_on_drop: false }` [INFO] [stdout] 5658ccaf9ba0b0fbd9544771beb32448144afa4d62f2e1764c6d56d1680b5236 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 564375e864ba747be653a630693f23314f93299722f600ace1a2f2a4f67d3ee9 [INFO] running `Command { std: "docker" "start" "-a" "564375e864ba747be653a630693f23314f93299722f600ace1a2f2a4f67d3ee9", kill_on_drop: false }` [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/stream.rs:69:9 [INFO] [stderr] | [INFO] [stderr] 69 | try!(stream.load()); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/stream.rs:55:18 [INFO] [stderr] | [INFO] [stderr] 55 | Some(try!(first) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/stream.rs:105:32 [INFO] [stderr] | [INFO] [stderr] 105 | let data = try!(vorbis_packet).data; [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/stream.rs:144:23 [INFO] [stderr] | [INFO] [stderr] 144 | let decoder = try!(vorbis::Decoder::new(file)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/stream.rs:145:28 [INFO] [stderr] | [INFO] [stderr] 145 | let splice_point = try!(decoder.get_comment("SPLICEPOINT")); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/stream.rs:149:60 [INFO] [stderr] | [INFO] [stderr] 149 | ... let value = try!(u64::from_str(value)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/stream.rs:155:28 [INFO] [stderr] | [INFO] [stderr] 155 | let splice_point = try!(splice_point); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/stream.rs:156:22 [INFO] [stderr] | [INFO] [stderr] 156 | let stream = try!(VorbisStream::new(decoder)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/stream.rs:196:13 [INFO] [stderr] | [INFO] [stderr] 196 | try!(self.stream.load()); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/stream.rs:223:25 [INFO] [stderr] | [INFO] [stderr] 223 | let tails = try!(player.load()); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/stream.rs:254:26 [INFO] [stderr] | [INFO] [stderr] 254 | tails.extend(try!(new_tails)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/stream.rs:257:34 [INFO] [stderr] | [INFO] [stderr] 257 | self.track = try!(new_track); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/main.rs:62:20 [INFO] [stderr] | [INFO] [stderr] 62 | let file = try!(fs::File::open(path)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/main.rs:63:27 [INFO] [stderr] | [INFO] [stderr] 63 | let mut decoder = try!(vorbis::Decoder::new(file)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/main.rs:64:22 [INFO] [stderr] | [INFO] [stderr] 64 | let packet = try!(decoder.packets().next().expect("first packet")); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/main.rs:105:36 [INFO] [stderr] | [INFO] [stderr] 105 | Ok(Some((voice_config, try!(stream::Player::new(Box::new(tracks)))))) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/main.rs:128:26 [INFO] [stderr] | [INFO] [stderr] 128 | for entry in try!(fs::read_dir(dir)) { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/main.rs:129:29 [INFO] [stderr] | [INFO] [stderr] 129 | let entry = try!(entry); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/main.rs:134:51 [INFO] [stderr] | [INFO] [stderr] 134 | if let Some((voice_config, player)) = try!(player_builder.build()) { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/main.rs:69:9 [INFO] [stderr] | [INFO] [stderr] 69 | / lazy_static! { [INFO] [stderr] 70 | | static ref SECTION_RE: regex::Regex = regex::Regex::new(r"^([^-]+)-([^-]+)(?:-(.+))?.ogg$").unwrap(); [INFO] [stderr] 71 | | } [INFO] [stderr] | |_________^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/stream.rs:139:38 [INFO] [stderr] | [INFO] [stderr] 139 | error::Error::description(&why)) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/digraph.rs:66:14 [INFO] [stderr] | [INFO] [stderr] 66 | rng: Box, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 66 - rng: Box, [INFO] [stderr] 66 + rng: Box, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/stream.rs:121:17 [INFO] [stderr] | [INFO] [stderr] 121 | stream: Box, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 121 - stream: Box, [INFO] [stderr] 121 + stream: Box, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/stream.rs:212:20 [INFO] [stderr] | [INFO] [stderr] 212 | play_list: Box>>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 212 - play_list: Box>>, [INFO] [stderr] 212 + play_list: Box>>, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/stream.rs:268:22 [INFO] [stderr] | [INFO] [stderr] 268 | streams: Vec>, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 268 - streams: Vec>, [INFO] [stderr] 268 + streams: Vec>, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:113:22 [INFO] [stderr] | [INFO] [stderr] 113 | streams: Vec>, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 113 - streams: Vec>, [INFO] [stderr] 113 + streams: Vec>, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/digraph.rs:9:44 [INFO] [stderr] | [INFO] [stderr] 9 | pub fn into_random_walk(self, rng: Box) -> IntoRandomWalk { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 9 - pub fn into_random_walk(self, rng: Box) -> IntoRandomWalk { [INFO] [stderr] 9 + pub fn into_random_walk(self, rng: Box) -> IntoRandomWalk { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/stream.rs:19:42 [INFO] [stderr] | [INFO] [stderr] 19 | fn load(&mut self) -> Result>>; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 19 - fn load(&mut self) -> Result>>; [INFO] [stderr] 19 + fn load(&mut self) -> Result>>; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/stream.rs:39:42 [INFO] [stderr] | [INFO] [stderr] 39 | fn load(&mut self) -> Result>> { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 39 - fn load(&mut self) -> Result>> { [INFO] [stderr] 39 + fn load(&mut self) -> Result>> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/stream.rs:98:42 [INFO] [stderr] | [INFO] [stderr] 98 | fn load(&mut self) -> Result>> { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 98 - fn load(&mut self) -> Result>> { [INFO] [stderr] 98 + fn load(&mut self) -> Result>> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/stream.rs:194:42 [INFO] [stderr] | [INFO] [stderr] 194 | fn load(&mut self) -> Result>> { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 194 - fn load(&mut self) -> Result>> { [INFO] [stderr] 194 + fn load(&mut self) -> Result>> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/stream.rs:216:28 [INFO] [stderr] | [INFO] [stderr] 216 | pub fn new(tracks: Box>>) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 216 - pub fn new(tracks: Box>>) -> Result { [INFO] [stderr] 216 + pub fn new(tracks: Box>>) -> Result { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/stream.rs:246:42 [INFO] [stderr] | [INFO] [stderr] 246 | fn load(&mut self) -> Result>> { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 246 - fn load(&mut self) -> Result>> { [INFO] [stderr] 246 + fn load(&mut self) -> Result>> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/stream.rs:272:33 [INFO] [stderr] | [INFO] [stderr] 272 | pub fn new(streams: Vec>) -> Mixer { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 272 - pub fn new(streams: Vec>) -> Mixer { [INFO] [stderr] 272 + pub fn new(streams: Vec>) -> Mixer { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/stream.rs:306:42 [INFO] [stderr] | [INFO] [stderr] 306 | fn load(&mut self) -> Result>> { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 306 - fn load(&mut self) -> Result>> { [INFO] [stderr] 306 + fn load(&mut self) -> Result>> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/stream.rs:368:32 [INFO] [stderr] | [INFO] [stderr] 368 | fn cause(&self) -> Option<&error::Error> { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 368 - fn cause(&self) -> Option<&error::Error> { [INFO] [stderr] 368 + fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/stream.rs:371:49 [INFO] [stderr] | [INFO] [stderr] 371 | &Error::Io(ref err) => Some(err as &error::Error), [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 371 - &Error::Io(ref err) => Some(err as &error::Error), [INFO] [stderr] 371 + &Error::Io(ref err) => Some(err as &dyn error::Error), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/stream.rs:372:52 [INFO] [stderr] | [INFO] [stderr] 372 | &Error::Parse(ref err) => Some(err as &error::Error), [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 372 - &Error::Parse(ref err) => Some(err as &error::Error), [INFO] [stderr] 372 + &Error::Parse(ref err) => Some(err as &dyn error::Error), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/stream.rs:373:53 [INFO] [stderr] | [INFO] [stderr] 373 | &Error::Vorbis(ref err) => Some(err as &error::Error), [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 373 - &Error::Vorbis(ref err) => Some(err as &error::Error), [INFO] [stderr] 373 + &Error::Vorbis(ref err) => Some(err as &dyn error::Error), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/stream.rs:374:62 [INFO] [stderr] | [INFO] [stderr] 374 | &Error::File(_, ref err) => Some(err.deref() as &error::Error), [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 374 - &Error::File(_, ref err) => Some(err.deref() as &error::Error), [INFO] [stderr] 374 + &Error::File(_, ref err) => Some(err.deref() as &dyn error::Error), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/stream.rs:375:61 [INFO] [stderr] | [INFO] [stderr] 375 | &Error::Dir(_, ref err) => Some(err.deref() as &error::Error), [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 375 - &Error::Dir(_, ref err) => Some(err.deref() as &error::Error), [INFO] [stderr] 375 + &Error::Dir(_, ref err) => Some(err.deref() as &dyn error::Error), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/stream.rs:413:61 [INFO] [stderr] | [INFO] [stderr] 413 | &::stream::Error::Io(_) => write!(f, "{}", self.description()), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/stream.rs:414:64 [INFO] [stderr] | [INFO] [stderr] 414 | &::stream::Error::Parse(_) => write!(f, "{}", self.description()), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/stream.rs:415:65 [INFO] [stderr] | [INFO] [stderr] 415 | &::stream::Error::Vorbis(_) => write!(f, "{}", self.description()), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/stream.rs:418:46 [INFO] [stderr] | [INFO] [stderr] 418 | write!(f, "{}:\n * {}", self.description(), parts.join("\n * ")) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/stream.rs:420:67 [INFO] [stderr] | [INFO] [stderr] 420 | &::stream::Error::AudioFormat => write!(f, "{}", self.description()), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/stream.rs:425:63 [INFO] [stderr] | [INFO] [stderr] 425 | &::stream::Error::NoItems => write!(f, "{}", self.description()), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:27:32 [INFO] [stderr] | [INFO] [stderr] 27 | let mut err = $err as &std::error::Error; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 131 | print_error!(&err, "warning: ignoring file"); [INFO] [stderr] | -------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `print_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 27 - let mut err = $err as &std::error::Error; [INFO] [stderr] 27 + let mut err = $err as &dyn std::error::Error; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stderr] --> src/main.rs:29:37 [INFO] [stderr] | [INFO] [stderr] 29 | while let Some(cause) = err.cause() { [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 131 | print_error!(&err, "warning: ignoring file"); [INFO] [stderr] | -------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `print_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:27:32 [INFO] [stderr] | [INFO] [stderr] 27 | let mut err = $err as &std::error::Error; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 163 | let formats = insist!(formats, [INFO] [stderr] | _______________________- [INFO] [stderr] 164 | | "fatal: failed to get list of supported audio formats"); [INFO] [stderr] | |_____________________________________________________________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `print_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 27 - let mut err = $err as &std::error::Error; [INFO] [stderr] 27 + let mut err = $err as &dyn std::error::Error; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stderr] --> src/main.rs:29:37 [INFO] [stderr] | [INFO] [stderr] 29 | while let Some(cause) = err.cause() { [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 163 | let formats = insist!(formats, [INFO] [stderr] | _______________________- [INFO] [stderr] 164 | | "fatal: failed to get list of supported audio formats"); [INFO] [stderr] | |_____________________________________________________________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `print_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:27:32 [INFO] [stderr] | [INFO] [stderr] 27 | let mut err = $err as &std::error::Error; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 195 | print_error!(&err, "warning: ignoring directory"); [INFO] [stderr] | ------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `print_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 27 - let mut err = $err as &std::error::Error; [INFO] [stderr] 27 + let mut err = $err as &dyn std::error::Error; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stderr] --> src/main.rs:29:37 [INFO] [stderr] | [INFO] [stderr] 29 | while let Some(cause) = err.cause() { [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 195 | print_error!(&err, "warning: ignoring directory"); [INFO] [stderr] | ------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `print_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:27:32 [INFO] [stderr] | [INFO] [stderr] 27 | let mut err = $err as &std::error::Error; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 198 | let (voice_config, coefficient, mut mixer) = insist!(mixer_builder.build(), [INFO] [stderr] | __________________________________________________- [INFO] [stderr] 199 | | "fatal: failed to construct mixer"); [INFO] [stderr] | |____________________________________________________________________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `print_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 27 - let mut err = $err as &std::error::Error; [INFO] [stderr] 27 + let mut err = $err as &dyn std::error::Error; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stderr] --> src/main.rs:29:37 [INFO] [stderr] | [INFO] [stderr] 29 | while let Some(cause) = err.cause() { [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 198 | let (voice_config, coefficient, mut mixer) = insist!(mixer_builder.build(), [INFO] [stderr] | __________________________________________________- [INFO] [stderr] 199 | | "fatal: failed to construct mixer"); [INFO] [stderr] | |____________________________________________________________________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `print_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:27:32 [INFO] [stderr] | [INFO] [stderr] 27 | let mut err = $err as &std::error::Error; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 211 | print_error!(&err, "warning: an error occurred loading the mixer"); [INFO] [stderr] | ------------------------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `print_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 27 - let mut err = $err as &std::error::Error; [INFO] [stderr] 27 + let mut err = $err as &dyn std::error::Error; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stderr] --> src/main.rs:29:37 [INFO] [stderr] | [INFO] [stderr] 29 | while let Some(cause) = err.cause() { [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 211 | print_error!(&err, "warning: an error occurred loading the mixer"); [INFO] [stderr] | ------------------------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `print_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `digraph123` (bin "digraph123" test) generated 58 warnings (1 duplicate) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/digraph123-a8949ce6b4025eba) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "564375e864ba747be653a630693f23314f93299722f600ace1a2f2a4f67d3ee9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "564375e864ba747be653a630693f23314f93299722f600ace1a2f2a4f67d3ee9", kill_on_drop: false }` [INFO] [stdout] 564375e864ba747be653a630693f23314f93299722f600ace1a2f2a4f67d3ee9