[INFO] cloning repository https://github.com/NobbZ/nix-janitor [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/NobbZ/nix-janitor" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNobbZ%2Fnix-janitor", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNobbZ%2Fnix-janitor'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ccd042e1e9ea4211de1cecb5130cf339aa2a2abc [INFO] checking NobbZ/nix-janitor/ccd042e1e9ea4211de1cecb5130cf339aa2a2abc against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNobbZ%2Fnix-janitor" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/NobbZ/nix-janitor on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/NobbZ/nix-janitor [INFO] finished tweaking git repo https://github.com/NobbZ/nix-janitor [INFO] tweaked toml for git repo https://github.com/NobbZ/nix-janitor written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/NobbZ/nix-janitor 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" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d65209b49669757ed4d75c498de46f63e301e438328d747594f9164dab552151 [INFO] running `Command { std: "docker" "start" "-a" "d65209b49669757ed4d75c498de46f63e301e438328d747594f9164dab552151", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d65209b49669757ed4d75c498de46f63e301e438328d747594f9164dab552151", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d65209b49669757ed4d75c498de46f63e301e438328d747594f9164dab552151", kill_on_drop: false }` [INFO] [stdout] d65209b49669757ed4d75c498de46f63e301e438328d747594f9164dab552151 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 71e244963024d4e7c2d9d19e3d76e59ad801db77e2c7479d0a11d1ba148c0821 [INFO] running `Command { std: "docker" "start" "-a" "71e244963024d4e7c2d9d19e3d76e59ad801db77e2c7479d0a11d1ba148c0821", kill_on_drop: false }` [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Compiling backtrace v0.3.71 [INFO] [stderr] Checking option-ext v0.2.0 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Compiling eyre v0.6.12 [INFO] [stderr] Checking gimli v0.28.1 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Checking clap_builder v4.5.7 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Checking miniz_oxide v0.7.3 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking object v0.32.2 [INFO] [stderr] Checking indenter v0.3.3 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking rustc-demangle v0.1.24 [INFO] [stderr] Checking owo-colors v3.5.0 [INFO] [stderr] Compiling toml_edit v0.21.1 [INFO] [stderr] Checking dirs v5.0.1 [INFO] [stderr] Checking shellexpand v3.1.0 [INFO] [stderr] Checking uzers v0.12.0 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling relative-path v1.9.3 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling rstest_macros v0.21.0 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Checking rand_xorshift v0.3.0 [INFO] [stderr] Checking yansi v0.5.1 [INFO] [stderr] Checking unarray v0.1.4 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking futures-timer v3.0.3 [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Checking temp-env v0.3.6 [INFO] [stderr] Checking pretty_assertions v1.4.0 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Compiling proc-macro-crate v3.1.0 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Checking addr2line v0.21.0 [INFO] [stderr] Checking tempfile v3.10.1 [INFO] [stderr] Checking rusty-fork v0.3.0 [INFO] [stderr] Checking proptest v1.4.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling clap_derive v4.5.5 [INFO] [stderr] Compiling tokio-macros v2.3.0 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Checking tokio v1.38.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking tracing-error v0.2.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking color-spantrace v0.2.1 [INFO] [stderr] Checking color-eyre v0.6.3 [INFO] [stderr] Checking clap v4.5.7 [INFO] [stderr] Checking clap_complete v4.5.5 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking rstest v0.21.0 [INFO] [stderr] Checking janitor v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `tarpaulin_include` [INFO] [stdout] --> src/profiles.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | #[cfg(not(tarpaulin_include))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `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(tarpaulin_include)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin_include)");` 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: `tarpaulin_include` [INFO] [stdout] --> src/profiles.rs:32:11 [INFO] [stdout] | [INFO] [stdout] 32 | #[cfg(not(tarpaulin_include))] [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(tarpaulin_include)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin_include)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `MutexGuard<'_, U>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/user.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn is_root(users: Arc>) -> bool [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 10 | users.lock().unwrap().get_current_uid() == 0 [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] warning: field `1` is never read [INFO] [stdout] --> src/profiles.rs:15:32 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Profile(PathBuf, Arc>) [INFO] [stdout] | ------- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `janitor` (lib) due to 2 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "71e244963024d4e7c2d9d19e3d76e59ad801db77e2c7479d0a11d1ba148c0821", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "71e244963024d4e7c2d9d19e3d76e59ad801db77e2c7479d0a11d1ba148c0821", kill_on_drop: false }` [INFO] [stdout] 71e244963024d4e7c2d9d19e3d76e59ad801db77e2c7479d0a11d1ba148c0821