[INFO] fetching crate saltwater 0.11.0... [INFO] testing saltwater-0.11.0 against beta-2022-02-22 for beta-1.60-1 [INFO] extracting crate saltwater 0.11.0 into /workspace/builds/worker-26/source [INFO] validating manifest of crates.io crate saltwater 0.11.0 on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "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-26/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: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded glob v0.3.0 [INFO] [stderr] Downloaded winapi-util v0.1.5 [INFO] [stderr] Downloaded cloudabi v0.0.3 [INFO] [stderr] Downloaded rand_chacha v0.1.1 [INFO] [stderr] Downloaded nom v5.1.2 [INFO] [stderr] Downloaded gcc v0.3.55 [INFO] [stderr] Downloaded rand_hc v0.1.0 [INFO] [stderr] Downloaded csv-core v0.1.10 [INFO] [stderr] Downloaded target-lexicon v0.10.0 [INFO] [stderr] Downloaded redox_syscall v0.1.57 [INFO] [stderr] Downloaded thiserror v1.0.20 [INFO] [stderr] Downloaded stdweb v0.1.3 [INFO] [stderr] Downloaded cranelift-native v0.66.0 [INFO] [stderr] Downloaded slice-deque v0.3.0 [INFO] [stderr] Downloaded rustc-hash v1.1.0 [INFO] [stderr] Downloaded shlex v0.1.1 [INFO] [stderr] Downloaded cexpr v0.4.0 [INFO] [stderr] Downloaded lazycell v1.2.1 [INFO] [stderr] Downloaded peeking_take_while v0.1.2 [INFO] [stderr] Downloaded memchr v2.3.3 [INFO] [stderr] Downloaded rand_pcg v0.1.2 [INFO] [stderr] Downloaded minimp3-sys v0.3.2 [INFO] [stderr] Downloaded rand_os v0.1.3 [INFO] [stderr] Downloaded rand_isaac v0.1.1 [INFO] [stderr] Downloaded rand_jitter v0.1.4 [INFO] [stderr] Downloaded rand_xorshift v0.1.1 [INFO] [stderr] Downloaded claxon v0.4.2 [INFO] [stderr] Downloaded hound v3.4.0 [INFO] [stderr] Downloaded coreaudio-sys v0.2.5 [INFO] [stderr] Downloaded libc v0.2.73 [INFO] [stderr] Downloaded object v0.20.0 [INFO] [stderr] Downloaded adler v0.2.3 [INFO] [stderr] Downloaded crossbeam-epoch v0.8.2 [INFO] [stderr] Downloaded crossbeam-deque v0.7.3 [INFO] [stderr] Downloaded pkg-config v0.3.18 [INFO] [stderr] Downloaded core-foundation-sys v0.6.2 [INFO] [stderr] Downloaded clang-sys v0.29.3 [INFO] [stderr] Downloaded proc-macro2 v0.4.30 [INFO] [stderr] Downloaded rand v0.6.5 [INFO] [stderr] Downloaded unicode-width v0.1.8 [INFO] [stderr] Downloaded log v0.4.11 [INFO] [stderr] Downloaded gimli v0.22.0 [INFO] [stderr] Downloaded color-backtrace v0.4.2 [INFO] [stderr] Downloaded cranelift-frontend v0.66.0 [INFO] [stderr] Downloaded cranelift v0.66.0 [INFO] [stderr] Downloaded codespan v0.9.5 [INFO] [stderr] Downloaded addr2line v0.13.0 [INFO] [stderr] Downloaded git-testament v0.1.9 [INFO] [stderr] Downloaded cranelift-module v0.66.0 [INFO] [stderr] Downloaded cranelift-codegen-meta v0.66.0 [INFO] [stderr] Downloaded termcolor v1.1.0 [INFO] [stderr] Downloaded indexmap v1.5.0 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.65 [INFO] [stderr] Downloaded counter v0.4.3 [INFO] [stderr] Downloaded anyhow v1.0.32 [INFO] [stderr] Downloaded oorandom v11.1.2 [INFO] [stderr] Downloaded memoffset v0.5.5 [INFO] [stderr] Downloaded bstr v0.2.13 [INFO] [stderr] Downloaded errno-dragonfly v0.1.1 [INFO] [stderr] Downloaded serde v1.0.114 [INFO] [stderr] Downloaded quote v0.6.13 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.65 [INFO] [stderr] Downloaded regex-automata v0.1.9 [INFO] [stderr] Downloaded cranelift-codegen-shared v0.66.0 [INFO] [stderr] Downloaded errno v0.2.6 [INFO] [stderr] Downloaded bit-set v0.5.2 [INFO] [stderr] Downloaded regex-syntax v0.6.18 [INFO] [stderr] Downloaded criterion v0.3.3 [INFO] [stderr] Downloaded backtrace v0.3.50 [INFO] [stderr] Downloaded minimp3 v0.3.5 [INFO] [stderr] Downloaded hashbrown v0.8.1 [INFO] [stderr] Downloaded cranelift-bforest v0.66.0 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.65 [INFO] [stderr] Downloaded cranelift-codegen v0.66.0 [INFO] [stderr] Downloaded regalloc v0.0.27 [INFO] [stderr] Downloaded syn v1.0.35 [INFO] [stderr] Downloaded ppv-lite86 v0.2.8 [INFO] [stderr] Downloaded csv v1.1.3 [INFO] [stderr] Downloaded cranelift-object v0.66.0 [INFO] [stderr] Downloaded web-sys v0.3.42 [INFO] [stderr] Downloaded syn v0.15.44 [INFO] [stderr] Downloaded half v1.6.0 [INFO] [stderr] Downloaded proptest v0.9.6 [INFO] [stderr] Downloaded plotters v0.2.15 [INFO] [stderr] Downloaded hermit-abi v0.1.15 [INFO] [stderr] Downloaded git-testament-derive v0.1.10 [INFO] [stderr] Downloaded chrono v0.4.13 [INFO] [stderr] Downloaded hexponent v0.3.1 [INFO] [stderr] Downloaded coreaudio-rs v0.9.1 [INFO] [stderr] Downloaded rayon v1.3.1 [INFO] [stderr] Downloaded wait-timeout v0.2.0 [INFO] [stderr] Downloaded unicode-xid v0.1.0 [INFO] [stderr] Downloaded proc-macro2 v1.0.19 [INFO] [stderr] Downloaded cpal v0.11.0 [INFO] [stderr] Downloaded tinyvec v0.3.3 [INFO] [stderr] Downloaded num-integer v0.1.43 [INFO] [stderr] Downloaded js-sys v0.3.42 [INFO] [stderr] Downloaded quick-error v1.2.3 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.65 [INFO] [stderr] Downloaded tinytemplate v1.1.0 [INFO] [stderr] Downloaded lasso v0.2.2 [INFO] [stderr] Downloaded raw-cpuid v7.0.3 [INFO] [stderr] Downloaded region v2.2.0 [INFO] [stderr] Downloaded bumpalo v3.4.0 [INFO] [stderr] Downloaded cranelift-entity v0.66.0 [INFO] [stderr] Downloaded clap v2.33.1 [INFO] [stderr] Downloaded cranelift-simplejit v0.66.0 [INFO] [stderr] Downloaded thiserror-impl v1.0.20 [INFO] [stderr] Downloaded criterion-plot v0.4.3 [INFO] [stderr] Downloaded bindgen v0.53.3 [INFO] [stderr] Downloaded rodio v0.11.0 [INFO] [stderr] Downloaded cc v1.0.58 [INFO] [stderr] Downloaded wasm-bindgen v0.2.65 [INFO] [stderr] Downloaded miniz_oxide v0.4.0 [INFO] [stderr] Downloaded itertools v0.9.0 [INFO] [stderr] Downloaded either v1.5.3 [INFO] [stderr] Downloaded serde_cbor v0.11.1 [INFO] [stderr] Downloaded proptest-derive v0.1.2 [INFO] [stderr] Downloaded env_logger v0.7.1 [INFO] [stderr] Downloaded itoa v0.4.6 [INFO] [stderr] Downloaded rayon-core v1.7.1 [INFO] [stderr] Downloaded pico-args v0.3.3 [INFO] [stderr] Downloaded serde_derive v1.0.114 [INFO] [stderr] Downloaded serde_json v1.0.56 [INFO] [stderr] Downloaded mach v0.3.2 [INFO] [stderr] Downloaded bit-vec v0.6.2 [INFO] [stderr] Downloaded rusty-fork v0.2.2 [INFO] [stderr] Downloaded alsa-sys v0.1.2 [INFO] [stderr] Downloaded libloading v0.5.2 [INFO] [stderr] Downloaded regex v1.3.9 [INFO] [stderr] Downloaded lewton v0.10.1 [INFO] [stderr] Downloaded ogg v0.7.0 [INFO] [stderr] Downloaded smallvec v1.4.1 [INFO] [stderr] Downloaded maybe-uninit v2.0.0 [INFO] [stderr] Downloaded crossbeam-utils v0.7.2 [INFO] [stderr] Downloaded num-traits v0.2.12 [INFO] [stderr] Downloaded crossbeam-queue v0.2.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ae32e7de30c25ca920f6a18ed22e4f9563675100b5a3065de4ae762949dd9ae8 [INFO] running `Command { std: "docker" "start" "-a" "ae32e7de30c25ca920f6a18ed22e4f9563675100b5a3065de4ae762949dd9ae8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ae32e7de30c25ca920f6a18ed22e4f9563675100b5a3065de4ae762949dd9ae8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae32e7de30c25ca920f6a18ed22e4f9563675100b5a3065de4ae762949dd9ae8", kill_on_drop: false }` [INFO] [stdout] ae32e7de30c25ca920f6a18ed22e4f9563675100b5a3065de4ae762949dd9ae8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/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" "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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6a419dafa1a214a929b1fd85be8b40fdeaef0a4c98c0030e4f35f1a4c41d5ac8 [INFO] running `Command { std: "docker" "start" "-a" "6a419dafa1a214a929b1fd85be8b40fdeaef0a4c98c0030e4f35f1a4c41d5ac8", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [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 byteorder v1.3.4 [INFO] [stderr] Compiling target-lexicon v0.10.0 [INFO] [stderr] Compiling smallvec v1.4.1 [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 anyhow v1.0.32 [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 rustc-demangle v0.1.16 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling pico-args v0.3.3 [INFO] [stderr] Compiling lasso v0.2.2 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling hexponent v0.3.1 [INFO] [stderr] Compiling codespan v0.9.5 [INFO] [stderr] Compiling miniz_oxide v0.4.0 [INFO] [stderr] Compiling regalloc v0.0.27 [INFO] [stderr] Compiling cranelift-codegen-meta v0.66.0 [INFO] [stderr] Compiling cranelift-bforest v0.66.0 [INFO] [stderr] Compiling hashbrown v0.8.1 [INFO] [stderr] Compiling indexmap v1.5.0 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling addr2line v0.13.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling counter v0.4.3 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling object v0.20.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling cranelift-codegen v0.66.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-module v0.66.0 [INFO] [stderr] Compiling cranelift-frontend 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: 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] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [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: 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: 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: 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 is never read: `location` [INFO] [stdout] --> src/analyze/mod.rs:1166:5 [INFO] [stdout] | [INFO] [stdout] 1166 | location: Location, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `FunctionData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/analyze/mod.rs:1159:10 [INFO] [stdout] | [INFO] [stdout] 1159 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `given_newline_error` [INFO] [stdout] --> src/lex/mod.rs:49:5 [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] --> src/lex/mod.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (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: `#[warn(non_fmt_panics)]` on by default [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] 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: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 10s [INFO] running `Command { std: "docker" "inspect" "6a419dafa1a214a929b1fd85be8b40fdeaef0a4c98c0030e4f35f1a4c41d5ac8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6a419dafa1a214a929b1fd85be8b40fdeaef0a4c98c0030e4f35f1a4c41d5ac8", kill_on_drop: false }` [INFO] [stdout] 6a419dafa1a214a929b1fd85be8b40fdeaef0a4c98c0030e4f35f1a4c41d5ac8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/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" "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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 361ba24b9e421f2be1c77ac67ca51334642cf412436676f33db4ccd704ded6b1 [INFO] running `Command { std: "docker" "start" "-a" "361ba24b9e421f2be1c77ac67ca51334642cf412436676f33db4ccd704ded6b1", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [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 autocfg v0.1.7 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling cranelift-codegen-shared v0.66.0 [INFO] [stderr] Compiling target-lexicon v0.10.0 [INFO] [stderr] Compiling smallvec v1.4.1 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.8 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling anyhow v1.0.32 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling rayon-core v1.7.1 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling adler v0.2.3 [INFO] [stderr] Compiling gimli v0.22.0 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling serde_json v1.0.56 [INFO] [stderr] Compiling unicode-width v0.1.8 [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 hexponent v0.3.1 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling bit-vec v0.6.2 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling pico-args v0.3.3 [INFO] [stderr] Compiling half v1.6.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling codespan v0.9.5 [INFO] [stderr] Compiling lasso v0.2.2 [INFO] [stderr] Compiling oorandom v11.1.2 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling miniz_oxide v0.4.0 [INFO] [stderr] Compiling cranelift-codegen-meta v0.66.0 [INFO] [stderr] Compiling cranelift-bforest v0.66.0 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling bit-set v0.5.2 [INFO] [stderr] Compiling hashbrown v0.8.1 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling indexmap v1.5.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.5 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling rayon v1.3.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling regalloc v0.0.27 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling clap v2.33.1 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling regex-automata v0.1.9 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling wait-timeout v0.2.0 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling criterion-plot v0.4.3 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling object v0.20.0 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling addr2line v0.13.0 [INFO] [stderr] Compiling counter v0.4.3 [INFO] [stderr] Compiling plotters v0.2.15 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling rusty-fork v0.2.2 [INFO] [stderr] Compiling proptest v0.9.6 [INFO] [stderr] Compiling backtrace v0.3.50 [INFO] [stderr] Compiling bstr v0.2.13 [INFO] [stderr] Compiling serde_cbor v0.11.1 [INFO] [stderr] Compiling color-backtrace v0.4.2 [INFO] [stderr] Compiling csv v1.1.3 [INFO] [stderr] Compiling thiserror-impl v1.0.20 [INFO] [stderr] Compiling tinytemplate v1.1.0 [INFO] [stderr] Compiling cranelift-codegen v0.66.0 [INFO] [stderr] Compiling proptest-derive v0.1.2 [INFO] [stderr] Compiling thiserror v1.0.20 [INFO] [stderr] Compiling criterion v0.3.3 [INFO] [stderr] Compiling cranelift-module v0.66.0 [INFO] [stderr] Compiling cranelift-frontend 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: 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] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [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: 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: 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: 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: 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] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [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: 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: 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: field is never read: `location` [INFO] [stdout] --> src/analyze/mod.rs:1166:5 [INFO] [stdout] | [INFO] [stdout] 1166 | location: Location, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `FunctionData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/analyze/mod.rs:1159:10 [INFO] [stdout] | [INFO] [stdout] 1159 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `given_newline_error` [INFO] [stdout] --> src/lex/mod.rs:49:5 [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] --> src/lex/mod.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (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: 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: `#[warn(non_fmt_panics)]` on by default [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] 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/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 is never read: `location` [INFO] [stdout] --> src/analyze/mod.rs:1166:5 [INFO] [stdout] | [INFO] [stdout] 1166 | location: Location, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `FunctionData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/analyze/mod.rs:1159:10 [INFO] [stdout] | [INFO] [stdout] 1159 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `given_newline_error` [INFO] [stdout] --> src/lex/mod.rs:49:5 [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] --> src/lex/mod.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (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: `#[warn(non_fmt_panics)]` on by default [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] 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: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized] target(s) in 36.04s [INFO] running `Command { std: "docker" "inspect" "361ba24b9e421f2be1c77ac67ca51334642cf412436676f33db4ccd704ded6b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "361ba24b9e421f2be1c77ac67ca51334642cf412436676f33db4ccd704ded6b1", kill_on_drop: false }` [INFO] [stdout] 361ba24b9e421f2be1c77ac67ca51334642cf412436676f33db4ccd704ded6b1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/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" "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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 9019d938191ead42130061670ade87c2a8d634a0883284bdff24155b3793cf5a [INFO] running `Command { std: "docker" "start" "-a" "9019d938191ead42130061670ade87c2a8d634a0883284bdff24155b3793cf5a", 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] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> src/ir/mod.rs:9:12 [INFO] [stderr] | [INFO] [stderr] 9 | })); [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] ::: src/ir/static_init.rs:133:25 [INFO] [stderr] | [INFO] [stderr] 133 | semantic_err!(format!("error declaring static string: {}", err), location) [INFO] [stderr] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 [INFO] [stderr] = note: macro invocations at the end of a block are treated as expressions [INFO] [stderr] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `semantic_err` [INFO] [stderr] = note: this warning originates in the macro `semantic_err` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> src/ir/mod.rs:9:12 [INFO] [stderr] | [INFO] [stderr] 9 | })); [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] ::: src/ir/static_init.rs:184:22 [INFO] [stderr] | [INFO] [stderr] 184 | _ => semantic_err!("cannot take the address of an rvalue".into(), expr.location), [INFO] [stderr] | --------------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 [INFO] [stderr] = note: this warning originates in the macro `semantic_err` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> src/ir/mod.rs:9:12 [INFO] [stderr] | [INFO] [stderr] 9 | })); [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] ::: src/ir/static_init.rs:191:18 [INFO] [stderr] | [INFO] [stderr] 191 | _ => semantic_err!( [INFO] [stderr] | __________________- [INFO] [stderr] 192 | | "expression is not a compile time constant".into(), [INFO] [stderr] 193 | | expr.location [INFO] [stderr] 194 | | ), [INFO] [stderr] | |_____________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 [INFO] [stderr] = note: this warning originates in the macro `semantic_err` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> src/ir/mod.rs:9:12 [INFO] [stderr] | [INFO] [stderr] 9 | })); [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 283 | Err(data) => semantic_err!(data.into(), *location), [INFO] [stderr] | ------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 [INFO] [stderr] = note: this warning originates in the macro `semantic_err` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> src/ir/mod.rs:9:12 [INFO] [stderr] | [INFO] [stderr] 9 | })); [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 287 | Err(_) => semantic_err!( [INFO] [stderr] | ___________________________- [INFO] [stderr] 288 | | format!( [INFO] [stderr] 289 | | "size {} is too large for stack (can only handle 32-bit values)", [INFO] [stderr] 290 | | u64_size [INFO] [stderr] 291 | | ), [INFO] [stderr] 292 | | *location [INFO] [stderr] 293 | | ), [INFO] [stderr] | |_________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 [INFO] [stderr] = note: this warning originates in the macro `semantic_err` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary trailing semicolon [INFO] [stderr] --> src/lex/cpp.rs:607:10 [INFO] [stderr] | [INFO] [stderr] 607 | }; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> src/analyze/mod.rs:735:31 [INFO] [stderr] | [INFO] [stderr] 735 | std::i64::MIN [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] note: the lint level is defined here [INFO] [stderr] --> src/lib.rs:5:9 [INFO] [stderr] | [INFO] [stderr] 5 | #![warn(deprecated_in_future)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> src/analyze/expr.rs:996:30 [INFO] [stderr] | [INFO] [stderr] 996 | _ => std::usize::MAX, [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> src/ir/static_init.rs:19:39 [INFO] [stderr] | [INFO] [stderr] 19 | const_assert!(PTR_SIZE <= std::usize::MAX as u16); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> src/ir/static_init.rs:409:65 [INFO] [stderr] | [INFO] [stderr] 409 | if (f64::from(cast) - f).abs() >= std::f64::EPSILON { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> src/ir/static_init.rs:412:42 [INFO] [stderr] | [INFO] [stderr] 412 | ... f, std::f64::EPSILON, f64::from(cast) [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> src/arch/x64.rs:5:45 [INFO] [stderr] | [INFO] [stderr] 5 | pub(crate) const SIZE_MAX: SIZE_T = SIZE_T::max_value(); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> src/ir/mod.rs:487:30 [INFO] [stderr] | [INFO] [stderr] 487 | i16::max_value() [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `location` [INFO] [stderr] --> src/analyze/mod.rs:1166:5 [INFO] [stderr] | [INFO] [stderr] 1166 | location: Location, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `FunctionData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/analyze/mod.rs:1159:10 [INFO] [stderr] | [INFO] [stderr] 1159 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `given_newline_error` [INFO] [stderr] --> src/lex/mod.rs:49:5 [INFO] [stderr] | [INFO] [stderr] 49 | given_newline_error: bool, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Lexer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/lex/mod.rs:31:10 [INFO] [stderr] | [INFO] [stderr] 31 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/ir/static_init.rs:382:35 [INFO] [stderr] | [INFO] [stderr] 382 | x => unreachable!(format!( [INFO] [stderr] | ___________________________________^ [INFO] [stderr] 383 | | "ir_type {} for integer {} is not of integer type", [INFO] [stderr] 384 | | x, i [INFO] [stderr] 385 | | )), [INFO] [stderr] | |_________________^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] = note: this usage of unreachable!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the unreachable!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 382 ~ x => unreachable!( [INFO] [stderr] 383 | "ir_type {} for integer {} is not of integer type", [INFO] [stderr] 384 | x, i [INFO] [stderr] 385 ~ ), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/ir/static_init.rs:401:35 [INFO] [stderr] | [INFO] [stderr] 401 | x => unreachable!(format!( [INFO] [stderr] | ___________________________________^ [INFO] [stderr] 402 | | "ir_type {} for integer {} is not of integer type", [INFO] [stderr] 403 | | x, i [INFO] [stderr] 404 | | )), [INFO] [stderr] | |_________________^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of unreachable!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the unreachable!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 401 ~ x => unreachable!( [INFO] [stderr] 402 | "ir_type {} for integer {} is not of integer type", [INFO] [stderr] 403 | x, i [INFO] [stderr] 404 ~ ), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/ir/static_init.rs:420:35 [INFO] [stderr] | [INFO] [stderr] 420 | x => unreachable!(format!( [INFO] [stderr] | ___________________________________^ [INFO] [stderr] 421 | | "ir_type {} for float {} is not of integer type", [INFO] [stderr] 422 | | x, f [INFO] [stderr] 423 | | )), [INFO] [stderr] | |_________________^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of unreachable!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the unreachable!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 420 ~ x => unreachable!( [INFO] [stderr] 421 | "ir_type {} for float {} is not of integer type", [INFO] [stderr] 422 | x, f [INFO] [stderr] 423 ~ ), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `saltwater` (lib) generated 18 warnings [INFO] [stderr] warning: `saltwater` (lib test) generated 18 warnings (18 duplicates) [INFO] [stderr] Finished test [unoptimized] target(s) in 1.46s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/saltwater-7ff03483fecefb15) [INFO] [stdout] [INFO] [stdout] running 125 tests [INFO] [stdout] test analyze::expr::test::test_funcall ... ok [INFO] [stdout] test analyze::expr::test::test_mul ... ok [INFO] [stdout] test analyze::expr::test::test_type_errors ... ok [INFO] [stdout] test analyze::expr::test::test_primaries ... ok [INFO] [stdout] test analyze::stmt::tests::test_expr_stmt ... ok [INFO] [stdout] test analyze::test::no_name_should_be_syntax_error ... ok [INFO] [stdout] test analyze::test::redefinition_is_err ... ok [INFO] [stdout] test arch::tests::align_of_non_char_struct ... ok [INFO] [stdout] test data::error::tests::test_compile_error_display ... ok [INFO] [stdout] test arch::tests::char_struct ... ok [INFO] [stdout] test analyze::expr::test::test_explicit_casts ... ok [INFO] [stdout] test data::error::tests::test_compile_error_is_kind ... ok [INFO] [stdout] test data::error::tests::test_error_handler_into_iterator ... ok [INFO] [stdout] test data::error::tests::test_recover_error ... ok [INFO] [stdout] test data::error::tests::test_recover_multiple_errors ... ok [INFO] [stdout] test analyze::test::lol ... ok [INFO] [stdout] test ir::test_compile_error_semantic ... ok [INFO] [stdout] test analyze::test::bitfields ... ok [INFO] [stdout] test analyze::test::test_functions_array_parameter_static ... ok [INFO] [stdout] test data::ast::test::test_declaration_display ... ok [INFO] [stdout] test arch::tests::multiples ... ok [INFO] [stdout] test data::lex::test::str_display_escape ... ok [INFO] [stdout] test lex::cpp::tests::line ... ok [INFO] [stdout] test analyze::test::test_pointers_and_arrays ... ok [INFO] [stdout] test lex::cpp::tests::error ... ok [INFO] [stdout] test analyze::test::typedef_signed ... ok [INFO] [stdout] test lex::cpp::tests::ifndef ... ok [INFO] [stdout] test fold::tests::test_addition ... ok [INFO] [stdout] test lex::cpp::tests::pragma ... ok [INFO] [stdout] test analyze::test::test_complex ... ok [INFO] [stdout] test lex::tests::test_ellipses ... ok [INFO] [stdout] test analyze::test::test_arrays ... ok [INFO] [stdout] test lex::cpp::tests::else_directive ... ok [INFO] [stdout] test lex::cpp::tests::eof_after_macro_call ... ok [INFO] [stdout] test fold::tests::test_subtraction ... ok [INFO] [stdout] test lex::cpp::tests::empty_def ... ok [INFO] [stdout] test lex::cpp::tests::function_body_replacement ... ok [INFO] [stdout] test analyze::test::test_decl_errors ... ok [INFO] [stdout] test fold::tests::test_negation ... ok [INFO] [stdout] test analyze::test::storage_class ... ok [INFO] [stdout] test lex::cpp::tests::cycle_detection ... ok [INFO] [stdout] test lex::cpp::tests::object_body_replacement ... ok [INFO] [stdout] test lex::tests::test_location ... ok [INFO] [stdout] test lex::tests::test_plus ... ok [INFO] [stdout] test lex::cpp::tests::recursive_function ... ok [INFO] [stdout] test parse::decl::test::test_cursed_function_declarator ... ok [INFO] [stdout] test lex::cpp::tests::warning ... ok [INFO] [stdout] test parse::stmt::tests::test_expr_stmt ... ok [INFO] [stdout] test lex::tests::backslashes ... ok [INFO] [stdout] test fold::tests::test_multiplication ... ok [INFO] [stdout] test parse::expr::test::parse_binary ... ok [INFO] [stdout] test lex::cpp::tests::str_at_eol ... ok [INFO] [stdout] test lex::tests::test_for_loop ... ok [INFO] [stdout] test parse::stmt::tests::test_do_while ... ok [INFO] [stdout] test parse::decl::test::test_struct ... ok [INFO] [stdout] test lex::tests::test_overflow ... ok [INFO] [stdout] test analyze::test::extern_redeclaration_of_static_fn_does_not_error ... ok [INFO] [stdout] test parse::expr::test::parse_ternary ... ok [INFO] [stdout] test fold::tests::test_char ... ok [INFO] [stdout] test analyze::init::test::test_initializers_more ... ok [INFO] [stdout] test lex::cpp::tests::elif ... ok [INFO] [stdout] test analyze::test::test_functions ... ok [INFO] [stdout] test lex::tests::test_no_newline ... ok [INFO] [stdout] test lex::cpp::tests::mutually_recursive_function ... ok [INFO] [stdout] test analyze::test::default_type_specifier_warns ... ok [INFO] [stdout] test parse::stmt::tests::test_goto ... ok [INFO] [stdout] test arch::tests::proptest_align_power_of_two ... ok [INFO] [stdout] test parse::decl::test::test_precedence ... ok [INFO] [stdout] test fold::tests::test_division ... ok [INFO] [stdout] test lex::tests::test_num_errors ... ok [INFO] [stdout] test analyze::test::function ... ok [INFO] [stdout] test fold::tests::test_left_shift ... ok [INFO] [stdout] test arch::tests::proptest_sizeof_multiple_of_alignof ... ok [INFO] [stdout] test data::hir::tests::type_display ... ok [INFO] [stdout] test fold::tests::test_right_shift ... ok [INFO] [stdout] test parse::stmt::tests::test_if ... ok [INFO] [stdout] test analyze::test::test_no_specifiers ... ok [INFO] [stdout] test parse::stmt::tests::test_for ... ok [INFO] [stdout] test lex::cpp::tests::if_directive ... ok [INFO] [stdout] test parse::stmt::tests::test_switch ... ok [INFO] [stdout] test parse::test::test_strings ... ok [INFO] [stdout] test data::tests::type_display ... ok [INFO] [stdout] test lex::cpp::tests::ifdef ... ok [INFO] [stdout] test parse::expr::test::parse_casts ... ok [INFO] [stdout] test parse::decl::test::username ... ok [INFO] [stdout] test lex::cpp::tests::test_comment_newline ... ok [INFO] [stdout] test parse::expr::test::sizeof ... ok [INFO] [stdout] test parse::decl::test::test_multiple ... ok [INFO] [stdout] test fold::tests::test_modulo ... ok [INFO] [stdout] test lex::tests::test_lots_of_whitespace ... ok [INFO] [stdout] test parse::decl::test::test_enum ... ok [INFO] [stdout] test parse::stmt::tests::test_while ... ok [INFO] [stdout] test lex::cpp::tests::parens ... ok [INFO] [stdout] test lex::cpp::tests::invalid_directive ... ok [INFO] [stdout] test analyze::test::enum_declaration ... ok [INFO] [stdout] test lex::cpp::tests::undef ... ok [INFO] [stdout] test data::lex::test::assignment_display ... ok [INFO] [stdout] test analyze::test::test_inline_keyword ... ok [INFO] [stdout] test parse::decl::test::test_array ... ok [INFO] [stdout] test lex::cpp::tests::preprocess_only ... ok [INFO] [stdout] test analyze::test::test_multiple ... ok [INFO] [stdout] test analyze::test::test_pointers ... ok [INFO] [stdout] test tests::empty ... ok [INFO] [stdout] test parse::expr::test::parse_postfix ... ok [INFO] [stdout] test lex::cpp::tests::object_macros ... ok [INFO] [stdout] test lex::cpp::tests::recursive_macros ... ok [INFO] [stdout] test analyze::test::void ... ok [INFO] [stdout] test lex::cpp::tests::space_separated_function_macro ... ok [INFO] [stdout] test data::types::tests::test_big_one ... ok [INFO] [stdout] test lex::tests::test_characters ... ok [INFO] [stdout] test lex::tests::test_int_literals ... ok [INFO] [stdout] test lex::cpp::tests::redefinition ... ok [INFO] [stdout] test lex::tests::test_comments ... ok [INFO] [stdout] test analyze::test::test_bad_decl_specs ... ok [INFO] [stdout] test analyze::init::test::test_initializers ... ok [INFO] [stdout] test analyze::test::test_decl_specifiers ... ok [INFO] [stdout] test lex::tests::test_float_literals ... ok [INFO] [stdout] test lex::cpp::tests::keywords ... ok [INFO] [stdout] test parse::expr::test::parse_prefix ... ok [INFO] [stdout] test fold::tests::test_cast ... ok [INFO] [stdout] test arch::tests::first_member ... ok [INFO] [stdout] test arch::tests::align ... ok [INFO] [stdout] test arch::tests::second_member ... ok [INFO] [stdout] test parse::test::proptest_peek_equals_token ... ok [INFO] [stdout] test parse::test::proptest_peek_next_equals_2_next_token ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 125 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 3.04s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/swcc-eb0803cda4c01038) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test test::pretty_print ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/runner.rs (/opt/rustwide/target/debug/deps/runner-1d724e30d7dd6e4f) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stderr] /usr/bin/ld: /tmp/.tmpFgSx03: warning: the use of `tmpnam' is dangerous, better use `mkstemp' [INFO] [stderr] /usr/bin/ld: /tmp/.tmpFgSx03: warning: the use of `tmpnam_r' is dangerous, better use `mkstemp' [INFO] [stderr] /usr/bin/ld: /tmp/.tmpFgSx03: warning: the use of `tempnam' is dangerous, better use `mkstemp' [INFO] [stderr] /usr/bin/ld: /tmp/.tmpFgSx03: warning: `sys_errlist' is deprecated; use `strerror' or `strerror_r' instead [INFO] [stderr] /usr/bin/ld: /tmp/.tmpFgSx03: warning: `sys_nerr' is deprecated; use `strerror' or `strerror_r' instead [INFO] [stderr] /usr/bin/ld: /tmp/.tmp1orccx: warning: the use of `tmpnam' is dangerous, better use `mkstemp' [INFO] [stderr] /usr/bin/ld: /tmp/.tmp1orccx: warning: the use of `tmpnam_r' is dangerous, better use `mkstemp' [INFO] [stderr] /usr/bin/ld: /tmp/.tmp1orccx: warning: the use of `tempnam' is dangerous, better use `mkstemp' [INFO] [stderr] /usr/bin/ld: /tmp/.tmp1orccx: warning: `sys_errlist' is deprecated; use `strerror' or `strerror_r' instead [INFO] [stderr] /usr/bin/ld: /tmp/.tmp1orccx: warning: `sys_nerr' is deprecated; use `strerror' or `strerror_r' instead [INFO] [stdout] test run_all ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 11.76s [INFO] [stdout] [INFO] [stderr] Running tests/stack-overflow.rs (/opt/rustwide/target/debug/deps/stack_overflow-5b7514da3b4ec9e7) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> src/ir/mod.rs:9:12 [INFO] [stderr] | [INFO] [stderr] 9 | })); [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] ::: src/ir/static_init.rs:133:25 [INFO] [stderr] | [INFO] [stderr] 133 | semantic_err!(format!("error declaring static string: {}", err), location) [INFO] [stderr] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 [INFO] [stderr] = note: macro invocations at the end of a block are treated as expressions [INFO] [stderr] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `semantic_err` [INFO] [stderr] = note: this warning originates in the macro `semantic_err` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> src/ir/mod.rs:9:12 [INFO] [stderr] | [INFO] [stderr] 9 | })); [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] ::: src/ir/static_init.rs:184:22 [INFO] [stderr] | [INFO] [stderr] 184 | _ => semantic_err!("cannot take the address of an rvalue".into(), expr.location), [INFO] [stderr] | --------------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 [INFO] [stderr] = note: this warning originates in the macro `semantic_err` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> src/ir/mod.rs:9:12 [INFO] [stderr] | [INFO] [stderr] 9 | })); [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] ::: src/ir/static_init.rs:191:18 [INFO] [stderr] | [INFO] [stderr] 191 | _ => semantic_err!( [INFO] [stderr] | __________________- [INFO] [stderr] 192 | | "expression is not a compile time constant".into(), [INFO] [stderr] 193 | | expr.location [INFO] [stderr] 194 | | ), [INFO] [stderr] | |_____________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 [INFO] [stderr] = note: this warning originates in the macro `semantic_err` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> src/ir/mod.rs:9:12 [INFO] [stderr] | [INFO] [stderr] 9 | })); [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 283 | Err(data) => semantic_err!(data.into(), *location), [INFO] [stderr] | ------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 [INFO] [stderr] = note: this warning originates in the macro `semantic_err` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> src/ir/mod.rs:9:12 [INFO] [stderr] | [INFO] [stderr] 9 | })); [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 287 | Err(_) => semantic_err!( [INFO] [stderr] | ___________________________- [INFO] [stderr] 288 | | format!( [INFO] [stderr] 289 | | "size {} is too large for stack (can only handle 32-bit values)", [INFO] [stderr] 290 | | u64_size [INFO] [stderr] 291 | | ), [INFO] [stderr] 292 | | *location [INFO] [stderr] 293 | | ), [INFO] [stderr] | |_________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 [INFO] [stderr] = note: this warning originates in the macro `semantic_err` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary trailing semicolon [INFO] [stderr] --> src/lex/cpp.rs:607:10 [INFO] [stderr] | [INFO] [stderr] 607 | }; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> src/analyze/mod.rs:735:31 [INFO] [stderr] | [INFO] [stderr] 735 | std::i64::MIN [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] note: the lint level is defined here [INFO] [stderr] --> src/lib.rs:5:9 [INFO] [stderr] | [INFO] [stderr] 5 | #![warn(deprecated_in_future)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> src/analyze/expr.rs:996:30 [INFO] [stderr] | [INFO] [stderr] 996 | _ => std::usize::MAX, [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> src/ir/static_init.rs:19:39 [INFO] [stderr] | [INFO] [stderr] 19 | const_assert!(PTR_SIZE <= std::usize::MAX as u16); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> src/ir/static_init.rs:409:65 [INFO] [stderr] | [INFO] [stderr] 409 | if (f64::from(cast) - f).abs() >= std::f64::EPSILON { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> src/ir/static_init.rs:412:42 [INFO] [stderr] | [INFO] [stderr] 412 | ... f, std::f64::EPSILON, f64::from(cast) [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> src/arch/x64.rs:5:45 [INFO] [stderr] | [INFO] [stderr] 5 | pub(crate) const SIZE_MAX: SIZE_T = SIZE_T::max_value(); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] 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] [stderr] --> src/ir/mod.rs:487:30 [INFO] [stderr] | [INFO] [stderr] 487 | i16::max_value() [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `location` [INFO] [stderr] --> src/analyze/mod.rs:1166:5 [INFO] [stderr] | [INFO] [stderr] 1166 | location: Location, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `FunctionData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/analyze/mod.rs:1159:10 [INFO] [stderr] | [INFO] [stderr] 1159 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `given_newline_error` [INFO] [stderr] --> src/lex/mod.rs:49:5 [INFO] [stderr] | [INFO] [stderr] 49 | given_newline_error: bool, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Lexer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/lex/mod.rs:31:10 [INFO] [stderr] | [INFO] [stderr] 31 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/ir/static_init.rs:382:35 [INFO] [stderr] | [INFO] [stderr] 382 | x => unreachable!(format!( [INFO] [stderr] | ___________________________________^ [INFO] [stderr] 383 | | "ir_type {} for integer {} is not of integer type", [INFO] [stderr] 384 | | x, i [INFO] [stderr] 385 | | )), [INFO] [stderr] | |_________________^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] = note: this usage of unreachable!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the unreachable!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 382 ~ x => unreachable!( [INFO] [stderr] 383 | "ir_type {} for integer {} is not of integer type", [INFO] [stderr] 384 | x, i [INFO] [stderr] 385 ~ ), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/ir/static_init.rs:401:35 [INFO] [stderr] | [INFO] [stderr] 401 | x => unreachable!(format!( [INFO] [stderr] | ___________________________________^ [INFO] [stderr] 402 | | "ir_type {} for integer {} is not of integer type", [INFO] [stderr] 403 | | x, i [INFO] [stderr] 404 | | )), [INFO] [stderr] | |_________________^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of unreachable!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the unreachable!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 401 ~ x => unreachable!( [INFO] [stderr] 402 | "ir_type {} for integer {} is not of integer type", [INFO] [stderr] 403 | x, i [INFO] [stderr] 404 ~ ), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/ir/static_init.rs:420:35 [INFO] [stderr] | [INFO] [stderr] 420 | x => unreachable!(format!( [INFO] [stderr] | ___________________________________^ [INFO] [stderr] 421 | | "ir_type {} for float {} is not of integer type", [INFO] [stderr] 422 | | x, f [INFO] [stderr] 423 | | )), [INFO] [stderr] | |_________________^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of unreachable!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the unreachable!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 420 ~ x => unreachable!( [INFO] [stderr] 421 | "ir_type {} for float {} is not of integer type", [INFO] [stderr] 422 | x, f [INFO] [stderr] 423 ~ ), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `saltwater` (lib) generated 18 warnings [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.23s [INFO] [stderr] fatal: maximum recursion depth exceeded (1001 > 1000) [INFO] [stderr] fatal: maximum recursion depth exceeded (1001 > 1000) [INFO] [stderr] fatal: maximum recursion depth exceeded (1001 > 1000) [INFO] [stderr] fatal: maximum recursion depth exceeded (1001 > 1000) [INFO] [stderr] fatal: maximum recursion depth exceeded (1001 > 1000) [INFO] [stderr] fatal: maximum recursion depth exceeded (1001 > 1000) [INFO] [stderr] fatal: maximum recursion depth exceeded (1001 > 1000) [INFO] [stdout] test run_all ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.50s [INFO] [stdout] [INFO] [stderr] Running tests/varargs.rs (/opt/rustwide/target/debug/deps/varargs-929ad7ff43a23789) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test multiple_given_args ... ok [INFO] [stdout] test floats ... ok [INFO] [stdout] test literals ... ok [INFO] [stdout] test ints ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.07s [INFO] [stdout] [INFO] [stderr] Doc-tests saltwater [INFO] [stderr] warning: unnecessary trailing semicolon [INFO] [stderr] --> /opt/rustwide/workdir/src/lex/cpp.rs:607:10 [INFO] [stderr] | [INFO] [stderr] 607 | }; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test src/analyze/expr.rs - analyze::expr::Type::rank (line 978) ... ignored [INFO] [stdout] test src/data/types.rs - data::types::struct_ref::StructRef::update (line 81) - compile fail ... ok [INFO] [stdout] test src/data/types.rs - data::types::struct_ref::StructRef::get (line 59) ... ok [INFO] [stdout] test src/lex/cpp.rs - lex::cpp::PreProcessor (line 123) ... ok [INFO] [stdout] test src/lex/cpp.rs - lex::cpp::PreProcessorBuilder (line 47) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.94s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "9019d938191ead42130061670ade87c2a8d634a0883284bdff24155b3793cf5a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9019d938191ead42130061670ade87c2a8d634a0883284bdff24155b3793cf5a", kill_on_drop: false }` [INFO] [stdout] 9019d938191ead42130061670ade87c2a8d634a0883284bdff24155b3793cf5a