[INFO] cloning repository https://github.com/riboseinc/riffol [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/riboseinc/riffol" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Friboseinc%2Friffol", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Friboseinc%2Friffol'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3fa11b085767de108c62141b2faf1b60e379c081 [INFO] checking riboseinc/riffol against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Friboseinc%2Friffol" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/riboseinc/riffol on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/riboseinc/riffol [INFO] finished tweaking git repo https://github.com/riboseinc/riffol [INFO] tweaked toml for git repo https://github.com/riboseinc/riffol written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/riboseinc/riffol 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded syslog v4.0.1 [INFO] [stderr] Downloaded cfg-if v0.1.5 [INFO] [stderr] Downloaded signal-hook v0.1.5 [INFO] [stderr] Downloaded log v0.4.5 [INFO] [stderr] Downloaded smallvec v0.6.5 [INFO] [stderr] Downloaded pest_derive v2.0.1 [INFO] [stderr] Downloaded sha-1 v0.7.0 [INFO] [stderr] Downloaded pest_generator v2.0.0 [INFO] [stderr] Downloaded ucd-trie v0.1.1 [INFO] [stderr] Downloaded pest v2.0.1 [INFO] [stderr] Downloaded syn v0.15.12 [INFO] [stderr] Downloaded nix v0.11.0 [INFO] [stderr] Downloaded pest_meta v2.0.3 [INFO] [stderr] Downloaded nereon_derive v0.4.2 [INFO] [stderr] Downloaded crossbeam-epoch v0.6.0 [INFO] [stderr] Downloaded nereon v0.4.2 [INFO] [stderr] Downloaded stderrlog v0.4.1 [INFO] [stderr] Downloaded arc-swap v0.3.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 71216c794202bf2860c5b6a6a71d3e778c12ef4f58314617f87496cdd8a5010d [INFO] running `Command { std: "docker" "start" "-a" "71216c794202bf2860c5b6a6a71d3e778c12ef4f58314617f87496cdd8a5010d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "71216c794202bf2860c5b6a6a71d3e778c12ef4f58314617f87496cdd8a5010d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "71216c794202bf2860c5b6a6a71d3e778c12ef4f58314617f87496cdd8a5010d", kill_on_drop: false }` [INFO] [stdout] 71216c794202bf2860c5b6a6a71d3e778c12ef4f58314617f87496cdd8a5010d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a8ad217e1961f928338332c788a3226f09008a273fcf8dc2b17de13dcd748e62 [INFO] running `Command { std: "docker" "start" "-a" "a8ad217e1961f928338332c788a3226f09008a273fcf8dc2b17de13dcd748e62", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking libc v0.2.43 [INFO] [stderr] Checking cfg-if v0.1.5 [INFO] [stderr] Compiling proc-macro2 v0.4.20 [INFO] [stderr] Compiling cc v1.0.25 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling ucd-trie v0.1.1 [INFO] [stderr] Checking rand_core v0.3.0 [INFO] [stderr] Compiling maplit v1.0.1 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Checking nodrop v0.1.12 [INFO] [stderr] Checking rustc-demangle v0.1.9 [INFO] [stderr] Compiling lazy_static v1.1.0 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Checking owning_ref v0.3.3 [INFO] [stderr] Checking unicode-width v0.1.5 [INFO] [stderr] Compiling parking_lot_core v0.3.1 [INFO] [stderr] Checking log v0.4.5 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Checking bitflags v1.0.4 [INFO] [stderr] Checking arrayvec v0.4.7 [INFO] [stderr] Checking textwrap v0.10.0 [INFO] [stderr] Checking strsim v0.7.0 [INFO] [stderr] Compiling nix v0.11.0 [INFO] [stderr] Checking smallvec v0.6.5 [INFO] [stderr] Checking rand_core v0.2.2 [INFO] [stderr] Compiling pest v2.0.1 [INFO] [stderr] Checking lock_api v0.1.4 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking crossbeam-utils v0.5.0 [INFO] [stderr] Checking slab v0.4.1 [INFO] [stderr] Checking arc-swap v0.3.2 [INFO] [stderr] Checking lazycell v1.2.0 [INFO] [stderr] Checking termcolor v0.3.6 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking crossbeam-epoch v0.6.0 [INFO] [stderr] Checking time v0.1.40 [INFO] [stderr] Checking rand v0.5.5 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking iovec v0.1.2 [INFO] [stderr] Checking signal-hook v0.1.5 [INFO] [stderr] Checking clap v2.32.0 [INFO] [stderr] Compiling backtrace-sys v0.1.24 [INFO] [stderr] Checking mio v0.6.16 [INFO] [stderr] Compiling quote v0.6.8 [INFO] [stderr] Compiling pest_meta v2.0.3 [INFO] [stderr] Compiling syn v0.14.9 [INFO] [stderr] Compiling syn v0.15.12 [INFO] [stderr] Checking chrono v0.4.6 [INFO] [stderr] Checking backtrace v0.3.9 [INFO] [stderr] Checking stderrlog v0.4.1 [INFO] [stderr] Checking parking_lot v0.6.4 [INFO] [stderr] Checking error-chain v0.11.0 [INFO] [stderr] Checking crossbeam-channel v0.2.6 [INFO] [stderr] Checking syslog v4.0.1 [INFO] [stderr] Compiling pest_generator v2.0.0 [INFO] [stderr] Compiling nereon_derive v0.4.2 [INFO] [stderr] Compiling pest_derive v2.0.1 [INFO] [stderr] Checking nereon v0.4.2 [INFO] [stderr] Checking riffol v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `statvfs64` [INFO] [stdout] --> src/health.rs:132:15 [INFO] [stdout] | [INFO] [stdout] 132 | #[cfg(statvfs64)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [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(statvfs64)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(statvfs64)");` 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: `statvfs64` [INFO] [stdout] --> src/health.rs:145:19 [INFO] [stdout] | [INFO] [stdout] 145 | #[cfg(not(statvfs64))] [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(statvfs64)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(statvfs64)");` 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: `statvfs64` [INFO] [stdout] --> src/health.rs:132:15 [INFO] [stdout] | [INFO] [stdout] 132 | #[cfg(statvfs64)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [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(statvfs64)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(statvfs64)");` 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: `statvfs64` [INFO] [stdout] --> src/health.rs:145:19 [INFO] [stdout] | [INFO] [stdout] 145 | #[cfg(not(statvfs64))] [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(statvfs64)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(statvfs64)");` 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: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/health.rs:149:50 [INFO] [stdout] | [INFO] [stdout] 149 | let mut stats: statvfs = ::std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/health.rs:149:50 [INFO] [stdout] | [INFO] [stdout] 149 | let mut stats: statvfs = ::std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::os::unix::process::CommandExt::before_exec`: should be unsafe, use `pre_exec` instead [INFO] [stdout] --> src/application.rs:289:14 [INFO] [stdout] | [INFO] [stdout] 289 | .before_exec(move || { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::os::unix::process::CommandExt::before_exec`: should be unsafe, use `pre_exec` instead [INFO] [stdout] --> src/application.rs:289:14 [INFO] [stdout] | [INFO] [stdout] 289 | .before_exec(move || { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/stream.rs:176:21 [INFO] [stdout] | [INFO] [stdout] 176 | let mut connection = connections.get_mut(handle).unwrap(); [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/stream.rs:195:21 [INFO] [stdout] | [INFO] [stdout] 195 | let mut connection = connections.remove(handle); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/stream.rs:176:21 [INFO] [stdout] | [INFO] [stdout] 176 | let mut connection = connections.get_mut(handle).unwrap(); [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/stream.rs:195:21 [INFO] [stdout] | [INFO] [stdout] 195 | let mut connection = connections.remove(handle); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/stream.rs:243:17 [INFO] [stdout] | [INFO] [stdout] 243 | let mut logger: syslog::Result< [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/stream.rs:243:17 [INFO] [stdout] | [INFO] [stdout] 243 | let mut logger: syslog::Result< [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `libc::statvfs` does not permit being left uninitialized [INFO] [stdout] --> src/health.rs:149:38 [INFO] [stdout] | [INFO] [stdout] 149 | let mut stats: statvfs = ::std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Option::::map_or` that must be used [INFO] [stdout] --> src/init.rs:142:13 [INFO] [stdout] | [INFO] [stdout] 142 | stop_idx.map_or((), |idx| self.schedule_stop(idx)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the returned value, use `if let` instead [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 142 | let _ = stop_idx.map_or((), |idx| self.schedule_stop(idx)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `libc::statvfs` does not permit being left uninitialized [INFO] [stdout] --> src/health.rs:149:38 [INFO] [stdout] | [INFO] [stdout] 149 | let mut stats: statvfs = ::std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Option::::map_or` that must be used [INFO] [stdout] --> src/init.rs:142:13 [INFO] [stdout] | [INFO] [stdout] 142 | stop_idx.map_or((), |idx| self.schedule_stop(idx)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the returned value, use `if let` instead [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 142 | let _ = stop_idx.map_or((), |idx| self.schedule_stop(idx)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.85s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: syn v0.14.9 [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" "a8ad217e1961f928338332c788a3226f09008a273fcf8dc2b17de13dcd748e62", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a8ad217e1961f928338332c788a3226f09008a273fcf8dc2b17de13dcd748e62", kill_on_drop: false }` [INFO] [stdout] a8ad217e1961f928338332c788a3226f09008a273fcf8dc2b17de13dcd748e62 [INFO] checking riboseinc/riffol against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Friboseinc%2Friffol" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/riboseinc/riffol on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/riboseinc/riffol [INFO] finished tweaking git repo https://github.com/riboseinc/riffol [INFO] tweaked toml for git repo https://github.com/riboseinc/riffol written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/riboseinc/riffol 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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5eca56e848ec81a62ceb55344a82c58173f3ae15b7321c172154d7b260301f1a [INFO] running `Command { std: "docker" "start" "-a" "5eca56e848ec81a62ceb55344a82c58173f3ae15b7321c172154d7b260301f1a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5eca56e848ec81a62ceb55344a82c58173f3ae15b7321c172154d7b260301f1a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5eca56e848ec81a62ceb55344a82c58173f3ae15b7321c172154d7b260301f1a", kill_on_drop: false }` [INFO] [stdout] 5eca56e848ec81a62ceb55344a82c58173f3ae15b7321c172154d7b260301f1a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 478a8e9e758110cfcddc7e1e55ca58db9847031fe97722eae9c39ee3487639bb [INFO] running `Command { std: "docker" "start" "-a" "478a8e9e758110cfcddc7e1e55ca58db9847031fe97722eae9c39ee3487639bb", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking libc v0.2.43 [INFO] [stderr] Checking cfg-if v0.1.5 [INFO] [stderr] Compiling proc-macro2 v0.4.20 [INFO] [stderr] Compiling cc v1.0.25 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking rand_core v0.3.0 [INFO] [stderr] Compiling ucd-trie v0.1.1 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling maplit v1.0.1 [INFO] [stderr] Checking rustc-demangle v0.1.9 [INFO] [stderr] Compiling lazy_static v1.1.0 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Checking owning_ref v0.3.3 [INFO] [stderr] Checking bitflags v1.0.4 [INFO] [stderr] Checking nodrop v0.1.12 [INFO] [stderr] Compiling parking_lot_core v0.3.1 [INFO] [stderr] Checking log v0.4.5 [INFO] [stderr] Checking unicode-width v0.1.5 [INFO] [stderr] Checking strsim v0.7.0 [INFO] [stderr] Checking arrayvec v0.4.7 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Checking crossbeam-utils v0.5.0 [INFO] [stderr] Checking smallvec v0.6.5 [INFO] [stderr] Compiling pest v2.0.1 [INFO] [stderr] Checking textwrap v0.10.0 [INFO] [stderr] Checking rand_core v0.2.2 [INFO] [stderr] Checking lock_api v0.1.4 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Compiling nix v0.11.0 [INFO] [stderr] Checking arc-swap v0.3.2 [INFO] [stderr] Checking slab v0.4.1 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking termcolor v0.3.6 [INFO] [stderr] Checking lazycell v1.2.0 [INFO] [stderr] Checking crossbeam-epoch v0.6.0 [INFO] [stderr] Checking rand v0.5.5 [INFO] [stderr] Checking time v0.1.40 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Checking iovec v0.1.2 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking signal-hook v0.1.5 [INFO] [stderr] Checking clap v2.32.0 [INFO] [stderr] Compiling backtrace-sys v0.1.24 [INFO] [stderr] Checking mio v0.6.16 [INFO] [stderr] Compiling quote v0.6.8 [INFO] [stderr] Compiling syn v0.14.9 [INFO] [stderr] Compiling syn v0.15.12 [INFO] [stderr] Compiling pest_meta v2.0.3 [INFO] [stderr] Checking chrono v0.4.6 [INFO] [stderr] Checking parking_lot v0.6.4 [INFO] [stderr] Checking backtrace v0.3.9 [INFO] [stderr] Checking crossbeam-channel v0.2.6 [INFO] [stderr] Checking stderrlog v0.4.1 [INFO] [stderr] Checking error-chain v0.11.0 [INFO] [stderr] Checking syslog v4.0.1 [INFO] [stderr] Compiling pest_generator v2.0.0 [INFO] [stderr] Compiling nereon_derive v0.4.2 [INFO] [stderr] Compiling pest_derive v2.0.1 [INFO] [stderr] Checking nereon v0.4.2 [INFO] [stderr] Checking riffol v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `statvfs64` [INFO] [stdout] --> src/health.rs:132:15 [INFO] [stdout] | [INFO] [stdout] 132 | #[cfg(statvfs64)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [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(statvfs64)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(statvfs64)");` 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: `statvfs64` [INFO] [stdout] --> src/health.rs:145:19 [INFO] [stdout] | [INFO] [stdout] 145 | #[cfg(not(statvfs64))] [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(statvfs64)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(statvfs64)");` 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: `statvfs64` [INFO] [stdout] --> src/health.rs:132:15 [INFO] [stdout] | [INFO] [stdout] 132 | #[cfg(statvfs64)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [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(statvfs64)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(statvfs64)");` 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: `statvfs64` [INFO] [stdout] --> src/health.rs:145:19 [INFO] [stdout] | [INFO] [stdout] 145 | #[cfg(not(statvfs64))] [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(statvfs64)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(statvfs64)");` 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: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/health.rs:149:50 [INFO] [stdout] | [INFO] [stdout] 149 | let mut stats: statvfs = ::std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/health.rs:149:50 [INFO] [stdout] | [INFO] [stdout] 149 | let mut stats: statvfs = ::std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::os::unix::process::CommandExt::before_exec`: should be unsafe, use `pre_exec` instead [INFO] [stdout] --> src/application.rs:289:14 [INFO] [stdout] | [INFO] [stdout] 289 | .before_exec(move || { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::os::unix::process::CommandExt::before_exec`: should be unsafe, use `pre_exec` instead [INFO] [stdout] --> src/application.rs:289:14 [INFO] [stdout] | [INFO] [stdout] 289 | .before_exec(move || { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/stream.rs:176:21 [INFO] [stdout] | [INFO] [stdout] 176 | let mut connection = connections.get_mut(handle).unwrap(); [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/stream.rs:195:21 [INFO] [stdout] | [INFO] [stdout] 195 | let mut connection = connections.remove(handle); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/stream.rs:243:17 [INFO] [stdout] | [INFO] [stdout] 243 | let mut logger: syslog::Result< [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/config.rs:262:21 [INFO] [stdout] | [INFO] [stdout] 261 | check.checks.iter().try_fold(checks, |mut checks, params| { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 262 | mk_interval_healthcheck(group, check.interval, check.timeout, params).map( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/config.rs:263:25 [INFO] [stdout] | [INFO] [stdout] 261 | check.checks.iter().try_fold(checks, |mut checks, params| { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 262 | mk_interval_healthcheck(group, check.interval, check.timeout, params).map( [INFO] [stdout] 263 | / |check| { [INFO] [stdout] 264 | | checks.push(check); [INFO] [stdout] 265 | | checks [INFO] [stdout] 266 | | }, [INFO] [stdout] | |_________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `libc::statvfs` does not permit being left uninitialized [INFO] [stdout] --> src/health.rs:149:38 [INFO] [stdout] | [INFO] [stdout] 149 | let mut stats: statvfs = ::std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/health.rs:193:17 [INFO] [stdout] | [INFO] [stdout] 192 | .and_then(|mut it| { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 193 | / it.find(|ref result| { [INFO] [stdout] 194 | | result [INFO] [stdout] 195 | | .as_ref() [INFO] [stdout] 196 | | .ok() [INFO] [stdout] ... | [INFO] [stdout] 210 | | }).unwrap_or(false) [INFO] [stdout] 211 | | }).ok_or_else(|| "No such process".to_owned()) [INFO] [stdout] | |______________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/health.rs:209:60 [INFO] [stdout] | [INFO] [stdout] 209 | ... .map_or_else(|| false, |f| f.bytes().next().is_some()) [INFO] [stdout] | - ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Option::::map_or` that must be used [INFO] [stdout] --> src/init.rs:142:13 [INFO] [stdout] | [INFO] [stdout] 142 | stop_idx.map_or((), |idx| self.schedule_stop(idx)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the returned value, use `if let` instead [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 142 | let _ = stop_idx.map_or((), |idx| self.schedule_stop(idx)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/stream.rs:176:21 [INFO] [stdout] | [INFO] [stdout] 176 | let mut connection = connections.get_mut(handle).unwrap(); [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/stream.rs:195:21 [INFO] [stdout] | [INFO] [stdout] 195 | let mut connection = connections.remove(handle); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/stream.rs:108:21 [INFO] [stdout] | [INFO] [stdout] 105 | let (tx, rx) = cc::unbounded(); [INFO] [stdout] | -- -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 108 | thread: Some(thread::spawn(move || { [INFO] [stdout] | _____________________^ [INFO] [stdout] 109 | | handler(&rx); [INFO] [stdout] 110 | | })), [INFO] [stdout] | |_______________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/stream.rs:243:17 [INFO] [stdout] | [INFO] [stdout] 243 | let mut logger: syslog::Result< [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/config.rs:262:21 [INFO] [stdout] | [INFO] [stdout] 261 | check.checks.iter().try_fold(checks, |mut checks, params| { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 262 | mk_interval_healthcheck(group, check.interval, check.timeout, params).map( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/config.rs:263:25 [INFO] [stdout] | [INFO] [stdout] 261 | check.checks.iter().try_fold(checks, |mut checks, params| { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 262 | mk_interval_healthcheck(group, check.interval, check.timeout, params).map( [INFO] [stdout] 263 | / |check| { [INFO] [stdout] 264 | | checks.push(check); [INFO] [stdout] 265 | | checks [INFO] [stdout] 266 | | }, [INFO] [stdout] | |_________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `libc::statvfs` does not permit being left uninitialized [INFO] [stdout] --> src/health.rs:149:38 [INFO] [stdout] | [INFO] [stdout] 149 | let mut stats: statvfs = ::std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/health.rs:193:17 [INFO] [stdout] | [INFO] [stdout] 192 | .and_then(|mut it| { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 193 | / it.find(|ref result| { [INFO] [stdout] 194 | | result [INFO] [stdout] 195 | | .as_ref() [INFO] [stdout] 196 | | .ok() [INFO] [stdout] ... | [INFO] [stdout] 210 | | }).unwrap_or(false) [INFO] [stdout] 211 | | }).ok_or_else(|| "No such process".to_owned()) [INFO] [stdout] | |______________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/health.rs:209:60 [INFO] [stdout] | [INFO] [stdout] 209 | ... .map_or_else(|| false, |f| f.bytes().next().is_some()) [INFO] [stdout] | - ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Option::::map_or` that must be used [INFO] [stdout] --> src/init.rs:142:13 [INFO] [stdout] | [INFO] [stdout] 142 | stop_idx.map_or((), |idx| self.schedule_stop(idx)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the returned value, use `if let` instead [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 142 | let _ = stop_idx.map_or((), |idx| self.schedule_stop(idx)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/stream.rs:108:21 [INFO] [stdout] | [INFO] [stdout] 105 | let (tx, rx) = cc::unbounded(); [INFO] [stdout] | -- -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 108 | thread: Some(thread::spawn(move || { [INFO] [stdout] | _____________________^ [INFO] [stdout] 109 | | handler(&rx); [INFO] [stdout] 110 | | })), [INFO] [stdout] | |_______________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `riffol` (lib) due to 6 previous errors; 9 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 5 previous errors; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `riffol` (lib test) due to 6 previous errors; 9 warnings emitted [INFO] running `Command { std: "docker" "inspect" "478a8e9e758110cfcddc7e1e55ca58db9847031fe97722eae9c39ee3487639bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "478a8e9e758110cfcddc7e1e55ca58db9847031fe97722eae9c39ee3487639bb", kill_on_drop: false }` [INFO] [stdout] 478a8e9e758110cfcddc7e1e55ca58db9847031fe97722eae9c39ee3487639bb