[INFO] fetching crate unftp-auth-jsonfile 0.3.4... [INFO] checking unftp-auth-jsonfile-0.3.4 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate unftp-auth-jsonfile 0.3.4 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate unftp-auth-jsonfile 0.3.4 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 crates.io crate unftp-auth-jsonfile 0.3.4 [INFO] finished tweaking crates.io crate unftp-auth-jsonfile 0.3.4 [INFO] tweaked toml for crates.io crate unftp-auth-jsonfile 0.3.4 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate crates.io crate unftp-auth-jsonfile 0.3.4 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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] ac3d3d6b1f20baeff007dca6c26c4e9b38a793d72da3138080655076bd0a5d5a [INFO] running `Command { std: "docker" "start" "-a" "ac3d3d6b1f20baeff007dca6c26c4e9b38a793d72da3138080655076bd0a5d5a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ac3d3d6b1f20baeff007dca6c26c4e9b38a793d72da3138080655076bd0a5d5a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac3d3d6b1f20baeff007dca6c26c4e9b38a793d72da3138080655076bd0a5d5a", kill_on_drop: false }` [INFO] [stdout] ac3d3d6b1f20baeff007dca6c26c4e9b38a793d72da3138080655076bd0a5d5a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 508e3e6ca07dc57f4efc2c12da4650b7eaf839afabc6bfef44cb147766e1eab8 [INFO] running `Command { std: "docker" "start" "-a" "508e3e6ca07dc57f4efc2c12da4650b7eaf839afabc6bfef44cb147766e1eab8", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.82 [INFO] [stderr] Compiling libc v0.2.154 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling cc v1.0.97 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling thiserror v1.0.60 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Checking smallvec v1.13.1 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Checking nom v7.1.1 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.63 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking parking_lot_core v0.9.9 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking rusticata-macros v4.1.0 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling slog v2.7.0 [INFO] [stderr] Compiling io-lifetimes v2.0.3 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling oid-registry v0.7.0 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling rustix v0.38.31 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling serde v1.0.202 [INFO] [stderr] Compiling nix v0.28.0 [INFO] [stderr] Checking crypto-common v0.1.3 [INFO] [stderr] Checking block-buffer v0.10.2 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Checking arc-swap v1.5.0 [INFO] [stderr] Checking ipnet v2.9.0 [INFO] [stderr] Compiling io-extras v0.18.1 [INFO] [stderr] Compiling prometheus v0.13.4 [INFO] [stderr] Compiling moka v0.11.3 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking slog-scope v4.4.0 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking crossbeam-channel v0.5.8 [INFO] [stderr] Checking scheduled-thread-pool v0.2.7 [INFO] [stderr] Checking regex-automata v0.4.5 [INFO] [stderr] Checking uuid v1.8.0 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Checking triomphe v0.1.11 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Checking tagptr v0.2.0 [INFO] [stderr] Checking data-encoding v2.3.2 [INFO] [stderr] Compiling cap-primitives v2.0.1 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Compiling displaydoc v0.2.3 [INFO] [stderr] Compiling snafu-derive v0.6.10 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Checking fs-set-times v0.20.1 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Checking slog-stdlog v4.1.1 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling thiserror-impl v1.0.60 [INFO] [stderr] Compiling asn1-rs-derive v0.5.0 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling asn1-rs-impl v0.2.0 [INFO] [stderr] Compiling serde_derive v1.0.202 [INFO] [stderr] Checking tokio v1.37.0 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling cap-std v2.0.1 [INFO] [stderr] Checking snafu v0.6.10 [INFO] [stderr] Checking maybe-owned v0.3.4 [INFO] [stderr] Checking proxy-protocol v0.5.0 [INFO] [stderr] Checking ambient-authority v0.0.2 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Checking asn1-rs v0.6.1 [INFO] [stderr] Checking miniz_oxide v0.7.2 [INFO] [stderr] Checking stfu8 v0.2.5 [INFO] [stderr] Checking der-parser v9.0.0 [INFO] [stderr] Checking is-terminal v0.4.12 [INFO] [stderr] Checking std_prelude v0.2.12 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Checking env_logger v0.10.2 [INFO] [stderr] Checking flate2 v1.0.30 [INFO] [stderr] Checking x509-parser v0.16.0 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking iprange v0.6.7 [INFO] [stderr] Checking valid v0.3.1 [INFO] [stderr] Checking pretty_env_logger v0.5.0 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking tokio-stream v0.1.15 [INFO] [stderr] Checking libunftp v0.20.0 [INFO] [stderr] Checking path_abs v0.5.1 [INFO] [stderr] Checking unftp-sbe-fs v0.2.5 [INFO] [stderr] Checking unftp-auth-jsonfile v0.3.4 (/opt/rustwide/workdir) [INFO] [stdout] error: missing documentation for the crate [INFO] [stdout] --> tests/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / use libunftp::auth::{Authenticator, DefaultUser}; [INFO] [stdout] 2 | | use std::path::PathBuf; [INFO] [stdout] 3 | | use unftp_auth_jsonfile::JsonFileAuthenticator; [INFO] [stdout] ... | [INFO] [stdout] 34 | | assert_eq!(json_auther.authenticate("testuser", &"testpassword".into()).await.unwrap(), DefaultUser); [INFO] [stdout] 35 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D missing-docs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `unftp-auth-jsonfile` (test "main") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this value of type `Result` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:531:15 [INFO] [stdout] | [INFO] [stdout] 486 | let json_authenticator = JsonFileAuthenticator::from_json(json).unwrap(); [INFO] [stdout] | ------------------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 531 | match json_authenticator [INFO] [stdout] | _______________^ [INFO] [stdout] 532 | | .authenticate( [INFO] [stdout] 533 | | "dan", [INFO] [stdout] 534 | | &libunftp::auth::Credentials { [INFO] [stdout] ... | [INFO] [stdout] 539 | | ) [INFO] [stdout] 540 | | .await [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: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `unftp-auth-jsonfile` (lib test) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "508e3e6ca07dc57f4efc2c12da4650b7eaf839afabc6bfef44cb147766e1eab8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "508e3e6ca07dc57f4efc2c12da4650b7eaf839afabc6bfef44cb147766e1eab8", kill_on_drop: false }` [INFO] [stdout] 508e3e6ca07dc57f4efc2c12da4650b7eaf839afabc6bfef44cb147766e1eab8