[INFO] cloning repository https://github.com/curiousleo/keygen [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/curiousleo/keygen" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcuriousleo%2Fkeygen", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcuriousleo%2Fkeygen'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7c1d0d867ee8f43655877ec14f1d7bfbce0ed2f6 [INFO] checking curiousleo/keygen/7c1d0d867ee8f43655877ec14f1d7bfbce0ed2f6 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcuriousleo%2Fkeygen" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/curiousleo/keygen on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/curiousleo/keygen [INFO] finished tweaking git repo https://github.com/curiousleo/keygen [INFO] tweaked toml for git repo https://github.com/curiousleo/keygen written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/curiousleo/keygen 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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 32bc0c453246f84374b2010c297c31c2f9d9361d424bbf67a11154077ee07676 [INFO] running `Command { std: "docker" "start" "-a" "32bc0c453246f84374b2010c297c31c2f9d9361d424bbf67a11154077ee07676", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "32bc0c453246f84374b2010c297c31c2f9d9361d424bbf67a11154077ee07676", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "32bc0c453246f84374b2010c297c31c2f9d9361d424bbf67a11154077ee07676", kill_on_drop: false }` [INFO] [stdout] 32bc0c453246f84374b2010c297c31c2f9d9361d424bbf67a11154077ee07676 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c8568f886a809edde2bdc4b6b293e43e983976e6bab13ece54f9a28f0f73d7aa [INFO] running `Command { std: "docker" "start" "-a" "c8568f886a809edde2bdc4b6b293e43e983976e6bab13ece54f9a28f0f73d7aa", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.65 [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling cc v1.0.47 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling syn v1.0.8 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling regex-syntax v0.6.12 [INFO] [stderr] Compiling typenum v1.11.2 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling getrandom v0.1.13 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling string_cache_shared v0.3.0 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling serde v1.0.102 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling clang-sys v0.28.1 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling bindgen v0.51.1 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling rustc-hash v1.0.1 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling aho-corasick v0.7.6 [INFO] [stderr] Compiling bit-vec v0.5.1 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling dirs v1.0.5 [INFO] [stderr] Compiling failure_derive v0.1.6 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling fixedbitset v0.1.9 [INFO] [stderr] Compiling ordermap v0.3.5 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling term v0.5.2 [INFO] [stderr] Compiling strsim v0.9.2 [INFO] [stderr] Checking c2-chacha v0.2.3 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling new_debug_unreachable v1.0.3 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling itertools v0.8.1 [INFO] [stderr] Compiling bit-set v0.5.1 [INFO] [stderr] Compiling atty v0.2.13 [INFO] [stderr] Compiling ena v0.13.1 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling backtrace-sys v0.1.32 [INFO] [stderr] Compiling bzip2-sys v0.1.7 [INFO] [stderr] Compiling petgraph v0.4.13 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling cexpr v0.3.6 [INFO] [stderr] Compiling sha2 v0.8.0 [INFO] [stderr] Compiling ascii-canvas v2.0.0 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking adler32 v1.0.4 [INFO] [stderr] Compiling diff v0.1.11 [INFO] [stderr] Compiling regex v1.3.1 [INFO] [stderr] Compiling lalrpop-util v0.17.2 [INFO] [stderr] Checking miniz_oxide v0.3.5 [INFO] [stderr] Checking rand v0.7.2 [INFO] [stderr] Checking smallvec v0.6.13 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling memsec v0.5.6 [INFO] [stderr] Compiling string_cache_codegen v0.4.4 [INFO] [stderr] Checking unicode-normalization v0.1.9 [INFO] [stderr] Checking flate2 v1.0.13 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking base64 v0.10.1 [INFO] [stderr] Checking bzip2 v0.3.3 [INFO] [stderr] Checking numtoa v0.1.0 [INFO] [stderr] Checking remove_dir_all v0.5.2 [INFO] [stderr] Checking backtrace v0.3.40 [INFO] [stderr] Checking test_bin v0.2.0 [INFO] [stderr] Checking buffered-reader v0.12.0 (https://gitlab.com/sequoia-pgp/sequoia.git?rev=f53c77752ff04c3713c175a76a06723042e681ae#f53c7775) [INFO] [stderr] Compiling string_cache v0.7.5 [INFO] [stderr] Checking termion v1.5.3 [INFO] [stderr] Checking quickcheck v0.9.0 [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Compiling serde_derive v1.0.102 [INFO] [stderr] Checking failure v0.1.6 [INFO] [stderr] Compiling nettle-sys v2.0.4 [INFO] [stderr] Compiling docopt v1.1.0 [INFO] [stderr] Compiling lalrpop v0.17.2 [INFO] [stderr] Checking nettle v5.0.3 [INFO] [stderr] Compiling sequoia-openpgp v0.12.0 (https://gitlab.com/sequoia-pgp/sequoia.git?rev=f53c77752ff04c3713c175a76a06723042e681ae#f53c7775) [INFO] [stderr] Checking keygen v0.1.0 (/opt/rustwide/workdir) [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/main.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 62 | fn generate_key(user_id: UserID, password: Password) -> sequoia_openpgp::Result<(TPK, Signature)> { [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] 63 | let certify_only: KeyFlags = KeyFlags::empty().set_certify(true); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 64 | let sign_only: KeyFlags = KeyFlags::empty().set_sign(true); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 65 | let encrypt_only: KeyFlags = KeyFlags::empty() [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 68 | let auth_only: KeyFlags = KeyFlags::empty().set_authenticate(true); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 71 | / TPKBuilder::new() [INFO] [stdout] 72 | | // RSA4096 with SHA512 and AES256 [INFO] [stdout] 73 | | .set_cipher_suite(CipherSuite::RSA4k) [INFO] [stdout] 74 | | .primary_keyflags(certify_only) [INFO] [stdout] ... | [INFO] [stdout] 79 | | .add_subkey(encrypt_only, Some(leap_year)) [INFO] [stdout] 80 | | .add_subkey(auth_only, Some(leap_year)) [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] [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/main.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 62 | fn generate_key(user_id: UserID, password: Password) -> sequoia_openpgp::Result<(TPK, Signature)> { [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] 63 | let certify_only: KeyFlags = KeyFlags::empty().set_certify(true); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 64 | let sign_only: KeyFlags = KeyFlags::empty().set_sign(true); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 65 | let encrypt_only: KeyFlags = KeyFlags::empty() [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 68 | let auth_only: KeyFlags = KeyFlags::empty().set_authenticate(true); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 71 | / TPKBuilder::new() [INFO] [stdout] 72 | | // RSA4096 with SHA512 and AES256 [INFO] [stdout] 73 | | .set_cipher_suite(CipherSuite::RSA4k) [INFO] [stdout] 74 | | .primary_keyflags(certify_only) [INFO] [stdout] ... | [INFO] [stdout] 79 | | .add_subkey(encrypt_only, Some(leap_year)) [INFO] [stdout] 80 | | .add_subkey(auth_only, Some(leap_year)) [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 `keygen` (bin "keygen" test) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `keygen` (bin "keygen") due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "c8568f886a809edde2bdc4b6b293e43e983976e6bab13ece54f9a28f0f73d7aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c8568f886a809edde2bdc4b6b293e43e983976e6bab13ece54f9a28f0f73d7aa", kill_on_drop: false }` [INFO] [stdout] c8568f886a809edde2bdc4b6b293e43e983976e6bab13ece54f9a28f0f73d7aa