[INFO] fetching crate saltwater 0.11.0... [INFO] checking saltwater-0.11.0 against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] extracting crate saltwater 0.11.0 into /workspace/builds/worker-5-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-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate saltwater 0.11.0 on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded git-testament v0.1.9 [INFO] [stderr] Downloaded proptest-derive v0.1.2 [INFO] [stderr] Downloaded git-testament-derive v0.1.10 [INFO] [stderr] Downloaded counter v0.4.3 [INFO] [stderr] Downloaded hexponent v0.3.1 [INFO] [stderr] Downloaded pico-args v0.3.3 [INFO] [stderr] Downloaded cranelift v0.66.0 [INFO] [stderr] Downloaded cranelift-module v0.66.0 [INFO] [stderr] Downloaded color-backtrace v0.4.2 [INFO] [stderr] Downloaded codespan v0.9.5 [INFO] [stderr] Downloaded backtrace v0.3.50 [INFO] [stderr] Downloaded smallvec v1.4.1 [INFO] [stderr] Downloaded claxon v0.4.2 [INFO] [stderr] Downloaded lewton v0.10.1 [INFO] [stderr] Downloaded cranelift-frontend v0.66.0 [INFO] [stderr] Downloaded cranelift-codegen-meta v0.66.0 [INFO] [stderr] Downloaded regalloc v0.0.27 [INFO] [stderr] Downloaded cranelift-bforest v0.66.0 [INFO] [stderr] Downloaded cranelift-codegen-shared v0.66.0 [INFO] [stderr] Downloaded cranelift-entity v0.66.0 [INFO] [stderr] Downloaded raw-cpuid v7.0.3 [INFO] [stderr] Downloaded errno v0.2.6 [INFO] [stderr] Downloaded cranelift-simplejit v0.66.0 [INFO] [stderr] Downloaded cranelift-object v0.66.0 [INFO] [stderr] Downloaded cranelift-native v0.66.0 [INFO] [stderr] Downloaded lasso v0.2.2 [INFO] [stderr] Downloaded ogg v0.7.0 [INFO] [stderr] Downloaded cranelift-codegen v0.66.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] eabacb386cf425001e0a507f99d4643df92c43ab268272a2ae1f1d4fce6cd9fb [INFO] running `Command { std: "docker" "start" "-a" "eabacb386cf425001e0a507f99d4643df92c43ab268272a2ae1f1d4fce6cd9fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eabacb386cf425001e0a507f99d4643df92c43ab268272a2ae1f1d4fce6cd9fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eabacb386cf425001e0a507f99d4643df92c43ab268272a2ae1f1d4fce6cd9fb", kill_on_drop: false }` [INFO] [stdout] eabacb386cf425001e0a507f99d4643df92c43ab268272a2ae1f1d4fce6cd9fb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2a7bba194f5a63d957b136d60e15ab119e6e0cbc3b7987d9445842ca051e85ee [INFO] running `Command { std: "docker" "start" "-a" "2a7bba194f5a63d957b136d60e15ab119e6e0cbc3b7987d9445842ca051e85ee", 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 libc v0.2.73 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling syn v1.0.35 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling cranelift-codegen-shared v0.66.0 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling cranelift-entity v0.66.0 [INFO] [stderr] Compiling target-lexicon v0.10.0 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Checking smallvec v1.4.1 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling anyhow v1.0.32 [INFO] [stderr] Checking gimli v0.22.0 [INFO] [stderr] Compiling rayon-core v1.7.1 [INFO] [stderr] Compiling cranelift-codegen-meta v0.66.0 [INFO] [stderr] Checking miniz_oxide v0.4.0 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Checking cranelift-bforest v0.66.0 [INFO] [stderr] Compiling serde_json v1.0.56 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Compiling rand_chacha v0.1.1 [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] Checking regalloc v0.0.27 [INFO] [stderr] Compiling memoffset v0.5.5 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Checking regex-automata v0.1.9 [INFO] [stderr] Compiling rayon v1.3.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking termcolor v1.1.0 [INFO] [stderr] Checking getrandom v0.1.14 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking regex-syntax v0.6.18 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking pico-args v0.3.3 [INFO] [stderr] Checking lasso v0.2.2 [INFO] [stderr] Checking half v1.6.0 [INFO] [stderr] Checking bit-vec v0.6.2 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking codespan v0.9.5 [INFO] [stderr] Checking hexponent v0.3.1 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking object v0.20.0 [INFO] [stderr] Checking bit-set v0.5.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking clap v2.33.1 [INFO] [stderr] Checking oorandom v11.1.2 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking criterion-plot v0.4.3 [INFO] [stderr] Checking counter v0.4.3 [INFO] [stderr] Checking plotters v0.2.15 [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stderr] Checking regex v1.3.9 [INFO] [stderr] Checking rusty-fork v0.2.2 [INFO] [stderr] Checking proptest v0.9.6 [INFO] [stderr] Checking addr2line v0.13.0 [INFO] [stderr] Checking bstr v0.2.13 [INFO] [stderr] Checking serde_cbor v0.11.1 [INFO] [stderr] Checking csv v1.1.3 [INFO] [stderr] Checking tinytemplate v1.1.0 [INFO] [stderr] Checking backtrace v0.3.50 [INFO] [stderr] Checking color-backtrace v0.4.2 [INFO] [stderr] Compiling thiserror-impl v1.0.20 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling cranelift-codegen v0.66.0 [INFO] [stderr] Checking thiserror v1.0.20 [INFO] [stderr] Compiling proptest-derive v0.1.2 [INFO] [stderr] Checking criterion v0.3.3 [INFO] [stderr] Checking cranelift-module v0.66.0 [INFO] [stderr] Checking cranelift-frontend v0.66.0 [INFO] [stderr] Checking cranelift v0.66.0 [INFO] [stderr] Checking cranelift-object v0.66.0 [INFO] [stderr] Checking 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)]` 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)]` 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: 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)]` 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)]` 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 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/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: 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] error: could not compile `saltwater` (lib) due to 10 previous errors; 18 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/data/lex.rs:452:26 [INFO] [stdout] | [INFO] [stdout] 452 | pub(crate) fn cpp(s: &str) -> PreProcessor { [INFO] [stdout] | ^^^^ ------------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 452 | pub(crate) fn cpp(s: &str) -> PreProcessor<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/data/lex.rs:457:37 [INFO] [stdout] | [INFO] [stdout] 457 | pub(crate) fn cpp_no_newline(s: &str) -> PreProcessor { [INFO] [stdout] | ^^^^ ------------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 457 | pub(crate) fn cpp_no_newline(s: &str) -> PreProcessor<'_> { [INFO] [stdout] | ++++ [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] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse/mod.rs:389:33 [INFO] [stdout] | [INFO] [stdout] 389 | pub(crate) fn parser(input: &str) -> Parser { [INFO] [stdout] | ^^^^ ------------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 389 | pub(crate) fn parser(input: &str) -> Parser> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `saltwater` (lib test) due to 10 previous errors; 28 warnings emitted [INFO] running `Command { std: "docker" "inspect" "2a7bba194f5a63d957b136d60e15ab119e6e0cbc3b7987d9445842ca051e85ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a7bba194f5a63d957b136d60e15ab119e6e0cbc3b7987d9445842ca051e85ee", kill_on_drop: false }` [INFO] [stdout] 2a7bba194f5a63d957b136d60e15ab119e6e0cbc3b7987d9445842ca051e85ee