[INFO] fetching crate saltwater 0.11.0... [INFO] testing saltwater-0.11.0 against beta-2025-04-13 for beta-1.87-1 [INFO] extracting crate saltwater 0.11.0 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate saltwater 0.11.0 on toolchain beta-2025-04-13 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-04-13" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate saltwater 0.11.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate saltwater 0.11.0 [INFO] tweaked toml for crates.io crate saltwater 0.11.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate crates.io crate saltwater 0.11.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" "+beta-2025-04-13" "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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-04-13" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b3b5861e58ee1b36b96d812bd2f2ed014b153104f74b414ea08e164fc7857c7c [INFO] running `Command { std: "docker" "start" "-a" "b3b5861e58ee1b36b96d812bd2f2ed014b153104f74b414ea08e164fc7857c7c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b3b5861e58ee1b36b96d812bd2f2ed014b153104f74b414ea08e164fc7857c7c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b3b5861e58ee1b36b96d812bd2f2ed014b153104f74b414ea08e164fc7857c7c", kill_on_drop: false }` [INFO] [stdout] b3b5861e58ee1b36b96d812bd2f2ed014b153104f74b414ea08e164fc7857c7c [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-04-13" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d360cc201837355db7fb457c056fb04eaf9b4cb881749aaf0102905e6c8dfdf1 [INFO] running `Command { std: "docker" "start" "-a" "d360cc201837355db7fb457c056fb04eaf9b4cb881749aaf0102905e6c8dfdf1", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling libc v0.2.73 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling cranelift-entity v0.66.0 [INFO] [stderr] Compiling syn v1.0.35 [INFO] [stderr] Compiling cranelift-codegen-shared v0.66.0 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling target-lexicon v0.10.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling smallvec v1.4.1 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling anyhow v1.0.32 [INFO] [stderr] Compiling adler v0.2.3 [INFO] [stderr] Compiling gimli v0.22.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.8 [INFO] [stderr] Compiling miniz_oxide v0.4.0 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling cranelift-codegen-meta v0.66.0 [INFO] [stderr] Compiling cranelift-bforest v0.66.0 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling hashbrown v0.8.1 [INFO] [stderr] Compiling indexmap v1.5.0 [INFO] [stderr] Compiling regalloc v0.0.27 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling codespan v0.9.5 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling hexponent v0.3.1 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling lasso v0.2.2 [INFO] [stderr] Compiling pico-args v0.3.3 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling addr2line v0.13.0 [INFO] [stderr] Compiling object v0.20.0 [INFO] [stderr] Compiling counter v0.4.3 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling backtrace v0.3.50 [INFO] [stderr] Compiling color-backtrace v0.4.2 [INFO] [stderr] Compiling cranelift-codegen v0.66.0 [INFO] [stderr] Compiling thiserror-impl v1.0.20 [INFO] [stderr] Compiling thiserror v1.0.20 [INFO] [stderr] Compiling cranelift-frontend v0.66.0 [INFO] [stderr] Compiling cranelift-module v0.66.0 [INFO] [stderr] Compiling cranelift-object v0.66.0 [INFO] [stderr] Compiling cranelift v0.66.0 [INFO] [stderr] Compiling saltwater v0.11.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: named argument `field__0` is not used by name [INFO] [stdout] --> src/data/error.rs:165:13 [INFO] [stdout] | [INFO] [stdout] 165 | #[error("arrays cannot contain functions (got '{0}'). help: try storing array of pointer to function: (*{}[])(...)")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this named argument is referred to by position in formatting string [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(named_arguments_used_positionally)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `const_err` has been removed: converted into hard error, see issue #71800 for more information [INFO] [stdout] --> src/macros.rs:43:16 [INFO] [stdout] | [INFO] [stdout] 43 | #[deny(const_err)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ir/static_init.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | const_assert!(PTR_SIZE <= std::usize::MAX as u16); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] = note: this warning originates in the macro `const_assert` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/ir/mod.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | })); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/ir/static_init.rs:133:25 [INFO] [stdout] | [INFO] [stdout] 133 | semantic_err!(format!("error declaring static string: {}", err), location) [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `semantic_err` [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = note: this warning originates in the macro `semantic_err` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/ir/mod.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | })); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/ir/static_init.rs:184:22 [INFO] [stdout] | [INFO] [stdout] 184 | _ => semantic_err!("cannot take the address of an rvalue".into(), expr.location), [INFO] [stdout] | --------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `semantic_err` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/ir/mod.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | })); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/ir/static_init.rs:191:18 [INFO] [stdout] | [INFO] [stdout] 191 | _ => semantic_err!( [INFO] [stdout] | __________________- [INFO] [stdout] 192 | | "expression is not a compile time constant".into(), [INFO] [stdout] 193 | | expr.location [INFO] [stdout] 194 | | ), [INFO] [stdout] | |_____________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `semantic_err` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/ir/mod.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | })); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 283 | Err(data) => semantic_err!(data.into(), *location), [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `semantic_err` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/ir/mod.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | })); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 287 | Err(_) => semantic_err!( [INFO] [stdout] | ___________________________- [INFO] [stdout] 288 | | format!( [INFO] [stdout] 289 | | "size {} is too large for stack (can only handle 32-bit values)", [INFO] [stdout] 290 | | u64_size [INFO] [stdout] 291 | | ), [INFO] [stdout] 292 | | *location [INFO] [stdout] 293 | | ), [INFO] [stdout] | |_________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `semantic_err` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private item shadows public glob re-export [INFO] [stdout] --> src/lib.rs:92:1 [INFO] [stdout] | [INFO] [stdout] 92 | mod lex; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the name `lex` in the type namespace is supposed to be publicly re-exported here [INFO] [stdout] --> src/lib.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | pub use data::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: but the private item here shadows it [INFO] [stdout] --> src/lib.rs:92:1 [INFO] [stdout] | [INFO] [stdout] 92 | mod lex; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[warn(hidden_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/lex/cpp.rs:607:10 [INFO] [stdout] | [INFO] [stdout] 607 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `const_err` has been removed: converted into hard error, see issue #71800 for more information [INFO] [stdout] --> src/macros.rs:43:16 [INFO] [stdout] | [INFO] [stdout] 43 | #[deny(const_err)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lex/mod.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | const_assert!(mem::size_of::() >= mem::size_of::()); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `const_assert` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of constant `std::i64::MIN` that will be deprecated in a future Rust version: replaced by the `MIN` associated constant on this type [INFO] [stdout] --> src/analyze/mod.rs:735:31 [INFO] [stdout] | [INFO] [stdout] 735 | std::i64::MIN [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | #![warn(deprecated_in_future)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of constant `std::usize::MAX` that will be deprecated in a future Rust version: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/analyze/expr.rs:996:30 [INFO] [stdout] | [INFO] [stdout] 996 | _ => std::usize::MAX, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of constant `std::usize::MAX` that will be deprecated in a future Rust version: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/ir/static_init.rs:19:39 [INFO] [stdout] | [INFO] [stdout] 19 | const_assert!(PTR_SIZE <= std::usize::MAX as u16); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of constant `std::f64::EPSILON` that will be deprecated in a future Rust version: replaced by the `EPSILON` associated constant on `f64` [INFO] [stdout] --> src/ir/static_init.rs:409:65 [INFO] [stdout] | [INFO] [stdout] 409 | if (f64::from(cast) - f).abs() >= std::f64::EPSILON { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of constant `std::f64::EPSILON` that will be deprecated in a future Rust version: replaced by the `EPSILON` associated constant on `f64` [INFO] [stdout] --> src/ir/static_init.rs:412:42 [INFO] [stdout] | [INFO] [stdout] 412 | ... f, std::f64::EPSILON, f64::from(cast) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of associated function `cranelift::cranelift_codegen::cranelift_entity::core::num::::max_value` that will be deprecated in a future Rust version: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/arch/x64.rs:5:45 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) const SIZE_MAX: SIZE_T = SIZE_T::max_value(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of associated function `cranelift::cranelift_codegen::cranelift_entity::core::num::::max_value` that will be deprecated in a future Rust version: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/ir/mod.rs:487:30 [INFO] [stdout] | [INFO] [stdout] 487 | i16::max_value() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `location` is never read [INFO] [stdout] --> src/analyze/mod.rs:1166:5 [INFO] [stdout] | [INFO] [stdout] 1162 | struct FunctionData { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 1166 | location: Location, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FunctionData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Recover` is never used [INFO] [stdout] --> src/data/error.rs:692:18 [INFO] [stdout] | [INFO] [stdout] 692 | pub(crate) trait Recover { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `given_newline_error` is never read [INFO] [stdout] --> src/lex/mod.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct Lexer { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 49 | given_newline_error: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Lexer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/ir/static_init.rs:382:35 [INFO] [stdout] | [INFO] [stdout] 382 | x => unreachable!(format!( [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 383 | | "ir_type {} for integer {} is not of integer type", [INFO] [stdout] 384 | | x, i [INFO] [stdout] 385 | | )), [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `unreachable!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `unreachable!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 382 ~ x => unreachable!( [INFO] [stdout] 383 | "ir_type {} for integer {} is not of integer type", [INFO] [stdout] 384 | x, i [INFO] [stdout] 385 ~ ), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/ir/static_init.rs:401:35 [INFO] [stdout] | [INFO] [stdout] 401 | x => unreachable!(format!( [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 402 | | "ir_type {} for integer {} is not of integer type", [INFO] [stdout] 403 | | x, i [INFO] [stdout] 404 | | )), [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `unreachable!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `unreachable!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 401 ~ x => unreachable!( [INFO] [stdout] 402 | "ir_type {} for integer {} is not of integer type", [INFO] [stdout] 403 | x, i [INFO] [stdout] 404 ~ ), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/ir/static_init.rs:420:35 [INFO] [stdout] | [INFO] [stdout] 420 | x => unreachable!(format!( [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 421 | | "ir_type {} for float {} is not of integer type", [INFO] [stdout] 422 | | x, f [INFO] [stdout] 423 | | )), [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `unreachable!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `unreachable!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 420 ~ x => unreachable!( [INFO] [stdout] 421 | "ir_type {} for float {} is not of integer type", [INFO] [stdout] 422 | x, f [INFO] [stdout] 423 ~ ), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 31.80s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: cranelift-codegen-meta v0.66.0, saltwater v0.11.0 (/opt/rustwide/workdir) [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "d360cc201837355db7fb457c056fb04eaf9b4cb881749aaf0102905e6c8dfdf1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d360cc201837355db7fb457c056fb04eaf9b4cb881749aaf0102905e6c8dfdf1", kill_on_drop: false }` [INFO] [stdout] d360cc201837355db7fb457c056fb04eaf9b4cb881749aaf0102905e6c8dfdf1 [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-04-13" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c99f9d5009ac16505fba2f87baac6e085a00e4ebdec57f15003881174a28f858 [INFO] running `Command { std: "docker" "start" "-a" "c99f9d5009ac16505fba2f87baac6e085a00e4ebdec57f15003881174a28f858", kill_on_drop: false }` [INFO] [stderr] warning: invalid feature `_test_header` in required-features of target `headers`: `_test_header` is not present in [features] section [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling libc v0.2.73 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling syn v1.0.35 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling cranelift-entity v0.66.0 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling cranelift-codegen-shared v0.66.0 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling target-lexicon v0.10.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling smallvec v1.4.1 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.8 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling cranelift-codegen-meta v0.66.0 [INFO] [stderr] Compiling cranelift-bforest v0.66.0 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling hashbrown v0.8.1 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling indexmap v1.5.0 [INFO] [stderr] Compiling regalloc v0.0.27 [INFO] [stderr] Compiling memoffset v0.5.5 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling anyhow v1.0.32 [INFO] [stderr] Compiling gimli v0.22.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling rayon-core v1.7.1 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling adler v0.2.3 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling miniz_oxide v0.4.0 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling serde_json v1.0.56 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling regex-automata v0.1.9 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling rayon v1.3.1 [INFO] [stderr] Compiling object v0.20.0 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling counter v0.4.3 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling wait-timeout v0.2.0 [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 ansi_term v0.12.1 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling addr2line v0.13.0 [INFO] [stderr] Compiling hexponent v0.3.1 [INFO] [stderr] Compiling bit-vec v0.6.2 [INFO] [stderr] Compiling codespan v0.9.5 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling half v1.6.0 [INFO] [stderr] Compiling lasso v0.2.2 [INFO] [stderr] Compiling pico-args v0.3.3 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling rusty-fork v0.2.2 [INFO] [stderr] Compiling bit-set v0.5.2 [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stderr] Compiling clap v2.33.1 [INFO] [stderr] Compiling plotters v0.2.15 [INFO] [stderr] Compiling criterion-plot v0.4.3 [INFO] [stderr] Compiling oorandom v11.1.2 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling backtrace v0.3.50 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling proptest v0.9.6 [INFO] [stderr] Compiling color-backtrace v0.4.2 [INFO] [stderr] Compiling bstr v0.2.13 [INFO] [stderr] Compiling serde_cbor v0.11.1 [INFO] [stderr] Compiling thiserror-impl v1.0.20 [INFO] [stderr] Compiling csv v1.1.3 [INFO] [stderr] Compiling tinytemplate v1.1.0 [INFO] [stderr] Compiling thiserror v1.0.20 [INFO] [stderr] Compiling cranelift-codegen v0.66.0 [INFO] [stderr] Compiling proptest-derive v0.1.2 [INFO] [stderr] Compiling criterion v0.3.3 [INFO] [stderr] Compiling cranelift-frontend v0.66.0 [INFO] [stderr] Compiling cranelift-module v0.66.0 [INFO] [stderr] Compiling cranelift-object v0.66.0 [INFO] [stderr] Compiling cranelift v0.66.0 [INFO] [stderr] Compiling saltwater v0.11.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: named argument `field__0` is not used by name [INFO] [stdout] --> src/data/error.rs:165:13 [INFO] [stdout] | [INFO] [stdout] 165 | #[error("arrays cannot contain functions (got '{0}'). help: try storing array of pointer to function: (*{}[])(...)")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this named argument is referred to by position in formatting string [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(named_arguments_used_positionally)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `const_err` has been removed: converted into hard error, see issue #71800 for more information [INFO] [stdout] --> src/macros.rs:43:16 [INFO] [stdout] | [INFO] [stdout] 43 | #[deny(const_err)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ir/static_init.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | const_assert!(PTR_SIZE <= std::usize::MAX as u16); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] = note: this warning originates in the macro `const_assert` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/ir/mod.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | })); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/ir/static_init.rs:133:25 [INFO] [stdout] | [INFO] [stdout] 133 | semantic_err!(format!("error declaring static string: {}", err), location) [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `semantic_err` [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = note: this warning originates in the macro `semantic_err` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/ir/mod.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | })); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/ir/static_init.rs:184:22 [INFO] [stdout] | [INFO] [stdout] 184 | _ => semantic_err!("cannot take the address of an rvalue".into(), expr.location), [INFO] [stdout] | --------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `semantic_err` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/ir/mod.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | })); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/ir/static_init.rs:191:18 [INFO] [stdout] | [INFO] [stdout] 191 | _ => semantic_err!( [INFO] [stdout] | __________________- [INFO] [stdout] 192 | | "expression is not a compile time constant".into(), [INFO] [stdout] 193 | | expr.location [INFO] [stdout] 194 | | ), [INFO] [stdout] | |_____________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `semantic_err` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/ir/mod.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | })); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 283 | Err(data) => semantic_err!(data.into(), *location), [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `semantic_err` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/ir/mod.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | })); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 287 | Err(_) => semantic_err!( [INFO] [stdout] | ___________________________- [INFO] [stdout] 288 | | format!( [INFO] [stdout] 289 | | "size {} is too large for stack (can only handle 32-bit values)", [INFO] [stdout] 290 | | u64_size [INFO] [stdout] 291 | | ), [INFO] [stdout] 292 | | *location [INFO] [stdout] 293 | | ), [INFO] [stdout] | |_________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `semantic_err` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private item shadows public glob re-export [INFO] [stdout] --> src/lib.rs:92:1 [INFO] [stdout] | [INFO] [stdout] 92 | mod lex; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the name `lex` in the type namespace is supposed to be publicly re-exported here [INFO] [stdout] --> src/lib.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | pub use data::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: but the private item here shadows it [INFO] [stdout] --> src/lib.rs:92:1 [INFO] [stdout] | [INFO] [stdout] 92 | mod lex; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[warn(hidden_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/lex/cpp.rs:607:10 [INFO] [stdout] | [INFO] [stdout] 607 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `const_err` has been removed: converted into hard error, see issue #71800 for more information [INFO] [stdout] --> src/macros.rs:43:16 [INFO] [stdout] | [INFO] [stdout] 43 | #[deny(const_err)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lex/mod.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | const_assert!(mem::size_of::() >= mem::size_of::()); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `const_assert` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of constant `std::i64::MIN` that will be deprecated in a future Rust version: replaced by the `MIN` associated constant on this type [INFO] [stdout] --> src/analyze/mod.rs:735:31 [INFO] [stdout] | [INFO] [stdout] 735 | std::i64::MIN [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | #![warn(deprecated_in_future)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of constant `std::usize::MAX` that will be deprecated in a future Rust version: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/analyze/expr.rs:996:30 [INFO] [stdout] | [INFO] [stdout] 996 | _ => std::usize::MAX, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of constant `std::usize::MAX` that will be deprecated in a future Rust version: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/ir/static_init.rs:19:39 [INFO] [stdout] | [INFO] [stdout] 19 | const_assert!(PTR_SIZE <= std::usize::MAX as u16); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of constant `std::f64::EPSILON` that will be deprecated in a future Rust version: replaced by the `EPSILON` associated constant on `f64` [INFO] [stdout] --> src/ir/static_init.rs:409:65 [INFO] [stdout] | [INFO] [stdout] 409 | if (f64::from(cast) - f).abs() >= std::f64::EPSILON { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of constant `std::f64::EPSILON` that will be deprecated in a future Rust version: replaced by the `EPSILON` associated constant on `f64` [INFO] [stdout] --> src/ir/static_init.rs:412:42 [INFO] [stdout] | [INFO] [stdout] 412 | ... f, std::f64::EPSILON, f64::from(cast) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of associated function `cranelift::cranelift_codegen::cranelift_entity::core::num::::max_value` that will be deprecated in a future Rust version: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/arch/x64.rs:5:45 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) const SIZE_MAX: SIZE_T = SIZE_T::max_value(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of associated function `cranelift::cranelift_codegen::cranelift_entity::core::num::::max_value` that will be deprecated in a future Rust version: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/ir/mod.rs:487:30 [INFO] [stdout] | [INFO] [stdout] 487 | i16::max_value() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: named argument `field__0` is not used by name [INFO] [stdout] --> src/data/error.rs:165:13 [INFO] [stdout] | [INFO] [stdout] 165 | #[error("arrays cannot contain functions (got '{0}'). help: try storing array of pointer to function: (*{}[])(...)")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this named argument is referred to by position in formatting string [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(named_arguments_used_positionally)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `const_err` has been removed: converted into hard error, see issue #71800 for more information [INFO] [stdout] --> src/macros.rs:43:16 [INFO] [stdout] | [INFO] [stdout] 43 | #[deny(const_err)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ir/static_init.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | const_assert!(PTR_SIZE <= std::usize::MAX as u16); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] = note: this warning originates in the macro `const_assert` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/ir/mod.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | })); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/ir/static_init.rs:133:25 [INFO] [stdout] | [INFO] [stdout] 133 | semantic_err!(format!("error declaring static string: {}", err), location) [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `semantic_err` [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = note: this warning originates in the macro `semantic_err` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/ir/mod.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | })); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/ir/static_init.rs:184:22 [INFO] [stdout] | [INFO] [stdout] 184 | _ => semantic_err!("cannot take the address of an rvalue".into(), expr.location), [INFO] [stdout] | --------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `semantic_err` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/ir/mod.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | })); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/ir/static_init.rs:191:18 [INFO] [stdout] | [INFO] [stdout] 191 | _ => semantic_err!( [INFO] [stdout] | __________________- [INFO] [stdout] 192 | | "expression is not a compile time constant".into(), [INFO] [stdout] 193 | | expr.location [INFO] [stdout] 194 | | ), [INFO] [stdout] | |_____________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `semantic_err` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/ir/mod.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | })); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 283 | Err(data) => semantic_err!(data.into(), *location), [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `semantic_err` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/ir/mod.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | })); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 287 | Err(_) => semantic_err!( [INFO] [stdout] | ___________________________- [INFO] [stdout] 288 | | format!( [INFO] [stdout] 289 | | "size {} is too large for stack (can only handle 32-bit values)", [INFO] [stdout] 290 | | u64_size [INFO] [stdout] 291 | | ), [INFO] [stdout] 292 | | *location [INFO] [stdout] 293 | | ), [INFO] [stdout] | |_________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `semantic_err` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private item shadows public glob re-export [INFO] [stdout] --> src/lib.rs:92:1 [INFO] [stdout] | [INFO] [stdout] 92 | mod lex; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the name `lex` in the type namespace is supposed to be publicly re-exported here [INFO] [stdout] --> src/lib.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | pub use data::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: but the private item here shadows it [INFO] [stdout] --> src/lib.rs:92:1 [INFO] [stdout] | [INFO] [stdout] 92 | mod lex; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[warn(hidden_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/lex/cpp.rs:607:10 [INFO] [stdout] | [INFO] [stdout] 607 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `const_err` has been removed: converted into hard error, see issue #71800 for more information [INFO] [stdout] --> src/macros.rs:43:16 [INFO] [stdout] | [INFO] [stdout] 43 | #[deny(const_err)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lex/mod.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | const_assert!(mem::size_of::() >= mem::size_of::()); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `const_assert` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of constant `std::i64::MIN` that will be deprecated in a future Rust version: replaced by the `MIN` associated constant on this type [INFO] [stdout] --> src/analyze/mod.rs:735:31 [INFO] [stdout] | [INFO] [stdout] 735 | std::i64::MIN [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | #![warn(deprecated_in_future)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of constant `std::usize::MAX` that will be deprecated in a future Rust version: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/analyze/expr.rs:996:30 [INFO] [stdout] | [INFO] [stdout] 996 | _ => std::usize::MAX, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of constant `std::usize::MAX` that will be deprecated in a future Rust version: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/ir/static_init.rs:19:39 [INFO] [stdout] | [INFO] [stdout] 19 | const_assert!(PTR_SIZE <= std::usize::MAX as u16); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of constant `std::f64::EPSILON` that will be deprecated in a future Rust version: replaced by the `EPSILON` associated constant on `f64` [INFO] [stdout] --> src/ir/static_init.rs:409:65 [INFO] [stdout] | [INFO] [stdout] 409 | if (f64::from(cast) - f).abs() >= std::f64::EPSILON { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of constant `std::f64::EPSILON` that will be deprecated in a future Rust version: replaced by the `EPSILON` associated constant on `f64` [INFO] [stdout] --> src/ir/static_init.rs:412:42 [INFO] [stdout] | [INFO] [stdout] 412 | ... f, std::f64::EPSILON, f64::from(cast) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of associated function `cranelift::cranelift_codegen::cranelift_entity::core::num::::max_value` that will be deprecated in a future Rust version: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/arch/x64.rs:5:45 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) const SIZE_MAX: SIZE_T = SIZE_T::max_value(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `location` is never read [INFO] [stdout] --> src/analyze/mod.rs:1166:5 [INFO] [stdout] | [INFO] [stdout] 1162 | struct FunctionData { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 1166 | location: Location, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FunctionData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Recover` is never used [INFO] [stdout] --> src/data/error.rs:692:18 [INFO] [stdout] | [INFO] [stdout] 692 | pub(crate) trait Recover { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `given_newline_error` is never read [INFO] [stdout] --> src/lex/mod.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct Lexer { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 49 | given_newline_error: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Lexer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/ir/static_init.rs:382:35 [INFO] [stdout] | [INFO] [stdout] 382 | x => unreachable!(format!( [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 383 | | "ir_type {} for integer {} is not of integer type", [INFO] [stdout] 384 | | x, i [INFO] [stdout] 385 | | )), [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `unreachable!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `unreachable!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 382 ~ x => unreachable!( [INFO] [stdout] 383 | "ir_type {} for integer {} is not of integer type", [INFO] [stdout] 384 | x, i [INFO] [stdout] 385 ~ ), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/ir/static_init.rs:401:35 [INFO] [stdout] | [INFO] [stdout] 401 | x => unreachable!(format!( [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 402 | | "ir_type {} for integer {} is not of integer type", [INFO] [stdout] 403 | | x, i [INFO] [stdout] 404 | | )), [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `unreachable!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `unreachable!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 401 ~ x => unreachable!( [INFO] [stdout] 402 | "ir_type {} for integer {} is not of integer type", [INFO] [stdout] 403 | x, i [INFO] [stdout] 404 ~ ), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/ir/static_init.rs:420:35 [INFO] [stdout] | [INFO] [stdout] 420 | x => unreachable!(format!( [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 421 | | "ir_type {} for float {} is not of integer type", [INFO] [stdout] 422 | | x, f [INFO] [stdout] 423 | | )), [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `unreachable!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `unreachable!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 420 ~ x => unreachable!( [INFO] [stdout] 421 | "ir_type {} for float {} is not of integer type", [INFO] [stdout] 422 | x, f [INFO] [stdout] 423 ~ ), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of associated function `cranelift::cranelift_codegen::cranelift_entity::core::num::::max_value` that will be deprecated in a future Rust version: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/ir/mod.rs:487:30 [INFO] [stdout] | [INFO] [stdout] 487 | i16::max_value() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `linux` [INFO] [stdout] --> tests/utils/mod.rs:28:15 [INFO] [stdout] | [INFO] [stdout] 28 | #[cfg(linux)] [INFO] [stdout] | ^^^^^ help: found config with similar value: `target_os = "linux"` [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [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(linux)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(linux)");` 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: `linux` [INFO] [stdout] --> tests/utils/mod.rs:28:15 [INFO] [stdout] | [INFO] [stdout] 28 | #[cfg(linux)] [INFO] [stdout] | ^^^^^ help: found config with similar value: `target_os = "linux"` [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [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(linux)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(linux)");` 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: field `location` is never read [INFO] [stdout] --> src/analyze/mod.rs:1166:5 [INFO] [stdout] | [INFO] [stdout] 1162 | struct FunctionData { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 1166 | location: Location, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FunctionData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `given_newline_error` is never read [INFO] [stdout] --> src/lex/mod.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct Lexer { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 49 | given_newline_error: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Lexer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/data/hir.rs:213:25 [INFO] [stdout] | [INFO] [stdout] 213 | #[cfg_attr(test, derive(Arbitrary))] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Arbitrary` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_ARBITRARY_FOR_Qualifiers` [INFO] [stdout] 214 | pub struct Qualifiers { [INFO] [stdout] | ---------- `Qualifiers` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Arbitrary` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Arbitrary` may come from an old version of the `proptest_derive` crate, try updating your dependency with `cargo update -p proptest_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Arbitrary` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/data/hir.rs:220:25 [INFO] [stdout] | [INFO] [stdout] 220 | #[cfg_attr(test, derive(Arbitrary))] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Arbitrary` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_ARBITRARY_FOR_FunctionQualifiers` [INFO] [stdout] 221 | #[derive(Copy, Clone, Debug, Default, PartialEq, Eq, Hash)] [INFO] [stdout] 222 | pub struct FunctionQualifiers { [INFO] [stdout] | ------------------ `FunctionQualifiers` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Arbitrary` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Arbitrary` may come from an old version of the `proptest_derive` crate, try updating your dependency with `cargo update -p proptest_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Arbitrary` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/data/lex.rs:52:25 [INFO] [stdout] | [INFO] [stdout] 52 | #[cfg_attr(test, derive(Arbitrary))] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Arbitrary` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_ARBITRARY_FOR_Keyword` [INFO] [stdout] 53 | pub enum Keyword { [INFO] [stdout] | ------- `Keyword` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Arbitrary` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Arbitrary` may come from an old version of the `proptest_derive` crate, try updating your dependency with `cargo update -p proptest_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Arbitrary` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/data/lex.rs:119:25 [INFO] [stdout] | [INFO] [stdout] 119 | #[cfg_attr(test, derive(Arbitrary))] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Arbitrary` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_ARBITRARY_FOR_AssignmentToken` [INFO] [stdout] 120 | pub enum AssignmentToken { [INFO] [stdout] | --------------- `AssignmentToken` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Arbitrary` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Arbitrary` may come from an old version of the `proptest_derive` crate, try updating your dependency with `cargo update -p proptest_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Arbitrary` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/data/lex.rs:135:25 [INFO] [stdout] | [INFO] [stdout] 135 | #[cfg_attr(test, derive(Arbitrary))] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Arbitrary` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_ARBITRARY_FOR_ComparisonToken` [INFO] [stdout] 136 | pub enum ComparisonToken { [INFO] [stdout] | --------------- `ComparisonToken` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Arbitrary` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Arbitrary` may come from an old version of the `proptest_derive` crate, try updating your dependency with `cargo update -p proptest_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Arbitrary` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/data/lex.rs:146:25 [INFO] [stdout] | [INFO] [stdout] 146 | #[cfg_attr(test, derive(Arbitrary))] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Arbitrary` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_ARBITRARY_FOR_Literal` [INFO] [stdout] 147 | pub enum Literal { [INFO] [stdout] | ------- `Literal` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Arbitrary` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Arbitrary` may come from an old version of the `proptest_derive` crate, try updating your dependency with `cargo update -p proptest_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Arbitrary` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/data/lex.rs:163:25 [INFO] [stdout] | [INFO] [stdout] 163 | #[cfg_attr(test, derive(Arbitrary))] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Arbitrary` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_ARBITRARY_FOR_Token` [INFO] [stdout] 164 | pub enum Token { [INFO] [stdout] | ----- `Token` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Arbitrary` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Arbitrary` may come from an old version of the `proptest_derive` crate, try updating your dependency with `cargo update -p proptest_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Arbitrary` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/data/types.rs:161:25 [INFO] [stdout] | [INFO] [stdout] 161 | #[cfg_attr(test, derive(Arbitrary))] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Arbitrary` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_ARBITRARY_FOR_ArrayType` [INFO] [stdout] 162 | pub enum ArrayType { [INFO] [stdout] | --------- `ArrayType` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Arbitrary` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Arbitrary` may come from an old version of the `proptest_derive` crate, try updating your dependency with `cargo update -p proptest_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Arbitrary` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/ir/static_init.rs:382:35 [INFO] [stdout] | [INFO] [stdout] 382 | x => unreachable!(format!( [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 383 | | "ir_type {} for integer {} is not of integer type", [INFO] [stdout] 384 | | x, i [INFO] [stdout] 385 | | )), [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `unreachable!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `unreachable!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 382 ~ x => unreachable!( [INFO] [stdout] 383 | "ir_type {} for integer {} is not of integer type", [INFO] [stdout] 384 | x, i [INFO] [stdout] 385 ~ ), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/ir/static_init.rs:401:35 [INFO] [stdout] | [INFO] [stdout] 401 | x => unreachable!(format!( [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 402 | | "ir_type {} for integer {} is not of integer type", [INFO] [stdout] 403 | | x, i [INFO] [stdout] 404 | | )), [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `unreachable!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `unreachable!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 401 ~ x => unreachable!( [INFO] [stdout] 402 | "ir_type {} for integer {} is not of integer type", [INFO] [stdout] 403 | x, i [INFO] [stdout] 404 ~ ), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/ir/static_init.rs:420:35 [INFO] [stdout] | [INFO] [stdout] 420 | x => unreachable!(format!( [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 421 | | "ir_type {} for float {} is not of integer type", [INFO] [stdout] 422 | | x, f [INFO] [stdout] 423 | | )), [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `unreachable!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `unreachable!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 420 ~ x => unreachable!( [INFO] [stdout] 421 | "ir_type {} for float {} is not of integer type", [INFO] [stdout] 422 | x, f [INFO] [stdout] 423 ~ ), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] rustc-LLVM ERROR: IO failure on output stream: No space left on device [INFO] [stderr] error: could not compile `saltwater` (lib test); 30 warnings emitted [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/beta-2025-04-13-x86_64-unknown-linux-gnu/bin/rustc --crate-name saltwater --edition=2018 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C embed-bitcode=no --test --cfg 'feature="ansi_term"' --cfg 'feature="atty"' --cfg 'feature="cc"' --cfg 'feature="codegen"' --cfg 'feature="color-backtrace"' --cfg 'feature="cranelift"' --cfg 'feature="cranelift-module"' --cfg 'feature="cranelift-object"' --cfg 'feature="default"' --cfg 'feature="pico-args"' --cfg 'feature="tempfile"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("_test_headers", "ansi_term", "atty", "cc", "codegen", "color-backtrace", "cranelift", "cranelift-module", "cranelift-object", "cranelift-simplejit", "default", "git-testament", "jit", "pico-args", "rand", "rodio", "salty", "tempfile"))' -C metadata=c0c6453717b250ab -C extra-filename=-6cbb9535eb1dec1e --out-dir /opt/rustwide/target/debug/deps -C strip=debuginfo -L dependency=/opt/rustwide/target/debug/deps --extern ansi_term=/opt/rustwide/target/debug/deps/libansi_term-5eec5a402b099d3a.rlib --extern atty=/opt/rustwide/target/debug/deps/libatty-7179abdd50936066.rlib --extern codespan=/opt/rustwide/target/debug/deps/libcodespan-3a135ae869887600.rlib --extern color_backtrace=/opt/rustwide/target/debug/deps/libcolor_backtrace-cba68a4b1f7ee76b.rlib --extern counter=/opt/rustwide/target/debug/deps/libcounter-5b47e614f8022c39.rlib --extern cranelift=/opt/rustwide/target/debug/deps/libcranelift-55be6b52f7882076.rlib --extern cranelift_module=/opt/rustwide/target/debug/deps/libcranelift_module-0776a957041387a1.rlib --extern cranelift_object=/opt/rustwide/target/debug/deps/libcranelift_object-3aacb016e273e536.rlib --extern criterion=/opt/rustwide/target/debug/deps/libcriterion-1f5691a44571d9fa.rlib --extern env_logger=/opt/rustwide/target/debug/deps/libenv_logger-28419f13a90da13f.rlib --extern hexponent=/opt/rustwide/target/debug/deps/libhexponent-162e0bc73bc5d7f5.rlib --extern lasso=/opt/rustwide/target/debug/deps/liblasso-d494d1e366e65e66.rlib --extern lazy_static=/opt/rustwide/target/debug/deps/liblazy_static-3f0ad799c85b2804.rlib --extern log=/opt/rustwide/target/debug/deps/liblog-43f9ed7d41d0e9fa.rlib --extern pico_args=/opt/rustwide/target/debug/deps/libpico_args-5d0b2e8b2ee5e263.rlib --extern proptest=/opt/rustwide/target/debug/deps/libproptest-3eb27ee13b560d40.rlib --extern proptest_derive=/opt/rustwide/target/debug/deps/libproptest_derive-826e69cff91005d7.so --extern target_lexicon=/opt/rustwide/target/debug/deps/libtarget_lexicon-8b6842078e381af9.rlib --extern tempfile=/opt/rustwide/target/debug/deps/libtempfile-b4b802908b804c49.rlib --extern thiserror=/opt/rustwide/target/debug/deps/libthiserror-cf114282a22955f7.rlib --extern walkdir=/opt/rustwide/target/debug/deps/libwalkdir-c3deabc8083c2008.rlib --cap-lints=warn` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "c99f9d5009ac16505fba2f87baac6e085a00e4ebdec57f15003881174a28f858", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c99f9d5009ac16505fba2f87baac6e085a00e4ebdec57f15003881174a28f858", kill_on_drop: false }` [INFO] [stdout] c99f9d5009ac16505fba2f87baac6e085a00e4ebdec57f15003881174a28f858