[INFO] fetching crate saltwater 0.11.0... [INFO] testing saltwater-0.11.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate saltwater 0.11.0 into /workspace/builds/worker-6-tc1/source [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-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate saltwater 0.11.0 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bit-vec v0.6.2 [INFO] [stderr] Downloaded pico-args v0.3.3 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.65 [INFO] [stderr] Downloaded rusty-fork v0.2.2 [INFO] [stderr] Downloaded target-lexicon v0.10.0 [INFO] [stderr] Downloaded counter v0.4.3 [INFO] [stderr] Downloaded cranelift-native v0.66.0 [INFO] [stderr] Downloaded proptest-derive v0.1.2 [INFO] [stderr] Downloaded codespan v0.9.5 [INFO] [stderr] Downloaded cranelift-frontend v0.66.0 [INFO] [stderr] Downloaded indexmap v1.5.0 [INFO] [stderr] Downloaded js-sys v0.3.42 [INFO] [stderr] Downloaded hashbrown v0.8.1 [INFO] [stderr] Downloaded lasso v0.2.2 [INFO] [stderr] Downloaded lewton v0.10.1 [INFO] [stderr] Downloaded regalloc v0.0.27 [INFO] [stderr] Downloaded cranelift-codegen-meta v0.66.0 [INFO] [stderr] Downloaded wasm-bindgen v0.2.65 [INFO] [stderr] Downloaded syn v1.0.35 [INFO] [stderr] Downloaded proptest v0.9.6 [INFO] [stderr] Downloaded cranelift-bforest v0.66.0 [INFO] [stderr] Downloaded raw-cpuid v7.0.3 [INFO] [stderr] Downloaded errno v0.2.6 [INFO] [stderr] Downloaded region v2.2.0 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.65 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.65 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.65 [INFO] [stderr] Downloaded git-testament v0.1.9 [INFO] [stderr] Downloaded hexponent v0.3.1 [INFO] [stderr] Downloaded libc v0.2.73 [INFO] [stderr] Downloaded color-backtrace v0.4.2 [INFO] [stderr] Downloaded cranelift v0.66.0 [INFO] [stderr] Downloaded cranelift-object v0.66.0 [INFO] [stderr] Downloaded cranelift-module v0.66.0 [INFO] [stderr] Downloaded cranelift-codegen-shared v0.66.0 [INFO] [stderr] Downloaded cranelift-entity v0.66.0 [INFO] [stderr] Downloaded cranelift-codegen v0.66.0 [INFO] [stderr] Downloaded cranelift-simplejit v0.66.0 [INFO] [stderr] Downloaded git-testament-derive v0.1.10 [INFO] [stderr] Downloaded web-sys v0.3.42 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 671f1471b0ba12d3d04e8ab7a8c27872c522bee537d4847d4c52d2e778e22b8d [INFO] running `Command { std: "docker" "start" "-a" "671f1471b0ba12d3d04e8ab7a8c27872c522bee537d4847d4c52d2e778e22b8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "671f1471b0ba12d3d04e8ab7a8c27872c522bee537d4847d4c52d2e778e22b8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "671f1471b0ba12d3d04e8ab7a8c27872c522bee537d4847d4c52d2e778e22b8d", kill_on_drop: false }` [INFO] [stdout] 671f1471b0ba12d3d04e8ab7a8c27872c522bee537d4847d4c52d2e778e22b8d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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" "-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 80bb77ea8ab09d59dd01f9ed7c92d554a73017e263f149ba38b3c5f0bcf0ef05 [INFO] running `Command { std: "docker" "start" "-a" "80bb77ea8ab09d59dd01f9ed7c92d554a73017e263f149ba38b3c5f0bcf0ef05", 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 unicode-xid v0.2.1 [INFO] [stderr] Compiling libc v0.2.73 [INFO] [stderr] Compiling syn v1.0.35 [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 target-lexicon v0.10.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling cranelift-codegen-meta v0.66.0 [INFO] [stderr] Compiling smallvec v1.4.1 [INFO] [stderr] Compiling hashbrown v0.8.1 [INFO] [stderr] Compiling indexmap v1.5.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling regalloc v0.0.27 [INFO] [stderr] Compiling cranelift-bforest v0.66.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling anyhow v1.0.32 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.8 [INFO] [stderr] Compiling gimli v0.22.0 [INFO] [stderr] Compiling adler v0.2.3 [INFO] [stderr] Compiling miniz_oxide v0.4.0 [INFO] [stderr] Compiling object v0.20.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling counter v0.4.3 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling pico-args v0.3.3 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling codespan v0.9.5 [INFO] [stderr] Compiling hexponent v0.3.1 [INFO] [stderr] Compiling lasso v0.2.2 [INFO] [stderr] Compiling addr2line v0.13.0 [INFO] [stderr] Compiling backtrace v0.3.50 [INFO] [stderr] Compiling color-backtrace v0.4.2 [INFO] [stderr] Compiling thiserror-impl v1.0.20 [INFO] [stderr] Compiling thiserror v1.0.20 [INFO] [stderr] Compiling cranelift-codegen v0.66.0 [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] error: 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: `#[deny(semicolon_in_expressions_from_macros)]` (part of `#[deny(future_incompatible)]`) on by default [INFO] [stdout] = note: this error originates in the macro `semantic_err` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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 error originates in the macro `semantic_err` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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 error originates in the macro `semantic_err` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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 error originates in the macro `semantic_err` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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 error 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(rust_2021_compatibility)]`) 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] error: could not compile `saltwater` (lib) due to 10 previous errors; 18 warnings emitted [INFO] running `Command { std: "docker" "inspect" "80bb77ea8ab09d59dd01f9ed7c92d554a73017e263f149ba38b3c5f0bcf0ef05", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "80bb77ea8ab09d59dd01f9ed7c92d554a73017e263f149ba38b3c5f0bcf0ef05", kill_on_drop: false }` [INFO] [stdout] 80bb77ea8ab09d59dd01f9ed7c92d554a73017e263f149ba38b3c5f0bcf0ef05