[INFO] fetching crate seahorse-lang 0.2.7... [INFO] checking seahorse-lang-0.2.7 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate seahorse-lang 0.2.7 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate seahorse-lang 0.2.7 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 seahorse-lang 0.2.7 [INFO] finished tweaking crates.io crate seahorse-lang 0.2.7 [INFO] tweaked toml for crates.io crate seahorse-lang 0.2.7 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate crates.io crate seahorse-lang 0.2.7 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] a7f19181384686c994274674ce7be941701461ded1727a26602fe2e563231a48 [INFO] running `Command { std: "docker" "start" "-a" "a7f19181384686c994274674ce7be941701461ded1727a26602fe2e563231a48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a7f19181384686c994274674ce7be941701461ded1727a26602fe2e563231a48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7f19181384686c994274674ce7be941701461ded1727a26602fe2e563231a48", kill_on_drop: false }` [INFO] [stdout] a7f19181384686c994274674ce7be941701461ded1727a26602fe2e563231a48 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 49c2fa42dfe8fc615f38f2f6abfa92951baede055cd3cd010aa0a6c3f614c2ae [INFO] running `Command { std: "docker" "start" "-a" "49c2fa42dfe8fc615f38f2f6abfa92951baede055cd3cd010aa0a6c3f614c2ae", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling unicode-ident v1.0.1 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling string_cache_shared v0.3.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling autocfg v0.1.8 [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 phf_shared v0.7.24 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling regex-syntax v0.6.26 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling fixedbitset v0.1.9 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling ordermap v0.3.5 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling rustversion v1.0.7 [INFO] [stderr] Checking ucd-trie v0.1.4 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling ena v0.13.1 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling diff v0.1.12 [INFO] [stderr] Checking unic-common v0.9.0 [INFO] [stderr] Compiling lalrpop-util v0.17.2 [INFO] [stderr] Checking unic-char-range v0.9.0 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Checking unic-char-property v0.9.0 [INFO] [stderr] Compiling bit-set v0.5.2 [INFO] [stderr] Checking unic-ucd-version v0.9.0 [INFO] [stderr] Compiling petgraph v0.4.13 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling dirs v1.0.5 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling term v0.5.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking hashbrown v0.12.1 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking fastrand v1.8.0 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Checking os_str_bytes v6.1.0 [INFO] [stderr] Checking home v0.5.3 [INFO] [stderr] Compiling regex v1.5.6 [INFO] [stderr] Compiling ascii-canvas v2.0.0 [INFO] [stderr] Checking itertools v0.10.3 [INFO] [stderr] Checking tempfile v3.3.0 [INFO] [stderr] Compiling seahorse-lang v0.2.7 (/opt/rustwide/workdir) [INFO] [stderr] Checking combine v4.6.4 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking unic-ucd-ident v0.9.0 [INFO] [stderr] Checking unic-emoji-char v0.9.0 [INFO] [stderr] Checking unicode_names2 v0.4.0 [INFO] [stderr] Checking once_cell v1.12.0 [INFO] [stderr] Checking textwrap v0.15.0 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking maplit v1.0.2 [INFO] [stderr] Checking owo-colors v3.4.0 [INFO] [stderr] Checking base58 v0.2.0 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling string_cache_codegen v0.4.4 [INFO] [stderr] Compiling string_cache v0.7.5 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling thiserror-impl v1.0.32 [INFO] [stderr] Compiling strum_macros v0.24.2 [INFO] [stderr] Compiling clap_derive v3.2.7 [INFO] [stderr] Checking thiserror v1.0.32 [INFO] [stderr] Checking pest v2.2.1 [INFO] [stderr] Checking strum v0.24.1 [INFO] [stderr] Checking spinners v4.1.0 [INFO] [stderr] Checking clap v3.2.8 [INFO] [stderr] Checking semver-parser v0.10.2 [INFO] [stderr] Checking semver v0.11.0 [INFO] [stderr] Checking toolchain_find v0.2.0 [INFO] [stderr] Checking toml_edit v0.14.4 [INFO] [stderr] Checking toml v0.5.9 [INFO] [stderr] Compiling docopt v1.1.1 [INFO] [stderr] Checking rustfmt-wrapper v0.2.0 [INFO] [stderr] Compiling lalrpop v0.17.2 [INFO] [stderr] Compiling rustpython-parser v0.1.2 [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/core/clean/mod.rs:374:51 [INFO] [stdout] | [INFO] [stdout] 374 | py::ExpressionType::Subscript { a, b } => ( [INFO] [stdout] | ____________________________________________________^ [INFO] [stdout] 375 | | validate_constant(&*a) && validate_constant(&*b) [INFO] [stdout] | | ____________^________________________________________________^ [INFO] [stdout] | ||____________| [INFO] [stdout] | | [INFO] [stdout] 376 | | ), [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 374 - py::ExpressionType::Subscript { a, b } => ( [INFO] [stdout] 375 - validate_constant(&*a) && validate_constant(&*b) [INFO] [stdout] 374 + py::ExpressionType::Subscript { a, b } => validate_constant(&*a) && validate_constant(&*b), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/core/clean/mod.rs:377:51 [INFO] [stdout] | [INFO] [stdout] 377 | py::ExpressionType::Binop { a, b, .. } => ( [INFO] [stdout] | ____________________________________________________^ [INFO] [stdout] 378 | | validate_constant(&*a) && validate_constant(&*b) [INFO] [stdout] | | ____________^________________________________________________^ [INFO] [stdout] | ||____________| [INFO] [stdout] | | [INFO] [stdout] 379 | | ), [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 377 - py::ExpressionType::Binop { a, b, .. } => ( [INFO] [stdout] 378 - validate_constant(&*a) && validate_constant(&*b) [INFO] [stdout] 377 + py::ExpressionType::Binop { a, b, .. } => validate_constant(&*a) && validate_constant(&*b), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Python` and `pyth::ExprContext` [INFO] [stdout] --> src/core/compile/sign/mod.rs:16:15 [INFO] [stdout] | [INFO] [stdout] 16 | builtin::{pyth::ExprContext, Builtin, BuiltinSource, Python}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/core/clean/mod.rs:374:51 [INFO] [stdout] | [INFO] [stdout] 374 | py::ExpressionType::Subscript { a, b } => ( [INFO] [stdout] | ____________________________________________________^ [INFO] [stdout] 375 | | validate_constant(&*a) && validate_constant(&*b) [INFO] [stdout] | | ____________^________________________________________________^ [INFO] [stdout] | ||____________| [INFO] [stdout] | | [INFO] [stdout] 376 | | ), [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 374 - py::ExpressionType::Subscript { a, b } => ( [INFO] [stdout] 375 - validate_constant(&*a) && validate_constant(&*b) [INFO] [stdout] 374 + py::ExpressionType::Subscript { a, b } => validate_constant(&*a) && validate_constant(&*b), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/core/clean/mod.rs:377:51 [INFO] [stdout] | [INFO] [stdout] 377 | py::ExpressionType::Binop { a, b, .. } => ( [INFO] [stdout] | ____________________________________________________^ [INFO] [stdout] 378 | | validate_constant(&*a) && validate_constant(&*b) [INFO] [stdout] | | ____________^________________________________________________^ [INFO] [stdout] | ||____________| [INFO] [stdout] | | [INFO] [stdout] 379 | | ), [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 377 - py::ExpressionType::Binop { a, b, .. } => ( [INFO] [stdout] 378 - validate_constant(&*a) && validate_constant(&*b) [INFO] [stdout] 377 + py::ExpressionType::Binop { a, b, .. } => validate_constant(&*a) && validate_constant(&*b), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Python` and `pyth::ExprContext` [INFO] [stdout] --> src/core/compile/sign/mod.rs:16:15 [INFO] [stdout] | [INFO] [stdout] 16 | builtin::{pyth::ExprContext, Builtin, BuiltinSource, Python}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Vec` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/core/compile/build/mod.rs:305:27 [INFO] [stdout] | [INFO] [stdout] 303 | fn make_account_ty_expr(ty: Ty) -> AccountTyExpr { [INFO] [stdout] | -- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 304 | match ty { [INFO] [stdout] 305 | Ty::Generic(name, params) => match name { [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 `build::Transformation` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/core/compile/build/mod.rs:903:21 [INFO] [stdout] | [INFO] [stdout] 897 | let transformation; [INFO] [stdout] | -------------- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 903 | if let Some(transformation) = transformation { [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: unreachable pattern [INFO] [stdout] --> src/core/compile/build/mod.rs:1248:25 [INFO] [stdout] | [INFO] [stdout] 1248 | _ => {} [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/core/compile/build/mod.rs:1248:25 [INFO] [stdout] | [INFO] [stdout] 1107 | NamespacedObject::Automatic(..) => {}, [INFO] [stdout] | ------------------------------- matches some of the same values [INFO] [stdout] 1108 | NamespacedObject::Import(Located(_, ImportObj { path, is_builtin: true, .. })) => { [INFO] [stdout] | ------------------------------------------------------------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 1115 | NamespacedObject::Import(Located(_, ImportObj { mut path, is_builtin: false, .. })) => { [INFO] [stdout] | ----------------------------------------------------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 1136 | NamespacedObject::Item(item) => { [INFO] [stdout] | ---------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 1248 | _ => {} [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `abs` [INFO] [stdout] --> src/core/compile/build/mod.rs:1095:74 [INFO] [stdout] | [INFO] [stdout] 1095 | .map_with_path(|(mut contexts, (mut signatures, namespace)), abs| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_abs` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s2` [INFO] [stdout] --> src/core/compile/builtin/prelude.rs:1278:48 [INFO] [stdout] | [INFO] [stdout] 1278 | Builtin::Prelude(Self::RustInt(s2, b2)) if (!s1 && b1 < b2) => Some(( [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_s2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Vec` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/core/compile/build/mod.rs:305:27 [INFO] [stdout] | [INFO] [stdout] 303 | fn make_account_ty_expr(ty: Ty) -> AccountTyExpr { [INFO] [stdout] | -- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 304 | match ty { [INFO] [stdout] 305 | Ty::Generic(name, params) => match name { [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: unused variable: `attr` [INFO] [stdout] --> src/core/compile/builtin/python.rs:666:27 [INFO] [stdout] | [INFO] [stdout] 666 | fn static_attr(&self, attr: &String) -> Option { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_attr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `build::Transformation` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/core/compile/build/mod.rs:903:21 [INFO] [stdout] | [INFO] [stdout] 897 | let transformation; [INFO] [stdout] | -------------- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 903 | if let Some(transformation) = transformation { [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: unreachable pattern [INFO] [stdout] --> src/core/compile/build/mod.rs:1248:25 [INFO] [stdout] | [INFO] [stdout] 1248 | _ => {} [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/core/compile/build/mod.rs:1248:25 [INFO] [stdout] | [INFO] [stdout] 1107 | NamespacedObject::Automatic(..) => {}, [INFO] [stdout] | ------------------------------- matches some of the same values [INFO] [stdout] 1108 | NamespacedObject::Import(Located(_, ImportObj { path, is_builtin: true, .. })) => { [INFO] [stdout] | ------------------------------------------------------------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 1115 | NamespacedObject::Import(Located(_, ImportObj { mut path, is_builtin: false, .. })) => { [INFO] [stdout] | ----------------------------------------------------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 1136 | NamespacedObject::Item(item) => { [INFO] [stdout] | ---------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 1248 | _ => {} [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `abs` [INFO] [stdout] --> src/core/compile/build/mod.rs:1095:74 [INFO] [stdout] | [INFO] [stdout] 1095 | .map_with_path(|(mut contexts, (mut signatures, namespace)), abs| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_abs` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/core/compile/check/mod.rs:878:48 [INFO] [stdout] | [INFO] [stdout] 878 | Located(_, ImportObj { path, import_type: ImportType::Symbol, .. }) => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `path: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/core/compile/check/mod.rs:883:48 [INFO] [stdout] | [INFO] [stdout] 883 | Located(_, ImportObj { path, .. }) => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `path: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `check::Ty` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/core/compile/check/mod.rs:772:15 [INFO] [stdout] | [INFO] [stdout] 771 | fn attr(&mut self, t: Ty, attr: &String) -> Option<(Ty, Ty)> { [INFO] [stdout] | - these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 772 | match t.clone() { [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: unused variable: `target` [INFO] [stdout] --> src/core/compile/check/mod.rs:1153:27 [INFO] [stdout] | [INFO] [stdout] 1153 | (Some(target), None) => { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s2` [INFO] [stdout] --> src/core/compile/builtin/prelude.rs:1278:48 [INFO] [stdout] | [INFO] [stdout] 1278 | Builtin::Prelude(Self::RustInt(s2, b2)) if (!s1 && b1 < b2) => Some(( [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_s2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `returns` [INFO] [stdout] --> src/core/compile/sign/mod.rs:131:46 [INFO] [stdout] | [INFO] [stdout] 131 | |(_, FunctionSignature { params, returns })| { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_returns` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `attr` [INFO] [stdout] --> src/core/compile/builtin/python.rs:666:27 [INFO] [stdout] | [INFO] [stdout] 666 | fn static_attr(&self, attr: &String) -> Option { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_attr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Vec` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/core/generate/mod.rs:103:21 [INFO] [stdout] | [INFO] [stdout] 103 | let node = node [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | quote! { #(#node)* } [INFO] [stdout] | -------------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 126 | } else { [INFO] [stdout] 127 | quote! { {#(#node),*} } [INFO] [stdout] | ----------------------- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may 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 variable: `ty` [INFO] [stdout] --> src/core/generate/mod.rs:236:48 [INFO] [stdout] | [INFO] [stdout] 236 | let fs = fields.iter().map(|(name, ty, original_ty)| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/core/compile/check/mod.rs:878:48 [INFO] [stdout] | [INFO] [stdout] 878 | Located(_, ImportObj { path, import_type: ImportType::Symbol, .. }) => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `path: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/core/compile/check/mod.rs:883:48 [INFO] [stdout] | [INFO] [stdout] 883 | Located(_, ImportObj { path, .. }) => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `path: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `check::Ty` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/core/compile/check/mod.rs:772:15 [INFO] [stdout] | [INFO] [stdout] 771 | fn attr(&mut self, t: Ty, attr: &String) -> Option<(Ty, Ty)> { [INFO] [stdout] | - these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 772 | match t.clone() { [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: unused variable: `target` [INFO] [stdout] --> src/core/compile/check/mod.rs:1153:27 [INFO] [stdout] | [INFO] [stdout] 1153 | (Some(target), None) => { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> src/core/generate/mod.rs:1176:54 [INFO] [stdout] | [INFO] [stdout] 1176 | |(name, ContextAccount { account_ty, ty, .. })| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `returns` [INFO] [stdout] --> src/core/compile/sign/mod.rs:131:46 [INFO] [stdout] | [INFO] [stdout] 131 | |(_, FunctionSignature { params, returns })| { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_returns` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Vec` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/core/generate/mod.rs:103:21 [INFO] [stdout] | [INFO] [stdout] 103 | let node = node [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | quote! { #(#node)* } [INFO] [stdout] | -------------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 126 | } else { [INFO] [stdout] 127 | quote! { {#(#node),*} } [INFO] [stdout] | ----------------------- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may 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: variant `ReusedVarInTuple` is never constructed [INFO] [stdout] --> src/core/compile/check/mod.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 24 | enum Error { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] 25 | VarNotFound(String), [INFO] [stdout] 26 | ReusedVarInTuple, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_undeclared` is never used [INFO] [stdout] --> src/core/compile/check/mod.rs:702:8 [INFO] [stdout] | [INFO] [stdout] 550 | impl<'a> Context<'a> { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 702 | fn get_undeclared(&self, target: &Target, loc: &Location) -> CResult> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ContextBaseTyExpr` is never constructed [INFO] [stdout] --> src/core/generate/mod.rs:488:8 [INFO] [stdout] | [INFO] [stdout] 488 | struct ContextBaseTyExpr<'a>(&'a TyExpr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `CouldNotAddModule` is never constructed [INFO] [stdout] --> src/core/preprocess/mod.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 19 | enum Error { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] 20 | CouldNotAddModule, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> src/core/generate/mod.rs:236:48 [INFO] [stdout] | [INFO] [stdout] 236 | let fs = fields.iter().map(|(name, ty, original_ty)| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `seahorse-lang` (lib) due to 5 previous errors; 17 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `ty` [INFO] [stdout] --> src/core/generate/mod.rs:1176:54 [INFO] [stdout] | [INFO] [stdout] 1176 | |(name, ContextAccount { account_ty, ty, .. })| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ty` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ReusedVarInTuple` is never constructed [INFO] [stdout] --> src/core/compile/check/mod.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 24 | enum Error { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] 25 | VarNotFound(String), [INFO] [stdout] 26 | ReusedVarInTuple, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_undeclared` is never used [INFO] [stdout] --> src/core/compile/check/mod.rs:702:8 [INFO] [stdout] | [INFO] [stdout] 550 | impl<'a> Context<'a> { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 702 | fn get_undeclared(&self, target: &Target, loc: &Location) -> CResult> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ContextBaseTyExpr` is never constructed [INFO] [stdout] --> src/core/generate/mod.rs:488:8 [INFO] [stdout] | [INFO] [stdout] 488 | struct ContextBaseTyExpr<'a>(&'a TyExpr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `CouldNotAddModule` is never constructed [INFO] [stdout] --> src/core/preprocess/mod.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 19 | enum Error { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] 20 | CouldNotAddModule, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `seahorse-lang` (lib test) due to 5 previous errors; 17 warnings emitted [INFO] running `Command { std: "docker" "inspect" "49c2fa42dfe8fc615f38f2f6abfa92951baede055cd3cd010aa0a6c3f614c2ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "49c2fa42dfe8fc615f38f2f6abfa92951baede055cd3cd010aa0a6c3f614c2ae", kill_on_drop: false }` [INFO] [stdout] 49c2fa42dfe8fc615f38f2f6abfa92951baede055cd3cd010aa0a6c3f614c2ae