[INFO] fetching crate waveform 0.3.2... [INFO] checking waveform-0.3.2 against master#90442458ac46b1d5eed752c316da25450f67285b for pr-81477 [INFO] extracting crate waveform 0.3.2 into /workspace/builds/worker-14/source [INFO] validating manifest of crates.io crate waveform 0.3.2 on toolchain 90442458ac46b1d5eed752c316da25450f67285b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+90442458ac46b1d5eed752c316da25450f67285b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate waveform 0.3.2 [INFO] finished tweaking crates.io crate waveform 0.3.2 [INFO] tweaked toml for crates.io crate waveform 0.3.2 written to /workspace/builds/worker-14/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+90442458ac46b1d5eed752c316da25450f67285b" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+90442458ac46b1d5eed752c316da25450f67285b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:ea7d7bff36b2ba8ce4de8bba1d2dea90376bc481f1a945a913994a8c492e40c1" "/opt/rustwide/cargo-home/bin/cargo" "+90442458ac46b1d5eed752c316da25450f67285b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 72db26496f8570720a12abf5c034fcabc0603ab8acdc552a756e764f9cf6e715 [INFO] running `Command { std: "docker" "start" "-a" "72db26496f8570720a12abf5c034fcabc0603ab8acdc552a756e764f9cf6e715", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "72db26496f8570720a12abf5c034fcabc0603ab8acdc552a756e764f9cf6e715", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "72db26496f8570720a12abf5c034fcabc0603ab8acdc552a756e764f9cf6e715", kill_on_drop: false }` [INFO] [stdout] 72db26496f8570720a12abf5c034fcabc0603ab8acdc552a756e764f9cf6e715 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "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:ea7d7bff36b2ba8ce4de8bba1d2dea90376bc481f1a945a913994a8c492e40c1" "/opt/rustwide/cargo-home/bin/cargo" "+90442458ac46b1d5eed752c316da25450f67285b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 95964a5508504f5f1681d62ec372d7439bdae56ca9e2e8da7f8a3c9f1d4c24c6 [INFO] running `Command { std: "docker" "start" "-a" "95964a5508504f5f1681d62ec372d7439bdae56ca9e2e8da7f8a3c9f1d4c24c6", kill_on_drop: false }` [INFO] [stderr] Checking rlibc v1.0.0 [INFO] [stderr] Checking waveform v0.3.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/misc.rs:66:102 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn new(amp_min: f64, amp_max: f64, foreground: Color, background: Color) -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/misc.rs:92:90 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn set_colors(&mut self, background: Color, foreground: Color) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/binned.rs:36:127 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn new(samples: &SampleSequence, bin_size: usize, config: WaveformConfig) -> Result, Box> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/binned.rs:125:160 [INFO] [stdout] | [INFO] [stdout] 125 | ...8], full_shape: (usize, usize)) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/multi.rs:46:30 [INFO] [stdout] | [INFO] [stdout] 46 | .insert(*bs, try!(BinnedWaveformRenderer::new(samples, *bs, config))); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/multi.rs:30:110 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn new(samples: &SampleSequence, bin_sizes: &[usize], config: WaveformConfig) -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/multi.rs:123:164 [INFO] [stdout] | [INFO] [stdout] 123 | ...8], full_shape: (usize, usize)) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/misc.rs:66:102 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn new(amp_min: f64, amp_max: f64, foreground: Color, background: Color) -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/misc.rs:92:90 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn set_colors(&mut self, background: Color, foreground: Color) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/binned.rs:36:127 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn new(samples: &SampleSequence, bin_size: usize, config: WaveformConfig) -> Result, Box> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/binned.rs:125:160 [INFO] [stdout] | [INFO] [stdout] 125 | ...8], full_shape: (usize, usize)) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/binned.rs:412:22 [INFO] [stdout] | [INFO] [stdout] 412 | let _test: &(Sync+Send) = 𝔴 [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Sync+Send` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/multi.rs:46:30 [INFO] [stdout] | [INFO] [stdout] 46 | .insert(*bs, try!(BinnedWaveformRenderer::new(samples, *bs, config))); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/multi.rs:30:110 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn new(samples: &SampleSequence, bin_sizes: &[usize], config: WaveformConfig) -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/multi.rs:123:164 [INFO] [stdout] | [INFO] [stdout] 123 | ...8], full_shape: (usize, usize)) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/multi.rs:178:22 [INFO] [stdout] | [INFO] [stdout] 178 | let _test: &(Sync+Send) = 𝔴 [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Sync+Send` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c1_is_scalar` [INFO] [stdout] --> src/misc.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | let mut c1_is_scalar = false; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_c1_is_scalar` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c2_is_scalar` [INFO] [stdout] --> src/misc.rs:33:17 [INFO] [stdout] | [INFO] [stdout] 33 | let mut c2_is_scalar = false; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_c2_is_scalar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/misc.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | let mut c1_is_scalar = false; [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/misc.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | let mut c2_is_scalar = false; [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c1_is_scalar` [INFO] [stdout] --> src/misc.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | let mut c1_is_scalar = false; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_c1_is_scalar` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c2_is_scalar` [INFO] [stdout] --> src/misc.rs:33:17 [INFO] [stdout] | [INFO] [stdout] 33 | let mut c2_is_scalar = false; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_c2_is_scalar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/misc.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | let mut c1_is_scalar = false; [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/misc.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | let mut c2_is_scalar = false; [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vec` [INFO] [stdout] --> examples/multi.rs:85:13 [INFO] [stdout] | [INFO] [stdout] 85 | let mut vec: Vec = [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_vec` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/multi.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | let mut vec: Vec = [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vec` [INFO] [stdout] --> examples/binned.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | let vec: Vec = [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_vec` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant named `RGBA` found for enum `waveform::Color` [INFO] [stdout] --> benches/render.rs:23:16 [INFO] [stdout] | [INFO] [stdout] 23 | Color::RGBA { [INFO] [stdout] | ^^^^ variant not found in `waveform::Color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant named `RGBA` found for enum `waveform::Color` [INFO] [stdout] --> benches/render.rs:29:16 [INFO] [stdout] | [INFO] [stdout] 29 | Color::RGBA { [INFO] [stdout] | ^^^^ variant not found in `waveform::Color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `waveform` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "95964a5508504f5f1681d62ec372d7439bdae56ca9e2e8da7f8a3c9f1d4c24c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "95964a5508504f5f1681d62ec372d7439bdae56ca9e2e8da7f8a3c9f1d4c24c6", kill_on_drop: false }` [INFO] [stdout] 95964a5508504f5f1681d62ec372d7439bdae56ca9e2e8da7f8a3c9f1d4c24c6