[INFO] cloning repository https://github.com/hdgittest/enginsesound [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hdgittest/enginsesound" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhdgittest%2Fenginsesound", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhdgittest%2Fenginsesound'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1a5b26181fbefa55a16b8b012dccb0ba21cea79c [INFO] building hdgittest/enginsesound against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhdgittest%2Fenginsesound" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/hdgittest/enginsesound [INFO] finished tweaking git repo https://github.com/hdgittest/enginsesound [INFO] tweaked toml for git repo https://github.com/hdgittest/enginsesound written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/hdgittest/enginsesound on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/hdgittest/enginsesound already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rustfft v4.0.0 [INFO] [stderr] Downloaded transpose v0.2.0 [INFO] [stderr] Downloaded native-dialog v0.5.2 [INFO] [stderr] Downloaded piston-float v1.0.0 [INFO] [stderr] Downloaded piston-viewport v1.0.0 [INFO] [stderr] Downloaded paste v1.0.4 [INFO] [stderr] Downloaded wayland-egl v0.28.2 [INFO] [stderr] Downloaded conrod_derive v0.71.0 [INFO] [stderr] Downloaded pistoncore-input v1.0.0 [INFO] [stderr] Downloaded pin-project-lite v0.1.11 [INFO] [stderr] Downloaded conrod_glium v0.71.0 [INFO] [stderr] Downloaded glutin v0.25.1 [INFO] [stderr] Downloaded hound v3.4.0 [INFO] [stderr] Downloaded crossbeam-channel v0.5.0 [INFO] [stderr] Downloaded xml-rs v0.8.14 [INFO] [stderr] Downloaded syn v1.0.55 [INFO] [stderr] Downloaded alsa-sys v0.3.0 [INFO] [stderr] Downloaded conrod_core v0.71.0 [INFO] [stderr] Downloaded tar v0.4.38 [INFO] [stderr] Downloaded addr2line v0.14.0 [INFO] [stderr] Downloaded crossbeam-utils v0.8.1 [INFO] [stderr] Downloaded winit v0.23.0 [INFO] [stderr] Downloaded standback v0.2.13 [INFO] [stderr] Downloaded num-complex v0.3.1 [INFO] [stderr] Downloaded wfd v0.1.6 [INFO] [stderr] Downloaded conrod_winit v0.71.0 [INFO] [stderr] Downloaded dirs v3.0.1 [INFO] [stderr] Downloaded which v4.0.2 [INFO] [stderr] Downloaded glium v0.28.0 [INFO] [stderr] Downloaded combine v4.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 85b6937216d10d139ca8689413b25dce2fcde5a4ce2eb2989172fe83615a1992 [INFO] running `Command { std: "docker" "start" "-a" "85b6937216d10d139ca8689413b25dce2fcde5a4ce2eb2989172fe83615a1992", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "85b6937216d10d139ca8689413b25dce2fcde5a4ce2eb2989172fe83615a1992", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "85b6937216d10d139ca8689413b25dce2fcde5a4ce2eb2989172fe83615a1992", kill_on_drop: false }` [INFO] [stdout] 85b6937216d10d139ca8689413b25dce2fcde5a4ce2eb2989172fe83615a1992 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 237187f3b4b7f1cc1bd4d7ee4cbb0ae563d1125656dc836aad44503379b32606 [INFO] running `Command { std: "docker" "start" "-a" "237187f3b4b7f1cc1bd4d7ee4cbb0ae563d1125656dc836aad44503379b32606", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling xml-rs v0.8.14 [INFO] [stderr] Compiling syn v1.0.55 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling libloading v0.6.6 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling wayland-sys v0.28.2 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling once_cell v1.5.2 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling ttf-parser v0.6.2 [INFO] [stderr] Compiling dlib v0.4.2 [INFO] [stderr] Compiling wayland-sys v0.23.6 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.4 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling nom v6.0.1 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling winit v0.23.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling alsa-sys v0.3.0 [INFO] [stderr] Compiling piston-float v1.0.0 [INFO] [stderr] Compiling gimli v0.23.0 [INFO] [stderr] Compiling adler v0.2.3 [INFO] [stderr] Compiling nix v0.15.0 [INFO] [stderr] Compiling piston-viewport v1.0.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling rustc-demangle v0.1.18 [INFO] [stderr] Compiling object v0.22.0 [INFO] [stderr] Compiling cpal v0.13.1 [INFO] [stderr] Compiling strength_reduce v0.2.3 [INFO] [stderr] Compiling takeable-option v0.5.0 [INFO] [stderr] Compiling wayland-scanner v0.28.2 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling wayland-scanner v0.23.6 [INFO] [stderr] Compiling owned_ttf_parser v0.6.0 [INFO] [stderr] Compiling serde_json v1.0.61 [INFO] [stderr] Compiling rusttype v0.9.2 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling ordered-float v1.1.1 [INFO] [stderr] Compiling crossbeam-deque v0.7.4 [INFO] [stderr] Compiling line_drawing v0.7.0 [INFO] [stderr] Compiling andrew v0.3.1 [INFO] [stderr] Compiling num-complex v0.3.1 [INFO] [stderr] Compiling crossbeam-channel v0.5.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling xcb v0.9.0 [INFO] [stderr] Compiling glutin_glx_sys v0.1.7 [INFO] [stderr] Compiling rusttype v0.8.3 [INFO] [stderr] Compiling wayland-client v0.28.2 [INFO] [stderr] Compiling wayland-protocols v0.28.2 [INFO] [stderr] Compiling rusttype v0.7.9 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling glutin_egl_sys v0.1.5 [INFO] [stderr] Compiling andrew v0.2.1 [INFO] [stderr] Compiling wayland-client v0.23.6 [INFO] [stderr] Compiling wayland-protocols v0.23.6 [INFO] [stderr] Compiling parking_lot_core v0.8.2 [INFO] [stderr] Compiling xcursor v0.3.3 [INFO] [stderr] Compiling memmap2 v0.1.0 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling raw-window-handle v0.3.3 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling addr2line v0.14.0 [INFO] [stderr] Compiling glium v0.28.0 [INFO] [stderr] Compiling dirs-sys v0.3.5 [INFO] [stderr] Compiling backtrace v0.3.55 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling dirs v3.0.1 [INFO] [stderr] Compiling transpose v0.2.0 [INFO] [stderr] Compiling rustfft v4.0.0 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling rand_xorshift v0.3.0 [INFO] [stderr] Compiling hound v3.4.0 [INFO] [stderr] Compiling paste v1.0.4 [INFO] [stderr] Compiling wayland-commons v0.23.6 [INFO] [stderr] Compiling conrod_winit v0.71.0 [INFO] [stderr] Compiling num v0.2.1 [INFO] [stderr] Compiling wayland-commons v0.28.2 [INFO] [stderr] Compiling calloop v0.6.5 [INFO] [stderr] Compiling thiserror-impl v1.0.22 [INFO] [stderr] Compiling conrod_derive v0.71.0 [INFO] [stderr] Compiling thiserror v1.0.22 [INFO] [stderr] Compiling which v4.0.2 [INFO] [stderr] Compiling wayland-cursor v0.28.2 [INFO] [stderr] Compiling wayland-egl v0.28.2 [INFO] [stderr] Compiling native-dialog v0.5.2 [INFO] [stderr] Compiling alsa v0.4.3 [INFO] [stderr] Compiling x11-clipboard v0.5.1 [INFO] [stderr] Compiling pistoncore-input v1.0.0 [INFO] [stderr] Compiling ron v0.6.4 [INFO] [stderr] Compiling smithay-client-toolkit v0.6.6 [INFO] [stderr] Compiling smithay-client-toolkit v0.12.1 [INFO] [stderr] Compiling smithay-clipboard v0.4.0 [INFO] [stderr] Compiling copypasta v0.6.3 [INFO] [stderr] Compiling conrod_core v0.71.0 [INFO] [stderr] Compiling glutin v0.25.1 [INFO] [stderr] Compiling conrod_glium v0.71.0 [INFO] [stderr] Compiling enginesound v1.5.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: constant `MAX_CYLINDERS` is never used [INFO] [stdout] --> src/constants.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | pub const MAX_CYLINDERS: usize = 16; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MUFFLER_ELEMENT_COUNT` is never used [INFO] [stdout] --> src/constants.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | pub const MUFFLER_ELEMENT_COUNT: usize = 4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `block_lock` is never read [INFO] [stdout] --> src/recorder.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Recorder { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 19 | block_lock: Arc>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `start`, `get_len`, `stop`, and `stop_wait` are never used [INFO] [stdout] --> src/recorder.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl Recorder { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 23 | pub fn new(file: PathBuf, sample_rate: u32) -> Recorder { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | fn start(&self, recv: crossbeam_channel::Receiver>, file: PathBuf, sample_rate: u32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub fn get_len(&self) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | pub fn stop(&self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | pub fn stop_wait(&self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_engine` is never used [INFO] [stdout] --> src/utils.rs:29:15 [INFO] [stdout] | [INFO] [stdout] 29 | pub(crate) fn load_engine(path: &str, sample_rate: u32, json: bool) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/gen.rs:67:17 [INFO] [stdout] | [INFO] [stdout] 67 | std::mem::transmute::( [INFO] [stdout] | ^------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | _________________help: replace this with: `u128::to_ne_bytes` [INFO] [stdout] | | [INFO] [stdout] 68 | | SystemTime::now() [INFO] [stdout] 69 | | .duration_since(SystemTime::UNIX_EPOCH) [INFO] [stdout] 70 | | .unwrap() [INFO] [stdout] 71 | | .as_nanos(), [INFO] [stdout] 72 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `gui` [INFO] [stdout] --> src/main.rs:161:19 [INFO] [stdout] | [INFO] [stdout] 161 | #[cfg(not(gui))] [INFO] [stdout] | ^^^ help: found config with similar value: `feature = "gui"` [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(gui)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(gui)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/gui.rs:1197:21 [INFO] [stdout] | [INFO] [stdout] 1197 | for (i, mut cyl) in generator.engine.cylinders.iter_mut().enumerate() { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:197:21 [INFO] [stdout] | [INFO] [stdout] 197 | let mut window = glium::glutin::window::WindowBuilder::new() [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `title`, `cylinder_offset_growl`, and `cylinder_pressure_release_factor` are never read [INFO] [stdout] --> src/gui.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct Ids { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 41 | pub canvas: widget::Id, [INFO] [stdout] 42 | pub title: widget::Id, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub cylinder_offset_growl: widget::Id, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub cylinder_pressure_release_factor: widget::Id, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/gen.rs:67:17 [INFO] [stdout] | [INFO] [stdout] 67 | std::mem::transmute::( [INFO] [stdout] | ^------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | _________________help: replace this with: `u128::to_ne_bytes` [INFO] [stdout] | | [INFO] [stdout] 68 | | SystemTime::now() [INFO] [stdout] 69 | | .duration_since(SystemTime::UNIX_EPOCH) [INFO] [stdout] 70 | | .unwrap() [INFO] [stdout] 71 | | .as_nanos(), [INFO] [stdout] 72 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 46s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v6.0.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 5` [INFO] running `Command { std: "docker" "inspect" "237187f3b4b7f1cc1bd4d7ee4cbb0ae563d1125656dc836aad44503379b32606", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "237187f3b4b7f1cc1bd4d7ee4cbb0ae563d1125656dc836aad44503379b32606", kill_on_drop: false }` [INFO] [stdout] 237187f3b4b7f1cc1bd4d7ee4cbb0ae563d1125656dc836aad44503379b32606 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6aedea32abd84c5c46005e8708892f71612a85e46ff2cade49063bd822756eec [INFO] running `Command { std: "docker" "start" "-a" "6aedea32abd84c5c46005e8708892f71612a85e46ff2cade49063bd822756eec", kill_on_drop: false }` [INFO] [stderr] Compiling enginesound v1.5.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: constant `MAX_CYLINDERS` is never used [INFO] [stdout] --> src/constants.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | pub const MAX_CYLINDERS: usize = 16; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MUFFLER_ELEMENT_COUNT` is never used [INFO] [stdout] --> src/constants.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | pub const MUFFLER_ELEMENT_COUNT: usize = 4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `block_lock` is never read [INFO] [stdout] --> src/recorder.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Recorder { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 19 | block_lock: Arc>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `start`, `get_len`, `stop`, and `stop_wait` are never used [INFO] [stdout] --> src/recorder.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl Recorder { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 23 | pub fn new(file: PathBuf, sample_rate: u32) -> Recorder { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | fn start(&self, recv: crossbeam_channel::Receiver>, file: PathBuf, sample_rate: u32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub fn get_len(&self) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | pub fn stop(&self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | pub fn stop_wait(&self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_engine` is never used [INFO] [stdout] --> src/utils.rs:29:15 [INFO] [stdout] | [INFO] [stdout] 29 | pub(crate) fn load_engine(path: &str, sample_rate: u32, json: bool) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/gen.rs:67:17 [INFO] [stdout] | [INFO] [stdout] 67 | std::mem::transmute::( [INFO] [stdout] | ^------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | _________________help: replace this with: `u128::to_ne_bytes` [INFO] [stdout] | | [INFO] [stdout] 68 | | SystemTime::now() [INFO] [stdout] 69 | | .duration_since(SystemTime::UNIX_EPOCH) [INFO] [stdout] 70 | | .unwrap() [INFO] [stdout] 71 | | .as_nanos(), [INFO] [stdout] 72 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `gui` [INFO] [stdout] --> src/main.rs:161:19 [INFO] [stdout] | [INFO] [stdout] 161 | #[cfg(not(gui))] [INFO] [stdout] | ^^^ help: found config with similar value: `feature = "gui"` [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(gui)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(gui)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_CYLINDERS` is never used [INFO] [stdout] --> src/constants.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | pub const MAX_CYLINDERS: usize = 16; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MUFFLER_ELEMENT_COUNT` is never used [INFO] [stdout] --> src/constants.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | pub const MUFFLER_ELEMENT_COUNT: usize = 4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `block_lock` is never read [INFO] [stdout] --> src/recorder.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Recorder { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 19 | block_lock: Arc>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `start`, `get_len`, `stop`, and `stop_wait` are never used [INFO] [stdout] --> src/recorder.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl Recorder { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 23 | pub fn new(file: PathBuf, sample_rate: u32) -> Recorder { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | fn start(&self, recv: crossbeam_channel::Receiver>, file: PathBuf, sample_rate: u32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub fn get_len(&self) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | pub fn stop(&self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | pub fn stop_wait(&self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_engine` is never used [INFO] [stdout] --> src/utils.rs:29:15 [INFO] [stdout] | [INFO] [stdout] 29 | pub(crate) fn load_engine(path: &str, sample_rate: u32, json: bool) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/gen.rs:67:17 [INFO] [stdout] | [INFO] [stdout] 67 | std::mem::transmute::( [INFO] [stdout] | ^------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | _________________help: replace this with: `u128::to_ne_bytes` [INFO] [stdout] | | [INFO] [stdout] 68 | | SystemTime::now() [INFO] [stdout] 69 | | .duration_since(SystemTime::UNIX_EPOCH) [INFO] [stdout] 70 | | .unwrap() [INFO] [stdout] 71 | | .as_nanos(), [INFO] [stdout] 72 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/gui.rs:1197:21 [INFO] [stdout] | [INFO] [stdout] 1197 | for (i, mut cyl) in generator.engine.cylinders.iter_mut().enumerate() { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:197:21 [INFO] [stdout] | [INFO] [stdout] 197 | let mut window = glium::glutin::window::WindowBuilder::new() [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `title`, `cylinder_offset_growl`, and `cylinder_pressure_release_factor` are never read [INFO] [stdout] --> src/gui.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct Ids { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 41 | pub canvas: widget::Id, [INFO] [stdout] 42 | pub title: widget::Id, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub cylinder_offset_growl: widget::Id, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub cylinder_pressure_release_factor: widget::Id, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/gen.rs:67:17 [INFO] [stdout] | [INFO] [stdout] 67 | std::mem::transmute::( [INFO] [stdout] | ^------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | _________________help: replace this with: `u128::to_ne_bytes` [INFO] [stdout] | | [INFO] [stdout] 68 | | SystemTime::now() [INFO] [stdout] 69 | | .duration_since(SystemTime::UNIX_EPOCH) [INFO] [stdout] 70 | | .unwrap() [INFO] [stdout] 71 | | .as_nanos(), [INFO] [stdout] 72 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.70s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v6.0.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 5` [INFO] running `Command { std: "docker" "inspect" "6aedea32abd84c5c46005e8708892f71612a85e46ff2cade49063bd822756eec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6aedea32abd84c5c46005e8708892f71612a85e46ff2cade49063bd822756eec", kill_on_drop: false }` [INFO] [stdout] 6aedea32abd84c5c46005e8708892f71612a85e46ff2cade49063bd822756eec