[INFO] fetching crate codegeex4-candle 0.1.0... [INFO] checking codegeex4-candle-0.1.0 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate codegeex4-candle 0.1.0 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate codegeex4-candle 0.1.0 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 codegeex4-candle 0.1.0 [INFO] finished tweaking crates.io crate codegeex4-candle 0.1.0 [INFO] tweaked toml for crates.io crate codegeex4-candle 0.1.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate crates.io crate codegeex4-candle 0.1.0 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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] ec6bd788e41123be9a4c7050536d7906b89e6829436e50b197eacb814c3f29ef [INFO] running `Command { std: "docker" "start" "-a" "ec6bd788e41123be9a4c7050536d7906b89e6829436e50b197eacb814c3f29ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ec6bd788e41123be9a4c7050536d7906b89e6829436e50b197eacb814c3f29ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec6bd788e41123be9a4c7050536d7906b89e6829436e50b197eacb814c3f29ef", kill_on_drop: false }` [INFO] [stdout] ec6bd788e41123be9a4c7050536d7906b89e6829436e50b197eacb814c3f29ef [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 3145075c0346439f2d4271a3c5a4699a2fb384c13b696d5a68662be4e644ab8b [INFO] running `Command { std: "docker" "start" "-a" "3145075c0346439f2d4271a3c5a4699a2fb384c13b696d5a68662be4e644ab8b", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.1.0 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking reborrow v0.5.5 [INFO] [stderr] Checking raw-cpuid v10.7.0 [INFO] [stderr] Compiling seq-macro v0.3.5 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Compiling syn v2.0.70 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Compiling serde_json v1.0.120 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling toml_edit v0.21.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Checking miniz_oxide v0.7.4 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling zip v1.1.4 [INFO] [stderr] Compiling gimli v0.29.0 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Checking rustls-pki-types v1.7.0 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling rustc-demangle v0.1.24 [INFO] [stderr] Checking flate2 v1.0.30 [INFO] [stderr] Compiling rustls v0.23.11 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Checking console v0.15.8 [INFO] [stderr] Compiling object v0.36.1 [INFO] [stderr] Checking memmap2 v0.9.4 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking anstyle-parse v0.2.4 [INFO] [stderr] Checking webpki-roots v0.26.3 [INFO] [stderr] Checking fdeflate v0.3.4 [INFO] [stderr] Checking indicatif v0.17.8 [INFO] [stderr] Checking itertools v0.11.0 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Checking zune-core v0.4.12 [INFO] [stderr] Checking colorchoice v1.0.1 [INFO] [stderr] Checking anstyle-query v1.1.0 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking is_terminal_polyfill v1.70.0 [INFO] [stderr] Compiling macro_rules_attribute-proc_macro v0.2.0 [INFO] [stderr] Checking rand_distr v0.4.3 [INFO] [stderr] Checking anstyle v1.0.7 [INFO] [stderr] Checking ipnet v2.9.0 [INFO] [stderr] Checking unicode-segmentation v1.11.0 [INFO] [stderr] Checking zune-jpeg v0.4.11 [INFO] [stderr] Checking png v0.17.13 [INFO] [stderr] Checking anstream v0.6.14 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling backtrace v0.3.73 [INFO] [stderr] Compiling onig_sys v69.8.1 [INFO] [stderr] Compiling esaxx-rs v0.1.10 [INFO] [stderr] Checking macro_rules_attribute v0.2.0 [INFO] [stderr] Checking dirs v5.0.1 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking csv-core v0.1.11 [INFO] [stderr] Checking clap_lex v0.7.1 [INFO] [stderr] Compiling proc-macro-crate v3.1.0 [INFO] [stderr] Checking clap_builder v4.5.9 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Checking rayon-cond v0.3.0 [INFO] [stderr] Compiling addr2line v0.22.0 [INFO] [stderr] Checking regex v1.10.5 [INFO] [stderr] Checking fancy-regex v0.13.0 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling bytemuck_derive v1.7.0 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Compiling tokio-macros v2.3.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling zerofrom-derive v0.1.4 [INFO] [stderr] Compiling num_enum_derive v0.7.2 [INFO] [stderr] Compiling yoke-derive v0.7.4 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling monostate-impl v0.1.13 [INFO] [stderr] Checking rustls-webpki v0.102.5 [INFO] [stderr] Compiling clap_derive v4.5.8 [INFO] [stderr] Checking tokio v1.38.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking onig v6.4.0 [INFO] [stderr] Checking num_enum v0.7.2 [INFO] [stderr] Checking bytemuck v1.16.1 [INFO] [stderr] Checking thiserror v1.0.61 [INFO] [stderr] Compiling candle-examples v0.6.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking zerofrom v0.1.4 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking dyn-stack v0.10.0 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Checking image v0.25.1 [INFO] [stderr] Checking yoke v0.7.4 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Checking pulp v0.18.21 [INFO] [stderr] Compiling derive_builder_core v0.20.0 [INFO] [stderr] Checking clap v4.5.9 [INFO] [stderr] Compiling derive_builder_macro v0.20.0 [INFO] [stderr] Checking derive_builder v0.20.0 [INFO] [stderr] Checking gemm-common v0.17.1 [INFO] [stderr] Checking gemm-f32 v0.17.1 [INFO] [stderr] Checking gemm-c64 v0.17.1 [INFO] [stderr] Checking gemm-f64 v0.17.1 [INFO] [stderr] Checking gemm-c32 v0.17.1 [INFO] [stderr] Checking gemm-f16 v0.17.1 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking gemm v0.17.1 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking monostate v0.1.13 [INFO] [stderr] Checking spm_precompiled v0.1.4 [INFO] [stderr] Checking serde_plain v1.0.2 [INFO] [stderr] Checking csv v1.3.0 [INFO] [stderr] Checking safetensors v0.4.3 [INFO] [stderr] Checking ureq v2.10.0 [INFO] [stderr] Checking tokenizers v0.19.1 [INFO] [stderr] Checking candle-core v0.6.0 [INFO] [stderr] Checking hyper v0.14.30 [INFO] [stderr] Checking candle-nn v0.6.0 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking candle-transformers v0.6.0 [INFO] [stderr] Checking hf-hub v0.3.2 [INFO] [stderr] Checking codegeex4-candle v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this value of type `[candle_core::Tensor; 2]` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/codegeex4.rs:101:22 [INFO] [stdout] | [INFO] [stdout] 80 | let cache = self.cache.narrow(0, seqlen_offset, seqlen)?; [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 81 | let rot_dim = cache.dim(D::Minus2)? * 2; [INFO] [stdout] 82 | let (xs, xs_pass) = ( [INFO] [stdout] | -- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 86 | let xshaped = xs.reshape((seqlen, (), np, rot_dim / 2, 2))?; [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 87 | let cache = cache.reshape((seqlen, (), 1, rot_dim / 2, 2))?; [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 88 | let (xshaped0, xshaped1) = ( [INFO] [stdout] | -------- -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 92 | let (cache0, cache1) = (cache.i((.., .., .., .., 0))?, cache.i((.., .., .., .., 1))?); [INFO] [stdout] | ------ ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 93 | let xs_out = Tensor::stack( [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 101 | Tensor::cat(&[xs_out, xs_pass], D::Minus1) [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: this value of type `[candle_core::Tensor; 2]` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/codegeex4.rs:101:22 [INFO] [stdout] | [INFO] [stdout] 80 | let cache = self.cache.narrow(0, seqlen_offset, seqlen)?; [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 81 | let rot_dim = cache.dim(D::Minus2)? * 2; [INFO] [stdout] 82 | let (xs, xs_pass) = ( [INFO] [stdout] | -- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 86 | let xshaped = xs.reshape((seqlen, (), np, rot_dim / 2, 2))?; [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 87 | let cache = cache.reshape((seqlen, (), 1, rot_dim / 2, 2))?; [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 88 | let (xshaped0, xshaped1) = ( [INFO] [stdout] | -------- -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 92 | let (cache0, cache1) = (cache.i((.., .., .., .., 0))?, cache.i((.., .., .., .., 1))?); [INFO] [stdout] | ------ ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 93 | let xs_out = Tensor::stack( [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 101 | Tensor::cat(&[xs_out, xs_pass], D::Minus1) [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: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `codegeex4-candle` (lib) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `codegeex4-candle` (lib test) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "3145075c0346439f2d4271a3c5a4699a2fb384c13b696d5a68662be4e644ab8b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3145075c0346439f2d4271a3c5a4699a2fb384c13b696d5a68662be4e644ab8b", kill_on_drop: false }` [INFO] [stdout] 3145075c0346439f2d4271a3c5a4699a2fb384c13b696d5a68662be4e644ab8b