[INFO] cloning repository https://github.com/FauxFaux/quadrs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/FauxFaux/quadrs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFauxFaux%2Fquadrs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFauxFaux%2Fquadrs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5eb95804ebaf455c6ac5cb503af6cd3323e92cd8 [INFO] building FauxFaux/quadrs against master#44f415c1d617ebc7b931a243b7b321ef8a6ca47c for pr-142134-abi-ast-error [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFauxFaux%2Fquadrs" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/FauxFaux/quadrs on toolchain 44f415c1d617ebc7b931a243b7b321ef8a6ca47c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/FauxFaux/quadrs [INFO] finished tweaking git repo https://github.com/FauxFaux/quadrs [INFO] tweaked toml for git repo https://github.com/FauxFaux/quadrs written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/FauxFaux/quadrs 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" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded primal-check v0.3.3 [INFO] [stderr] Downloaded daggy v0.5.0 [INFO] [stderr] Downloaded glutin v0.25.1 [INFO] [stderr] Downloaded smithay-clipboard v0.4.0 [INFO] [stderr] Downloaded copypasta v0.6.3 [INFO] [stderr] Downloaded conrod_winit v0.76.1 [INFO] [stderr] Downloaded winit v0.23.0 [INFO] [stderr] Downloaded glium v0.28.0 [INFO] [stderr] Downloaded conrod_derive v0.76.1 [INFO] [stderr] Downloaded conrod_glium v0.76.1 [INFO] [stderr] Downloaded conrod_core v0.76.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5a52c68d00d149a9c8c4b9c6e727abdc6fc7cbd8a0e3c539ce6b46e21e52ad76 [INFO] running `Command { std: "docker" "start" "-a" "5a52c68d00d149a9c8c4b9c6e727abdc6fc7cbd8a0e3c539ce6b46e21e52ad76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5a52c68d00d149a9c8c4b9c6e727abdc6fc7cbd8a0e3c539ce6b46e21e52ad76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a52c68d00d149a9c8c4b9c6e727abdc6fc7cbd8a0e3c539ce6b46e21e52ad76", kill_on_drop: false }` [INFO] [stdout] 5a52c68d00d149a9c8c4b9c6e727abdc6fc7cbd8a0e3c539ce6b46e21e52ad76 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=warn" "-e" "RUSTDOCFLAGS=--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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8d0f96327bb5a64394dfad96db93be195a10782daf3bfc98ff8d1fca304d036a [INFO] running `Command { std: "docker" "start" "-a" "8d0f96327bb5a64394dfad96db93be195a10782daf3bfc98ff8d1fca304d036a", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling xml-rs v0.8.19 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling smallvec v1.13.1 [INFO] [stderr] Compiling libloading v0.6.7 [INFO] [stderr] Compiling libloading v0.8.1 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling xdg v2.5.2 [INFO] [stderr] Compiling walkdir v2.4.0 [INFO] [stderr] Compiling dlib v0.4.2 [INFO] [stderr] Compiling dlib v0.5.2 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling scoped-tls v1.0.1 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling stb_truetype v0.3.1 [INFO] [stderr] Compiling wayland-sys v0.28.6 [INFO] [stderr] Compiling miniz_oxide v0.7.2 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling wayland-sys v0.23.6 [INFO] [stderr] Compiling ttf-parser v0.15.2 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Compiling quick-xml v0.22.0 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling nix v0.20.0 [INFO] [stderr] Compiling wayland-scanner v0.28.6 [INFO] [stderr] Compiling wayland-scanner v0.23.6 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling net2 v0.2.39 [INFO] [stderr] Compiling crossbeam-deque v0.7.4 [INFO] [stderr] Compiling xcb v0.10.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling num-bigint v0.3.3 [INFO] [stderr] Compiling cty v0.2.2 [INFO] [stderr] Compiling xcursor v0.3.5 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling raw-window-handle v0.4.3 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling glutin_glx_sys v0.1.8 [INFO] [stderr] Compiling wayland-client v0.23.6 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling ordered-float v1.1.1 [INFO] [stderr] Compiling wayland-protocols v0.23.6 [INFO] [stderr] Compiling owned_ttf_parser v0.15.2 [INFO] [stderr] Compiling wayland-client v0.28.6 [INFO] [stderr] Compiling wayland-protocols v0.28.6 [INFO] [stderr] Compiling rusttype v0.8.3 [INFO] [stderr] Compiling rusttype v0.9.3 [INFO] [stderr] Compiling line_drawing v0.7.0 [INFO] [stderr] Compiling rusttype v0.7.9 [INFO] [stderr] Compiling andrew v0.3.1 [INFO] [stderr] Compiling andrew v0.2.1 [INFO] [stderr] Compiling glutin_egl_sys v0.1.6 [INFO] [stderr] Compiling memmap2 v0.1.0 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling winit v0.23.0 [INFO] [stderr] Compiling cc v1.0.88 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling wayland-commons v0.23.6 [INFO] [stderr] Compiling calloop v0.6.5 [INFO] [stderr] Compiling wayland-commons v0.28.6 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling raw-window-handle v0.3.4 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling fixedbitset v0.1.9 [INFO] [stderr] Compiling either v1.10.0 [INFO] [stderr] Compiling piston-float v1.0.1 [INFO] [stderr] Compiling gimli v0.28.1 [INFO] [stderr] Compiling piston-viewport v1.0.2 [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stderr] Compiling rayon v1.9.0 [INFO] [stderr] Compiling petgraph v0.4.13 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling rustfft v6.2.0 [INFO] [stderr] Compiling flate2 v1.0.28 [INFO] [stderr] Compiling phf_codegen v0.8.0 [INFO] [stderr] Compiling x11-clipboard v0.5.3 [INFO] [stderr] Compiling wayland-cursor v0.28.6 [INFO] [stderr] Compiling wayland-egl v0.28.6 [INFO] [stderr] Compiling num-iter v0.1.44 [INFO] [stderr] Compiling num-complex v0.3.1 [INFO] [stderr] Compiling glium v0.28.0 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling object v0.32.2 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling rustc-demangle v0.1.23 [INFO] [stderr] Compiling anyhow v1.0.80 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling weezl v0.1.8 [INFO] [stderr] Compiling strength_reduce v0.2.4 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling transpose v0.2.3 [INFO] [stderr] Compiling num v0.3.1 [INFO] [stderr] Compiling flume v0.11.0 [INFO] [stderr] Compiling daggy v0.5.0 [INFO] [stderr] Compiling palette v0.5.0 [INFO] [stderr] Compiling primal-check v0.3.3 [INFO] [stderr] Compiling num-complex v0.4.5 [INFO] [stderr] Compiling zune-inflate v0.2.54 [INFO] [stderr] Compiling fdeflate v0.3.4 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling addr2line v0.21.0 [INFO] [stderr] Compiling conrod_derive v0.76.1 [INFO] [stderr] Compiling half v2.4.0 [INFO] [stderr] Compiling lebe v0.5.2 [INFO] [stderr] Compiling jpeg-decoder v0.3.1 [INFO] [stderr] Compiling bit_field v0.10.2 [INFO] [stderr] Compiling takeable-option v0.5.0 [INFO] [stderr] Compiling bytemuck v1.14.3 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling gif v0.13.1 [INFO] [stderr] Compiling exr v1.72.0 [INFO] [stderr] Compiling regex-automata v0.4.5 [INFO] [stderr] Compiling png v0.17.13 [INFO] [stderr] Compiling palette_derive v0.5.0 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling phf v0.8.0 [INFO] [stderr] Compiling conrod_winit v0.76.1 [INFO] [stderr] Compiling pistoncore-input v1.0.1 [INFO] [stderr] Compiling regex v1.10.3 [INFO] [stderr] Compiling image v0.24.9 [INFO] [stderr] Compiling octagon v0.1.0 (/opt/rustwide/workdir/octagon) [INFO] [stdout] warning: unexpected `cfg` condition name: `never` [INFO] [stdout] --> octagon/src/bits.rs:37:15 [INFO] [stdout] | [INFO] [stdout] 37 | #[cfg(never)] [INFO] [stdout] | ^^^^^ [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(never)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(never)");` 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: unexpected `cfg` condition name: `never` [INFO] [stdout] --> octagon/src/fft.rs:38:15 [INFO] [stdout] | [INFO] [stdout] 38 | #[cfg(never)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [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(never)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(never)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decode` is never used [INFO] [stdout] --> octagon/src/bits.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn decode(data: &[bool]) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fmt` is never used [INFO] [stdout] --> octagon/src/bits.rs:132:4 [INFO] [stdout] | [INFO] [stdout] 132 | fn fmt(bits: &[bool]) -> String { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `sample_rate` and `levels` are never read [INFO] [stdout] --> octagon/src/fft.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct Levels { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 72 | pub sample_rate: u64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 73 | pub vals: Vec, [INFO] [stdout] 74 | pub levels: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Levels` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling smithay-client-toolkit v0.6.6 [INFO] [stderr] Compiling smithay-clipboard v0.4.0 [INFO] [stderr] Compiling copypasta v0.6.3 [INFO] [stderr] Compiling smithay-client-toolkit v0.12.3 [INFO] [stderr] Compiling conrod_core v0.76.1 [INFO] [stderr] Compiling glutin v0.25.1 [INFO] [stderr] Compiling conrod_glium v0.76.1 [INFO] [stderr] Compiling quadrs v0.1.0 (/opt/rustwide/workdir/tool) [INFO] [stdout] warning: unexpected `cfg` condition name: `never` [INFO] [stdout] --> tool/src/ui/mod.rs:410:19 [INFO] [stdout] | [INFO] [stdout] 410 | #[cfg(never)] [INFO] [stdout] | ^^^^^ [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(never)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(never)");` 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] --> tool/src/ui/mod.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | let mut events_loop = glium::glutin::event_loop::EventLoop::new(); [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: struct `WindowRef` is never constructed [INFO] [stdout] --> tool/src/ui/mod.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 85 | struct WindowRef<'a>(&'a winit::window::Window); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> tool/src/ui/mod.rs:234:24 [INFO] [stdout] | [INFO] [stdout] 234 | for val in widget::NumberDialer::new(f64::from(params.stride), 1., 4096., 0) [INFO] [stdout] | ________________________^ [INFO] [stdout] 235 | | .mid_left_of(ids.buttons) [INFO] [stdout] 236 | | .right_from(ids.stride_down, BUTTON_PAD) [INFO] [stdout] 237 | | .w(64.) [INFO] [stdout] 238 | | .set(ids.stride_label, ui) [INFO] [stdout] | |__________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(for_loops_over_fallibles)]` on by default [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 234 - for val in widget::NumberDialer::new(f64::from(params.stride), 1., 4096., 0) [INFO] [stdout] 234 + while let Some(val) = widget::NumberDialer::new(f64::from(params.stride), 1., 4096., 0) [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 234 - for val in widget::NumberDialer::new(f64::from(params.stride), 1., 4096., 0) [INFO] [stdout] 234 + if let Some(val) = widget::NumberDialer::new(f64::from(params.stride), 1., 4096., 0) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 05s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: quick-xml v0.22.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "8d0f96327bb5a64394dfad96db93be195a10782daf3bfc98ff8d1fca304d036a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d0f96327bb5a64394dfad96db93be195a10782daf3bfc98ff8d1fca304d036a", kill_on_drop: false }` [INFO] [stdout] 8d0f96327bb5a64394dfad96db93be195a10782daf3bfc98ff8d1fca304d036a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=warn" "-e" "RUSTDOCFLAGS=--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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1bcac4e19e12b287ef1d0847071e35622eea9b63db94247eb7fdfbd939a294db [INFO] running `Command { std: "docker" "start" "-a" "1bcac4e19e12b287ef1d0847071e35622eea9b63db94247eb7fdfbd939a294db", kill_on_drop: false }` [INFO] [stderr] Compiling octagon v0.1.0 (/opt/rustwide/workdir/octagon) [INFO] [stderr] Compiling quadrs v0.1.0 (/opt/rustwide/workdir/tool) [INFO] [stdout] warning: unexpected `cfg` condition name: `never` [INFO] [stdout] --> octagon/src/bits.rs:37:15 [INFO] [stdout] | [INFO] [stdout] 37 | #[cfg(never)] [INFO] [stdout] | ^^^^^ [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(never)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(never)");` 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: unexpected `cfg` condition name: `never` [INFO] [stdout] --> octagon/src/fft.rs:38:15 [INFO] [stdout] | [INFO] [stdout] 38 | #[cfg(never)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [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(never)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(never)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decode` is never used [INFO] [stdout] --> octagon/src/bits.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn decode(data: &[bool]) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fmt` is never used [INFO] [stdout] --> octagon/src/bits.rs:132:4 [INFO] [stdout] | [INFO] [stdout] 132 | fn fmt(bits: &[bool]) -> String { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `sample_rate` and `levels` are never read [INFO] [stdout] --> octagon/src/fft.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct Levels { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 72 | pub sample_rate: u64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 73 | pub vals: Vec, [INFO] [stdout] 74 | pub levels: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Levels` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `never` [INFO] [stdout] --> octagon/src/bits.rs:37:15 [INFO] [stdout] | [INFO] [stdout] 37 | #[cfg(never)] [INFO] [stdout] | ^^^^^ [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(never)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(never)");` 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: unexpected `cfg` condition name: `never` [INFO] [stdout] --> octagon/src/fft.rs:38:15 [INFO] [stdout] | [INFO] [stdout] 38 | #[cfg(never)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [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(never)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(never)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `never` [INFO] [stdout] --> tool/src/ui/mod.rs:410:19 [INFO] [stdout] | [INFO] [stdout] 410 | #[cfg(never)] [INFO] [stdout] | ^^^^^ [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(never)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(never)");` 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: fields `sample_rate` and `levels` are never read [INFO] [stdout] --> octagon/src/fft.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct Levels { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 72 | pub sample_rate: u64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 73 | pub vals: Vec, [INFO] [stdout] 74 | pub levels: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Levels` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tool/src/ui/mod.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | let mut events_loop = glium::glutin::event_loop::EventLoop::new(); [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: struct `WindowRef` is never constructed [INFO] [stdout] --> tool/src/ui/mod.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 85 | struct WindowRef<'a>(&'a winit::window::Window); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> tool/src/ui/mod.rs:234:24 [INFO] [stdout] | [INFO] [stdout] 234 | for val in widget::NumberDialer::new(f64::from(params.stride), 1., 4096., 0) [INFO] [stdout] | ________________________^ [INFO] [stdout] 235 | | .mid_left_of(ids.buttons) [INFO] [stdout] 236 | | .right_from(ids.stride_down, BUTTON_PAD) [INFO] [stdout] 237 | | .w(64.) [INFO] [stdout] 238 | | .set(ids.stride_label, ui) [INFO] [stdout] | |__________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(for_loops_over_fallibles)]` on by default [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 234 - for val in widget::NumberDialer::new(f64::from(params.stride), 1., 4096., 0) [INFO] [stdout] 234 + while let Some(val) = widget::NumberDialer::new(f64::from(params.stride), 1., 4096., 0) [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 234 - for val in widget::NumberDialer::new(f64::from(params.stride), 1., 4096., 0) [INFO] [stdout] 234 + if let Some(val) = widget::NumberDialer::new(f64::from(params.stride), 1., 4096., 0) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.71s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: quick-xml v0.22.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "1bcac4e19e12b287ef1d0847071e35622eea9b63db94247eb7fdfbd939a294db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1bcac4e19e12b287ef1d0847071e35622eea9b63db94247eb7fdfbd939a294db", kill_on_drop: false }` [INFO] [stdout] 1bcac4e19e12b287ef1d0847071e35622eea9b63db94247eb7fdfbd939a294db