[INFO] fetching crate saltwater 0.11.0... [INFO] testing saltwater-0.11.0 against try#d5830e3d3b571fe52cdf4b7b34be99be74dc65ea+target=i686-unknown-linux-musl for musl_1_2_upgrade_i686_unknown_linux_musl [INFO] extracting crate saltwater 0.11.0 into /workspace/builds/worker-1-tc1/source [INFO] validating manifest of crates.io crate saltwater 0.11.0 on toolchain d5830e3d3b571fe52cdf4b7b34be99be74dc65ea [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d5830e3d3b571fe52cdf4b7b34be99be74dc65ea" "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-1-tc1/source/Cargo.toml [INFO] crate crates.io crate saltwater 0.11.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d5830e3d3b571fe52cdf4b7b34be99be74dc65ea" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ogg v0.7.0 [INFO] [stderr] Downloaded bit-vec v0.6.2 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.65 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.65 [INFO] [stderr] Downloaded js-sys v0.3.42 [INFO] [stderr] Downloaded errno v0.2.6 [INFO] [stderr] Downloaded raw-cpuid v7.0.3 [INFO] [stderr] Downloaded counter v0.4.3 [INFO] [stderr] Downloaded cranelift-frontend v0.66.0 [INFO] [stderr] Downloaded cranelift-object v0.66.0 [INFO] [stderr] Downloaded lasso v0.2.2 [INFO] [stderr] Downloaded cranelift-codegen-shared v0.66.0 [INFO] [stderr] Downloaded cranelift v0.66.0 [INFO] [stderr] Downloaded cranelift-module v0.66.0 [INFO] [stderr] Downloaded cranelift-codegen-meta v0.66.0 [INFO] [stderr] Downloaded regalloc v0.0.27 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.65 [INFO] [stderr] Downloaded codespan v0.9.5 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.65 [INFO] [stderr] Downloaded wasm-bindgen v0.2.65 [INFO] [stderr] Downloaded color-backtrace v0.4.2 [INFO] [stderr] Downloaded hashbrown v0.8.1 [INFO] [stderr] Downloaded cranelift-bforest v0.66.0 [INFO] [stderr] Downloaded indexmap v1.5.0 [INFO] [stderr] Downloaded cranelift-codegen v0.66.0 [INFO] [stderr] Downloaded cpal v0.11.0 [INFO] [stderr] Downloaded alsa-sys v0.1.2 [INFO] [stderr] Downloaded minimp3 v0.3.5 [INFO] [stderr] Downloaded git-testament-derive v0.1.10 [INFO] [stderr] Downloaded cranelift-simplejit v0.66.0 [INFO] [stderr] Downloaded hound v3.4.0 [INFO] [stderr] Downloaded claxon v0.4.2 [INFO] [stderr] Downloaded cranelift-entity v0.66.0 [INFO] [stderr] Downloaded git-testament v0.1.9 [INFO] [stderr] Downloaded hexponent v0.3.1 [INFO] [stderr] Downloaded rodio v0.11.0 [INFO] [stderr] Downloaded pico-args v0.3.3 [INFO] [stderr] Downloaded rusty-fork v0.2.2 [INFO] [stderr] Downloaded proptest v0.9.6 [INFO] [stderr] Downloaded proptest-derive v0.1.2 [INFO] [stderr] Downloaded coreaudio-sys v0.2.5 [INFO] [stderr] Downloaded lewton v0.10.1 [INFO] [stderr] Downloaded cranelift-native v0.66.0 [INFO] [stderr] Downloaded web-sys v0.3.42 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d532c2baa59a8a48e45c3be7eb049f77ac5a58a7a6514a58a8e878df1c3d03d" "/opt/rustwide/cargo-home/bin/cargo" "+d5830e3d3b571fe52cdf4b7b34be99be74dc65ea" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 584c4ac8144c45f15205504143b27c17c6ca98d8011138d97e00468264f8c726 [INFO] running `Command { std: "docker" "start" "-a" "584c4ac8144c45f15205504143b27c17c6ca98d8011138d97e00468264f8c726", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "584c4ac8144c45f15205504143b27c17c6ca98d8011138d97e00468264f8c726", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "584c4ac8144c45f15205504143b27c17c6ca98d8011138d97e00468264f8c726", kill_on_drop: false }` [INFO] [stdout] 584c4ac8144c45f15205504143b27c17c6ca98d8011138d97e00468264f8c726 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d532c2baa59a8a48e45c3be7eb049f77ac5a58a7a6514a58a8e878df1c3d03d" "/opt/rustwide/cargo-home/bin/cargo" "+d5830e3d3b571fe52cdf4b7b34be99be74dc65ea" "build" "--frozen" "--message-format=json" "--target" "i686-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 407c50579c0232231b737c588d1b14fa9322a22f0c5e5d92ae418e5c065f3a69 [INFO] running `Command { std: "docker" "start" "-a" "407c50579c0232231b737c588d1b14fa9322a22f0c5e5d92ae418e5c065f3a69", kill_on_drop: false }` [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 syn v1.0.35 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling cranelift-entity v0.66.0 [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 rustc-hash v1.1.0 [INFO] [stderr] Compiling smallvec v1.4.1 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling anyhow v1.0.32 [INFO] [stderr] Compiling adler v0.2.3 [INFO] [stderr] Compiling gimli v0.22.0 [INFO] [stderr] Compiling cranelift-codegen-meta v0.66.0 [INFO] [stderr] Compiling cranelift-bforest v0.66.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.8 [INFO] [stderr] Compiling miniz_oxide v0.4.0 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling lasso v0.2.2 [INFO] [stderr] Compiling hashbrown v0.8.1 [INFO] [stderr] Compiling indexmap v1.5.0 [INFO] [stderr] Compiling regalloc v0.0.27 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling codespan v0.9.5 [INFO] [stderr] Compiling hexponent v0.3.1 [INFO] [stderr] Compiling pico-args v0.3.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling object v0.20.0 [INFO] [stderr] Compiling counter v0.4.3 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling addr2line v0.13.0 [INFO] [stderr] Compiling backtrace v0.3.50 [INFO] [stderr] Compiling color-backtrace v0.4.2 [INFO] [stderr] Compiling thiserror-impl v1.0.20 [INFO] [stderr] Compiling thiserror v1.0.20 [INFO] [stderr] Compiling cranelift-codegen v0.66.0 [INFO] [stderr] Compiling cranelift-frontend v0.66.0 [INFO] [stderr] Compiling cranelift-module v0.66.0 [INFO] [stderr] Compiling cranelift-object v0.66.0 [INFO] [stderr] Compiling cranelift v0.66.0 [INFO] [stderr] Compiling saltwater v0.11.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: named argument `field__0` is not used by name [INFO] [stdout] --> src/data/error.rs:165:13 [INFO] [stdout] | [INFO] [stdout] 165 | #[error("arrays cannot contain functions (got '{0}'). help: try storing array of pointer to function: (*{}[])(...)")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--^^ [INFO] [stdout] | | | [INFO] [stdout] | | this formatting argument uses named argument `field__0` by position [INFO] [stdout] | this named argument is referred to by position in formatting string [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(named_arguments_used_positionally)]` on by default [INFO] [stdout] help: use the named argument by name to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 165 | #[error("arrays cannot contain functions (got '{0}'). help: try storing array of pointer to function: (*{}[])(..field__0.)")] [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `const_err` has been removed: converted into hard error, see issue #71800 for more information [INFO] [stdout] --> src/macros.rs:43:16 [INFO] [stdout] | [INFO] [stdout] 43 | #[deny(const_err)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ir/static_init.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | const_assert!(PTR_SIZE <= std::usize::MAX as u16); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] = note: this warning originates in the macro `const_assert` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/ir/mod.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | })); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/ir/static_init.rs:133:25 [INFO] [stdout] | [INFO] [stdout] 133 | semantic_err!(format!("error declaring static string: {}", err), location) [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `semantic_err` [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = note: this warning originates in the macro `semantic_err` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/ir/mod.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | })); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/ir/static_init.rs:184:22 [INFO] [stdout] | [INFO] [stdout] 184 | _ => semantic_err!("cannot take the address of an rvalue".into(), expr.location), [INFO] [stdout] | --------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `semantic_err` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/ir/mod.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | })); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/ir/static_init.rs:191:18 [INFO] [stdout] | [INFO] [stdout] 191 | _ => semantic_err!( [INFO] [stdout] | __________________- [INFO] [stdout] 192 | | "expression is not a compile time constant".into(), [INFO] [stdout] 193 | | expr.location [INFO] [stdout] 194 | | ), [INFO] [stdout] | |_____________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `semantic_err` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/ir/mod.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | })); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 283 | Err(data) => semantic_err!(data.into(), *location), [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `semantic_err` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/ir/mod.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | })); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 287 | Err(_) => semantic_err!( [INFO] [stdout] | ___________________________- [INFO] [stdout] 288 | | format!( [INFO] [stdout] 289 | | "size {} is too large for stack (can only handle 32-bit values)", [INFO] [stdout] 290 | | u64_size [INFO] [stdout] 291 | | ), [INFO] [stdout] 292 | | *location [INFO] [stdout] 293 | | ), [INFO] [stdout] | |_________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `semantic_err` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/lex/cpp.rs:607:10 [INFO] [stdout] | [INFO] [stdout] 607 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `const_err` has been removed: converted into hard error, see issue #71800 for more information [INFO] [stdout] --> src/macros.rs:43:16 [INFO] [stdout] | [INFO] [stdout] 43 | #[deny(const_err)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lex/mod.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | const_assert!(mem::size_of::() >= mem::size_of::()); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `const_assert` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of constant `std::i64::MIN` that will be deprecated in a future Rust version: replaced by the `MIN` associated constant on this type [INFO] [stdout] --> src/analyze/mod.rs:735:31 [INFO] [stdout] | [INFO] [stdout] 735 | std::i64::MIN [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | #![warn(deprecated_in_future)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of constant `std::usize::MAX` that will be deprecated in a future Rust version: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/analyze/expr.rs:996:30 [INFO] [stdout] | [INFO] [stdout] 996 | _ => std::usize::MAX, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of constant `std::usize::MAX` that will be deprecated in a future Rust version: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/ir/static_init.rs:19:39 [INFO] [stdout] | [INFO] [stdout] 19 | const_assert!(PTR_SIZE <= std::usize::MAX as u16); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of constant `std::f64::EPSILON` that will be deprecated in a future Rust version: replaced by the `EPSILON` associated constant on `f64` [INFO] [stdout] --> src/ir/static_init.rs:409:65 [INFO] [stdout] | [INFO] [stdout] 409 | if (f64::from(cast) - f).abs() >= std::f64::EPSILON { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of constant `std::f64::EPSILON` that will be deprecated in a future Rust version: replaced by the `EPSILON` associated constant on `f64` [INFO] [stdout] --> src/ir/static_init.rs:412:42 [INFO] [stdout] | [INFO] [stdout] 412 | ... f, std::f64::EPSILON, f64::from(cast) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of associated function `cranelift::cranelift_codegen::cranelift_entity::core::num::::max_value` that will be deprecated in a future Rust version: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/arch/x64.rs:5:45 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) const SIZE_MAX: SIZE_T = SIZE_T::max_value(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of associated function `cranelift::cranelift_codegen::cranelift_entity::core::num::::max_value` that will be deprecated in a future Rust version: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/ir/mod.rs:487:30 [INFO] [stdout] | [INFO] [stdout] 487 | i16::max_value() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `location` is never read [INFO] [stdout] --> src/analyze/mod.rs:1166:5 [INFO] [stdout] | [INFO] [stdout] 1162 | struct FunctionData { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 1166 | location: Location, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FunctionData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `given_newline_error` is never read [INFO] [stdout] --> src/lex/mod.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct Lexer { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 49 | given_newline_error: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Lexer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/ir/static_init.rs:382:35 [INFO] [stdout] | [INFO] [stdout] 382 | x => unreachable!(format!( [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 383 | | "ir_type {} for integer {} is not of integer type", [INFO] [stdout] 384 | | x, i [INFO] [stdout] 385 | | )), [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `unreachable!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `unreachable!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 382 ~ x => unreachable!( [INFO] [stdout] 383 | "ir_type {} for integer {} is not of integer type", [INFO] [stdout] 384 | x, i [INFO] [stdout] 385 ~ ), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/ir/static_init.rs:401:35 [INFO] [stdout] | [INFO] [stdout] 401 | x => unreachable!(format!( [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 402 | | "ir_type {} for integer {} is not of integer type", [INFO] [stdout] 403 | | x, i [INFO] [stdout] 404 | | )), [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `unreachable!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `unreachable!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 401 ~ x => unreachable!( [INFO] [stdout] 402 | "ir_type {} for integer {} is not of integer type", [INFO] [stdout] 403 | x, i [INFO] [stdout] 404 ~ ), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/ir/static_init.rs:420:35 [INFO] [stdout] | [INFO] [stdout] 420 | x => unreachable!(format!( [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 421 | | "ir_type {} for float {} is not of integer type", [INFO] [stdout] 422 | | x, f [INFO] [stdout] 423 | | )), [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `unreachable!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `unreachable!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 420 ~ x => unreachable!( [INFO] [stdout] 421 | "ir_type {} for float {} is not of integer type", [INFO] [stdout] 422 | x, f [INFO] [stdout] 423 ~ ), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 27.92s [INFO] running `Command { std: "docker" "inspect" "407c50579c0232231b737c588d1b14fa9322a22f0c5e5d92ae418e5c065f3a69", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "407c50579c0232231b737c588d1b14fa9322a22f0c5e5d92ae418e5c065f3a69", kill_on_drop: false }` [INFO] [stdout] 407c50579c0232231b737c588d1b14fa9322a22f0c5e5d92ae418e5c065f3a69 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d532c2baa59a8a48e45c3be7eb049f77ac5a58a7a6514a58a8e878df1c3d03d" "/opt/rustwide/cargo-home/bin/cargo" "+d5830e3d3b571fe52cdf4b7b34be99be74dc65ea" "test" "--frozen" "--no-run" "--message-format=json" "--target" "i686-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 6d291d0ebe8240cc5e4363798d84770530e83f255eebeac4399e62d01f98ce6b [INFO] running `Command { std: "docker" "start" "-a" "6d291d0ebe8240cc5e4363798d84770530e83f255eebeac4399e62d01f98ce6b", kill_on_drop: false }` [INFO] [stderr] warning: invalid feature `_test_header` in required-features of target `headers`: `_test_header` is not present in [features] section [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling libc v0.2.73 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling syn v1.0.35 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling cranelift-entity v0.66.0 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling cranelift-codegen-shared v0.66.0 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling target-lexicon v0.10.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling smallvec v1.4.1 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling cranelift-codegen-meta v0.66.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.8 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling anyhow v1.0.32 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling hashbrown v0.8.1 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling indexmap v1.5.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling cranelift-bforest v0.66.0 [INFO] [stderr] Compiling regalloc v0.0.27 [INFO] [stderr] Compiling memoffset v0.5.5 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling rayon-core v1.7.1 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling gimli v0.22.0 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling adler v0.2.3 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling miniz_oxide v0.4.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling object v0.20.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 serde_json v1.0.56 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling regex-automata v0.1.9 [INFO] [stderr] Compiling rayon v1.3.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling counter v0.4.3 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling wait-timeout v0.2.0 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling codespan v0.9.5 [INFO] [stderr] Compiling pico-args v0.3.3 [INFO] [stderr] Compiling hexponent v0.3.1 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling lasso v0.2.2 [INFO] [stderr] Compiling half v1.6.0 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling bit-vec v0.6.2 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling rusty-fork v0.2.2 [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stderr] Compiling bit-set v0.5.2 [INFO] [stderr] Compiling clap v2.33.1 [INFO] [stderr] Compiling plotters v0.2.15 [INFO] [stderr] Compiling addr2line v0.13.0 [INFO] [stderr] Compiling criterion-plot v0.4.3 [INFO] [stderr] Compiling oorandom v11.1.2 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling backtrace v0.3.50 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling proptest v0.9.6 [INFO] [stderr] Compiling color-backtrace v0.4.2 [INFO] [stderr] Compiling bstr v0.2.13 [INFO] [stderr] Compiling serde_cbor v0.11.1 [INFO] [stderr] Compiling 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 thiserror v1.0.20 [INFO] [stderr] Compiling proptest-derive v0.1.2 [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: named argument `field__0` is not used by name [INFO] [stdout] --> src/data/error.rs:165:13 [INFO] [stdout] | [INFO] [stdout] 165 | #[error("arrays cannot contain functions (got '{0}'). help: try storing array of pointer to function: (*{}[])(...)")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--^^ [INFO] [stdout] | | | [INFO] [stdout] | | this formatting argument uses named argument `field__0` by position [INFO] [stdout] | this named argument is referred to by position in formatting string [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(named_arguments_used_positionally)]` on by default [INFO] [stdout] help: use the named argument by name to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 165 | #[error("arrays cannot contain functions (got '{0}'). help: try storing array of pointer to function: (*{}[])(..field__0.)")] [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `const_err` has been removed: converted into hard error, see issue #71800 for more information [INFO] [stdout] --> src/macros.rs:43:16 [INFO] [stdout] | [INFO] [stdout] 43 | #[deny(const_err)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ir/static_init.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | const_assert!(PTR_SIZE <= std::usize::MAX as u16); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] = note: this warning originates in the macro `const_assert` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/ir/mod.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | })); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/ir/static_init.rs:133:25 [INFO] [stdout] | [INFO] [stdout] 133 | semantic_err!(format!("error declaring static string: {}", err), location) [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `semantic_err` [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = note: this warning originates in the macro `semantic_err` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/ir/mod.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | })); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/ir/static_init.rs:184:22 [INFO] [stdout] | [INFO] [stdout] 184 | _ => semantic_err!("cannot take the address of an rvalue".into(), expr.location), [INFO] [stdout] | --------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `semantic_err` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/ir/mod.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | })); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/ir/static_init.rs:191:18 [INFO] [stdout] | [INFO] [stdout] 191 | _ => semantic_err!( [INFO] [stdout] | __________________- [INFO] [stdout] 192 | | "expression is not a compile time constant".into(), [INFO] [stdout] 193 | | expr.location [INFO] [stdout] 194 | | ), [INFO] [stdout] | |_____________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `semantic_err` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/ir/mod.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | })); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 283 | Err(data) => semantic_err!(data.into(), *location), [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `semantic_err` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/ir/mod.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | })); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 287 | Err(_) => semantic_err!( [INFO] [stdout] | ___________________________- [INFO] [stdout] 288 | | format!( [INFO] [stdout] 289 | | "size {} is too large for stack (can only handle 32-bit values)", [INFO] [stdout] 290 | | u64_size [INFO] [stdout] 291 | | ), [INFO] [stdout] 292 | | *location [INFO] [stdout] 293 | | ), [INFO] [stdout] | |_________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `semantic_err` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/lex/cpp.rs:607:10 [INFO] [stdout] | [INFO] [stdout] 607 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `const_err` has been removed: converted into hard error, see issue #71800 for more information [INFO] [stdout] --> src/macros.rs:43:16 [INFO] [stdout] | [INFO] [stdout] 43 | #[deny(const_err)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lex/mod.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | const_assert!(mem::size_of::() >= mem::size_of::()); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `const_assert` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of constant `std::i64::MIN` that will be deprecated in a future Rust version: replaced by the `MIN` associated constant on this type [INFO] [stdout] --> src/analyze/mod.rs:735:31 [INFO] [stdout] | [INFO] [stdout] 735 | std::i64::MIN [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | #![warn(deprecated_in_future)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of constant `std::usize::MAX` that will be deprecated in a future Rust version: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/analyze/expr.rs:996:30 [INFO] [stdout] | [INFO] [stdout] 996 | _ => std::usize::MAX, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of constant `std::usize::MAX` that will be deprecated in a future Rust version: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/ir/static_init.rs:19:39 [INFO] [stdout] | [INFO] [stdout] 19 | const_assert!(PTR_SIZE <= std::usize::MAX as u16); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of constant `std::f64::EPSILON` that will be deprecated in a future Rust version: replaced by the `EPSILON` associated constant on `f64` [INFO] [stdout] --> src/ir/static_init.rs:409:65 [INFO] [stdout] | [INFO] [stdout] 409 | if (f64::from(cast) - f).abs() >= std::f64::EPSILON { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of constant `std::f64::EPSILON` that will be deprecated in a future Rust version: replaced by the `EPSILON` associated constant on `f64` [INFO] [stdout] --> src/ir/static_init.rs:412:42 [INFO] [stdout] | [INFO] [stdout] 412 | ... f, std::f64::EPSILON, f64::from(cast) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of associated function `cranelift::cranelift_codegen::cranelift_entity::core::num::::max_value` that will be deprecated in a future Rust version: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/arch/x64.rs:5:45 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) const SIZE_MAX: SIZE_T = SIZE_T::max_value(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of associated function `cranelift::cranelift_codegen::cranelift_entity::core::num::::max_value` that will be deprecated in a future Rust version: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/ir/mod.rs:487:30 [INFO] [stdout] | [INFO] [stdout] 487 | i16::max_value() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: named argument `field__0` is not used by name [INFO] [stdout] --> src/data/error.rs:165:13 [INFO] [stdout] | [INFO] [stdout] 165 | #[error("arrays cannot contain functions (got '{0}'). help: try storing array of pointer to function: (*{}[])(...)")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--^^ [INFO] [stdout] | | | [INFO] [stdout] | | this formatting argument uses named argument `field__0` by position [INFO] [stdout] | this named argument is referred to by position in formatting string [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(named_arguments_used_positionally)]` on by default [INFO] [stdout] help: use the named argument by name to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 165 | #[error("arrays cannot contain functions (got '{0}'). help: try storing array of pointer to function: (*{}[])(..field__0.)")] [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `const_err` has been removed: converted into hard error, see issue #71800 for more information [INFO] [stdout] --> src/macros.rs:43:16 [INFO] [stdout] | [INFO] [stdout] 43 | #[deny(const_err)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ir/static_init.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | const_assert!(PTR_SIZE <= std::usize::MAX as u16); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] = note: this warning originates in the macro `const_assert` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/ir/mod.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | })); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/ir/static_init.rs:133:25 [INFO] [stdout] | [INFO] [stdout] 133 | semantic_err!(format!("error declaring static string: {}", err), location) [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `semantic_err` [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = note: this warning originates in the macro `semantic_err` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/ir/mod.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | })); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/ir/static_init.rs:184:22 [INFO] [stdout] | [INFO] [stdout] 184 | _ => semantic_err!("cannot take the address of an rvalue".into(), expr.location), [INFO] [stdout] | --------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `semantic_err` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/ir/mod.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | })); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/ir/static_init.rs:191:18 [INFO] [stdout] | [INFO] [stdout] 191 | _ => semantic_err!( [INFO] [stdout] | __________________- [INFO] [stdout] 192 | | "expression is not a compile time constant".into(), [INFO] [stdout] 193 | | expr.location [INFO] [stdout] 194 | | ), [INFO] [stdout] | |_____________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `semantic_err` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/ir/mod.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | })); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 283 | Err(data) => semantic_err!(data.into(), *location), [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `semantic_err` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/ir/mod.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | })); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 287 | Err(_) => semantic_err!( [INFO] [stdout] | ___________________________- [INFO] [stdout] 288 | | format!( [INFO] [stdout] 289 | | "size {} is too large for stack (can only handle 32-bit values)", [INFO] [stdout] 290 | | u64_size [INFO] [stdout] 291 | | ), [INFO] [stdout] 292 | | *location [INFO] [stdout] 293 | | ), [INFO] [stdout] | |_________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `semantic_err` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/lex/cpp.rs:607:10 [INFO] [stdout] | [INFO] [stdout] 607 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `const_err` has been removed: converted into hard error, see issue #71800 for more information [INFO] [stdout] --> src/macros.rs:43:16 [INFO] [stdout] | [INFO] [stdout] 43 | #[deny(const_err)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lex/mod.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | const_assert!(mem::size_of::() >= mem::size_of::()); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `const_assert` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of constant `std::i64::MIN` that will be deprecated in a future Rust version: replaced by the `MIN` associated constant on this type [INFO] [stdout] --> src/analyze/mod.rs:735:31 [INFO] [stdout] | [INFO] [stdout] 735 | std::i64::MIN [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | #![warn(deprecated_in_future)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of constant `std::usize::MAX` that will be deprecated in a future Rust version: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/analyze/expr.rs:996:30 [INFO] [stdout] | [INFO] [stdout] 996 | _ => std::usize::MAX, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of constant `std::usize::MAX` that will be deprecated in a future Rust version: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/ir/static_init.rs:19:39 [INFO] [stdout] | [INFO] [stdout] 19 | const_assert!(PTR_SIZE <= std::usize::MAX as u16); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of constant `std::f64::EPSILON` that will be deprecated in a future Rust version: replaced by the `EPSILON` associated constant on `f64` [INFO] [stdout] --> src/ir/static_init.rs:409:65 [INFO] [stdout] | [INFO] [stdout] 409 | if (f64::from(cast) - f).abs() >= std::f64::EPSILON { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of constant `std::f64::EPSILON` that will be deprecated in a future Rust version: replaced by the `EPSILON` associated constant on `f64` [INFO] [stdout] --> src/ir/static_init.rs:412:42 [INFO] [stdout] | [INFO] [stdout] 412 | ... f, std::f64::EPSILON, f64::from(cast) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of associated function `cranelift::cranelift_codegen::cranelift_entity::core::num::::max_value` that will be deprecated in a future Rust version: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/arch/x64.rs:5:45 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) const SIZE_MAX: SIZE_T = SIZE_T::max_value(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `location` is never read [INFO] [stdout] --> src/analyze/mod.rs:1166:5 [INFO] [stdout] | [INFO] [stdout] 1162 | struct FunctionData { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 1166 | location: Location, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FunctionData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `given_newline_error` is never read [INFO] [stdout] --> src/lex/mod.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct Lexer { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 49 | given_newline_error: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Lexer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/ir/static_init.rs:382:35 [INFO] [stdout] | [INFO] [stdout] 382 | x => unreachable!(format!( [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 383 | | "ir_type {} for integer {} is not of integer type", [INFO] [stdout] 384 | | x, i [INFO] [stdout] 385 | | )), [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `unreachable!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `unreachable!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 382 ~ x => unreachable!( [INFO] [stdout] 383 | "ir_type {} for integer {} is not of integer type", [INFO] [stdout] 384 | x, i [INFO] [stdout] 385 ~ ), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/ir/static_init.rs:401:35 [INFO] [stdout] | [INFO] [stdout] 401 | x => unreachable!(format!( [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 402 | | "ir_type {} for integer {} is not of integer type", [INFO] [stdout] 403 | | x, i [INFO] [stdout] 404 | | )), [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `unreachable!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `unreachable!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 401 ~ x => unreachable!( [INFO] [stdout] 402 | "ir_type {} for integer {} is not of integer type", [INFO] [stdout] 403 | x, i [INFO] [stdout] 404 ~ ), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/ir/static_init.rs:420:35 [INFO] [stdout] | [INFO] [stdout] 420 | x => unreachable!(format!( [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 421 | | "ir_type {} for float {} is not of integer type", [INFO] [stdout] 422 | | x, f [INFO] [stdout] 423 | | )), [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `unreachable!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `unreachable!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 420 ~ x => unreachable!( [INFO] [stdout] 421 | "ir_type {} for float {} is not of integer type", [INFO] [stdout] 422 | x, f [INFO] [stdout] 423 ~ ), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of associated function `cranelift::cranelift_codegen::cranelift_entity::core::num::::max_value` that will be deprecated in a future Rust version: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/ir/mod.rs:487:30 [INFO] [stdout] | [INFO] [stdout] 487 | i16::max_value() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `location` is never read [INFO] [stdout] --> src/analyze/mod.rs:1166:5 [INFO] [stdout] | [INFO] [stdout] 1162 | struct FunctionData { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 1166 | location: Location, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FunctionData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `given_newline_error` is never read [INFO] [stdout] --> src/lex/mod.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct Lexer { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 49 | given_newline_error: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Lexer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/ir/static_init.rs:382:35 [INFO] [stdout] | [INFO] [stdout] 382 | x => unreachable!(format!( [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 383 | | "ir_type {} for integer {} is not of integer type", [INFO] [stdout] 384 | | x, i [INFO] [stdout] 385 | | )), [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `unreachable!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `unreachable!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 382 ~ x => unreachable!( [INFO] [stdout] 383 | "ir_type {} for integer {} is not of integer type", [INFO] [stdout] 384 | x, i [INFO] [stdout] 385 ~ ), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/ir/static_init.rs:401:35 [INFO] [stdout] | [INFO] [stdout] 401 | x => unreachable!(format!( [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 402 | | "ir_type {} for integer {} is not of integer type", [INFO] [stdout] 403 | | x, i [INFO] [stdout] 404 | | )), [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `unreachable!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `unreachable!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 401 ~ x => unreachable!( [INFO] [stdout] 402 | "ir_type {} for integer {} is not of integer type", [INFO] [stdout] 403 | x, i [INFO] [stdout] 404 ~ ), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/ir/static_init.rs:420:35 [INFO] [stdout] | [INFO] [stdout] 420 | x => unreachable!(format!( [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 421 | | "ir_type {} for float {} is not of integer type", [INFO] [stdout] 422 | | x, f [INFO] [stdout] 423 | | )), [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `unreachable!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `unreachable!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 420 ~ x => unreachable!( [INFO] [stdout] 421 | "ir_type {} for float {} is not of integer type", [INFO] [stdout] 422 | x, f [INFO] [stdout] 423 ~ ), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized] target(s) in 30.46s [INFO] running `Command { std: "docker" "inspect" "6d291d0ebe8240cc5e4363798d84770530e83f255eebeac4399e62d01f98ce6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d291d0ebe8240cc5e4363798d84770530e83f255eebeac4399e62d01f98ce6b", kill_on_drop: false }` [INFO] [stdout] 6d291d0ebe8240cc5e4363798d84770530e83f255eebeac4399e62d01f98ce6b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d532c2baa59a8a48e45c3be7eb049f77ac5a58a7a6514a58a8e878df1c3d03d" "/opt/rustwide/cargo-home/bin/cargo" "+d5830e3d3b571fe52cdf4b7b34be99be74dc65ea" "test" "--frozen" "--target" "i686-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 45fe4d7c30096bbb8c0213edc9d461d7ae82f44d7743f765f93c9a2deb6e0427 [INFO] running `Command { std: "docker" "start" "-a" "45fe4d7c30096bbb8c0213edc9d461d7ae82f44d7743f765f93c9a2deb6e0427", 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: named argument `field__0` is not used by name [INFO] [stderr] --> src/data/error.rs:165:13 [INFO] [stderr] | [INFO] [stderr] 165 | #[error("arrays cannot contain functions (got '{0}'). help: try storing array of pointer to function: (*{}[])(...)")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--^^ [INFO] [stderr] | | | [INFO] [stderr] | | this formatting argument uses named argument `field__0` by position [INFO] [stderr] | this named argument is referred to by position in formatting string [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(named_arguments_used_positionally)]` on by default [INFO] [stderr] help: use the named argument by name to avoid ambiguity [INFO] [stderr] | [INFO] [stderr] 165 | #[error("arrays cannot contain functions (got '{0}'). help: try storing array of pointer to function: (*{}[])(..field__0.)")] [INFO] [stderr] | ++++++++ [INFO] [stderr] [INFO] [stderr] warning: lint `const_err` has been removed: converted into hard error, see issue #71800 for more information [INFO] [stderr] --> src/macros.rs:43:16 [INFO] [stderr] | [INFO] [stderr] 43 | #[deny(const_err)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/ir/static_init.rs:19:1 [INFO] [stderr] | [INFO] [stderr] 19 | const_assert!(PTR_SIZE <= std::usize::MAX as u16); [INFO] [stderr] | ------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stderr] = note: this warning originates in the macro `const_assert` (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: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] = 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: `#[warn(semicolon_in_expressions_from_macros)]` on by default [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: lint `const_err` has been removed: converted into hard error, see issue #71800 for more information [INFO] [stderr] --> src/macros.rs:43:16 [INFO] [stderr] | [INFO] [stderr] 43 | #[deny(const_err)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/lex/mod.rs:135:9 [INFO] [stderr] | [INFO] [stderr] 135 | const_assert!(mem::size_of::() >= mem::size_of::()); [INFO] [stderr] | --------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `const_assert` (in Nightly builds, run with -Z macro-backtrace for more info) [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 `location` is never read [INFO] [stderr] --> src/analyze/mod.rs:1166:5 [INFO] [stderr] | [INFO] [stderr] 1162 | struct FunctionData { [INFO] [stderr] | ------------ field in this struct [INFO] [stderr] ... [INFO] [stderr] 1166 | location: Location, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `FunctionData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `given_newline_error` is never read [INFO] [stderr] --> src/lex/mod.rs:49:5 [INFO] [stderr] | [INFO] [stderr] 32 | pub struct Lexer { [INFO] [stderr] | ----- field in this struct [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] [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: 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] = note: `#[warn(non_fmt_panics)]` on by default [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 21 warnings [INFO] [stderr] warning: `saltwater` (lib test) generated 21 warnings (21 duplicates) [INFO] [stderr] Finished test [unoptimized] target(s) in 0.25s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/i686-unknown-linux-musl/debug/deps/saltwater-20d11d8c6d8aa8bb) [INFO] [stdout] [INFO] [stdout] running 125 tests [INFO] [stdout] test analyze::expr::test::test_type_errors ... ok [INFO] [stdout] test analyze::test::no_name_should_be_syntax_error ... ok [INFO] [stdout] test analyze::stmt::tests::test_expr_stmt ... ok [INFO] [stdout] test analyze::expr::test::test_funcall ... ok [INFO] [stdout] test analyze::expr::test::test_mul ... ok [INFO] [stdout] test analyze::test::redefinition_is_err ... ok [INFO] [stdout] test analyze::expr::test::test_primaries ... ok [INFO] [stdout] test analyze::expr::test::test_explicit_casts ... ok [INFO] [stdout] test analyze::test::bitfields ... ok [INFO] [stdout] test analyze::test::extern_redeclaration_of_static_fn_does_not_error ... ok [INFO] [stdout] test analyze::test::lol ... ok [INFO] [stdout] test analyze::test::storage_class ... ok [INFO] [stdout] test analyze::test::test_complex ... ok [INFO] [stdout] test analyze::test::test_functions_array_parameter_static ... ok [INFO] [stdout] test analyze::test::default_type_specifier_warns ... ok [INFO] [stdout] test analyze::test::enum_declaration ... ok [INFO] [stdout] test analyze::test::test_arrays ... ok [INFO] [stdout] test analyze::test::test_decl_errors ... ok [INFO] [stdout] test analyze::test::function ... ok [INFO] [stdout] test analyze::test::test_pointers_and_arrays ... ok [INFO] [stdout] test arch::tests::align_of_non_char_struct ... ok [INFO] [stdout] test analyze::test::test_functions ... ok [INFO] [stdout] test analyze::init::test::test_initializers_more ... ok [INFO] [stdout] test analyze::test::typedef_signed ... ok [INFO] [stdout] test arch::tests::char_struct ... ok [INFO] [stdout] test analyze::test::test_no_specifiers ... ok [INFO] [stdout] test data::error::tests::test_compile_error_display ... ok [INFO] [stdout] test data::error::tests::test_compile_error_is_kind ... ok [INFO] [stdout] test analyze::test::test_inline_keyword ... ok [INFO] [stdout] test data::error::tests::test_error_handler_into_iterator ... ok [INFO] [stdout] test analyze::test::test_pointers ... ok [INFO] [stdout] test data::error::tests::test_recover_error ... ok [INFO] [stdout] test data::ast::test::test_declaration_display ... ok [INFO] [stdout] test data::error::tests::test_recover_multiple_errors ... ok [INFO] [stdout] test data::lex::test::str_display_escape ... ok [INFO] [stdout] test arch::tests::multiples ... ok [INFO] [stdout] test analyze::test::test_multiple ... ok [INFO] [stdout] test analyze::test::void ... ok [INFO] [stdout] test fold::tests::test_addition ... ok [INFO] [stdout] test analyze::init::test::test_initializers ... ok [INFO] [stdout] test analyze::test::test_bad_decl_specs ... ok [INFO] [stdout] test fold::tests::test_char ... ok [INFO] [stdout] test data::lex::test::assignment_display ... ok [INFO] [stdout] test data::hir::tests::type_display ... ok [INFO] [stdout] test data::tests::type_display ... ok [INFO] [stdout] test ir::test_compile_error_semantic ... ok [INFO] [stdout] test fold::tests::test_negation ... ok [INFO] [stdout] test fold::tests::test_modulo ... ok [INFO] [stdout] test analyze::test::test_decl_specifiers ... ok [INFO] [stdout] test fold::tests::test_multiplication ... ok [INFO] [stdout] test fold::tests::test_left_shift ... ok [INFO] [stdout] test lex::cpp::tests::cycle_detection ... ok [INFO] [stdout] test fold::tests::test_subtraction ... ok [INFO] [stdout] test fold::tests::test_right_shift ... ok [INFO] [stdout] test fold::tests::test_division ... ok [INFO] [stdout] test data::types::tests::test_big_one ... ok [INFO] [stdout] test lex::cpp::tests::empty_def ... ok [INFO] [stdout] test lex::cpp::tests::else_directive ... ok [INFO] [stdout] test lex::cpp::tests::elif ... ok [INFO] [stdout] test lex::cpp::tests::eof_after_macro_call ... ok [INFO] [stdout] test lex::cpp::tests::error ... ok [INFO] [stdout] test lex::cpp::tests::line ... ok [INFO] [stdout] test lex::cpp::tests::ifndef ... ok [INFO] [stdout] test lex::cpp::tests::function_body_replacement ... ok [INFO] [stdout] test lex::cpp::tests::mutually_recursive_function ... ok [INFO] [stdout] test lex::cpp::tests::pragma ... ok [INFO] [stdout] test lex::cpp::tests::object_body_replacement ... ok [INFO] [stdout] test lex::cpp::tests::if_directive ... ok [INFO] [stdout] test lex::cpp::tests::recursive_function ... ok [INFO] [stdout] test lex::cpp::tests::ifdef ... ok [INFO] [stdout] test lex::cpp::tests::str_at_eol ... ok [INFO] [stdout] test lex::cpp::tests::invalid_directive ... ok [INFO] [stdout] test lex::cpp::tests::parens ... ok [INFO] [stdout] test lex::cpp::tests::object_macros ... ok [INFO] [stdout] test lex::cpp::tests::undef ... ok [INFO] [stdout] test lex::cpp::tests::warning ... ok [INFO] [stdout] test lex::cpp::tests::redefinition ... ok [INFO] [stdout] test lex::tests::test_ellipses ... ok [INFO] [stdout] test lex::cpp::tests::test_comment_newline ... ok [INFO] [stdout] test lex::tests::backslashes ... ok [INFO] [stdout] test lex::tests::test_for_loop ... ok [INFO] [stdout] test lex::tests::test_location ... ok [INFO] [stdout] test lex::cpp::tests::preprocess_only ... ok [INFO] [stdout] test lex::cpp::tests::space_separated_function_macro ... ok [INFO] [stdout] test lex::tests::test_no_newline ... ok [INFO] [stdout] test lex::tests::test_overflow ... ok [INFO] [stdout] test lex::tests::test_plus ... ok [INFO] [stdout] test lex::cpp::tests::recursive_macros ... ok [INFO] [stdout] test lex::tests::test_num_errors ... ok [INFO] [stdout] test parse::decl::test::test_cursed_function_declarator ... ok [INFO] [stdout] test lex::tests::test_int_literals ... ok [INFO] [stdout] test parse::decl::test::test_array ... ok [INFO] [stdout] test fold::tests::test_cast ... ok [INFO] [stdout] test parse::decl::test::test_struct ... ok [INFO] [stdout] test parse::decl::test::test_precedence ... ok [INFO] [stdout] test parse::expr::test::parse_binary ... ok [INFO] [stdout] test parse::decl::test::test_enum ... ok [INFO] [stdout] test parse::decl::test::test_multiple ... ok [INFO] [stdout] test parse::decl::test::username ... ok [INFO] [stdout] test parse::expr::test::parse_ternary ... ok [INFO] [stdout] test parse::stmt::tests::test_do_while ... ok [INFO] [stdout] test parse::expr::test::parse_casts ... ok [INFO] [stdout] test parse::stmt::tests::test_expr_stmt ... ok [INFO] [stdout] test parse::expr::test::sizeof ... ok [INFO] [stdout] test lex::tests::test_characters ... ok [INFO] [stdout] test parse::stmt::tests::test_goto ... ok [INFO] [stdout] test lex::tests::test_float_literals ... ok [INFO] [stdout] test parse::stmt::tests::test_if ... ok [INFO] [stdout] test lex::cpp::tests::keywords ... ok [INFO] [stdout] test parse::stmt::tests::test_switch ... ok [INFO] [stdout] test parse::expr::test::parse_postfix ... ok [INFO] [stdout] test parse::stmt::tests::test_for ... ok [INFO] [stdout] test lex::tests::test_lots_of_whitespace ... ok [INFO] [stdout] test parse::stmt::tests::test_while ... ok [INFO] [stdout] test parse::test::test_strings ... ok [INFO] [stdout] test parse::expr::test::parse_prefix ... ok [INFO] [stdout] test tests::empty ... ok [INFO] [stdout] test lex::tests::test_comments ... ok [INFO] [stdout] test arch::tests::proptest_sizeof_multiple_of_alignof ... ok [INFO] [stdout] test arch::tests::proptest_align_power_of_two ... ok [INFO] [stdout] test arch::tests::first_member ... ok [INFO] [stdout] test arch::tests::second_member ... ok [INFO] [stdout] test arch::tests::align ... ok [INFO] [stdout] test parse::test::proptest_peek_next_equals_2_next_token ... ok [INFO] [stdout] test parse::test::proptest_peek_equals_token ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 125 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.39s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/i686-unknown-linux-musl/debug/deps/swcc-e543b788a22261fa) [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/i686-unknown-linux-musl/debug/deps/runner-9f7556cd1d0f6025) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stderr] /usr/bin/ld: i386 architecture of input file `/tmp/.tmppm8EVJ' is incompatible with i386:x86-64 output [INFO] [stderr] collect2: error: ld returned 1 exit status [INFO] [stdout] test run_all ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- run_all stdout ---- [INFO] [stdout] testing tests/runner-tests/stmt/strlen.c [INFO] [stdout] testing tests/runner-tests/stmt/scope/8.c [INFO] [stdout] thread 'run_all' panicked at 'failed to compile program '// compiles [INFO] [stdout] struct s; [INFO] [stdout] struct s; [INFO] [stdout] int main() { [INFO] [stdout] union u; [INFO] [stdout] union u; [INFO] [stdout] } [INFO] [stdout] ': io error: linking program failed', tests/utils/mod.rs:38:31 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x8562bd1 - std::backtrace_rs::backtrace::libunwind::trace::hd97f390175e4d375 [INFO] [stdout] at /rustc/d5830e3d3b571fe52cdf4b7b34be99be74dc65ea/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x8562bd1 - std::backtrace_rs::backtrace::trace_unsynchronized::h9e4d1346fdbe15c5 [INFO] [stdout] at /rustc/d5830e3d3b571fe52cdf4b7b34be99be74dc65ea/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x8562bd1 - std::sys_common::backtrace::_print_fmt::h2d3f477d48c20ea8 [INFO] [stdout] at /rustc/d5830e3d3b571fe52cdf4b7b34be99be74dc65ea/library/std/src/sys_common/backtrace.rs:65:5 [INFO] [stdout] 3: 0x8562bd1 - ::fmt::h2e4fc3d0b8c80e4b [INFO] [stdout] at /rustc/d5830e3d3b571fe52cdf4b7b34be99be74dc65ea/library/std/src/sys_common/backtrace.rs:44:22 [INFO] [stdout] 4: 0x85a321c - core::fmt::write::h4ab0d13aa1c0ffdf [INFO] [stdout] at /rustc/d5830e3d3b571fe52cdf4b7b34be99be74dc65ea/library/core/src/fmt/mod.rs:1213:17 [INFO] [stdout] 5: 0x855fc2b - std::io::Write::write_fmt::hc0e5cbe2e336a35c [INFO] [stdout] at /rustc/d5830e3d3b571fe52cdf4b7b34be99be74dc65ea/library/std/src/io/mod.rs:1682:15 [INFO] [stdout] 6: 0x85629d6 - std::sys_common::backtrace::_print::he83a0656b60804f4 [INFO] [stdout] at /rustc/d5830e3d3b571fe52cdf4b7b34be99be74dc65ea/library/std/src/sys_common/backtrace.rs:47:5 [INFO] [stdout] 7: 0x85629d6 - std::sys_common::backtrace::print::he5889ca5768e8d1c [INFO] [stdout] at /rustc/d5830e3d3b571fe52cdf4b7b34be99be74dc65ea/library/std/src/sys_common/backtrace.rs:34:9 [INFO] [stdout] 8: 0x85645b5 - std::panicking::default_hook::{{closure}}::ha81712de98b54398 [INFO] [stdout] at /rustc/d5830e3d3b571fe52cdf4b7b34be99be74dc65ea/library/std/src/panicking.rs:267:22 [INFO] [stdout] 9: 0x85642b5 - std::panicking::default_hook::he5857a041ac6b670 [INFO] [stdout] at /rustc/d5830e3d3b571fe52cdf4b7b34be99be74dc65ea/library/std/src/panicking.rs:283:9 [INFO] [stdout] 10: 0x854151c - core::ops::function::Fn::call::h47ada2d4dc8687c6 [INFO] [stdout] at /rustc/d5830e3d3b571fe52cdf4b7b34be99be74dc65ea/library/core/src/ops/function.rs:79:5 [INFO] [stdout] 11: 0x80b9c89 - as core::ops::function::Fn>::call::h32210aeb8cc578f9 [INFO] [stdout] at /rustc/d5830e3d3b571fe52cdf4b7b34be99be74dc65ea/library/alloc/src/boxed.rs:2002:9 [INFO] [stdout] 12: 0x80b9c89 - test::test_main::{{closure}}::h8466694f5bd858c9 [INFO] [stdout] at /rustc/d5830e3d3b571fe52cdf4b7b34be99be74dc65ea/library/test/src/lib.rs:135:21 [INFO] [stdout] 13: 0x8564cf1 - as core::ops::function::Fn>::call::h5bc67f704e9605b2 [INFO] [stdout] at /rustc/d5830e3d3b571fe52cdf4b7b34be99be74dc65ea/library/alloc/src/boxed.rs:2002:9 [INFO] [stdout] 14: 0x8564cf1 - std::panicking::rust_panic_with_hook::h764b8fe75e8ba68c [INFO] [stdout] at /rustc/d5830e3d3b571fe52cdf4b7b34be99be74dc65ea/library/std/src/panicking.rs:692:13 [INFO] [stdout] 15: 0x8564aac - std::panicking::begin_panic_handler::{{closure}}::h04438436866ada8a [INFO] [stdout] at /rustc/d5830e3d3b571fe52cdf4b7b34be99be74dc65ea/library/std/src/panicking.rs:579:13 [INFO] [stdout] 16: 0x856304a - std::sys_common::backtrace::__rust_end_short_backtrace::hb43e7524728cf453 [INFO] [stdout] at /rustc/d5830e3d3b571fe52cdf4b7b34be99be74dc65ea/library/std/src/sys_common/backtrace.rs:137:18 [INFO] [stdout] 17: 0x8564783 - rust_begin_unwind [INFO] [stdout] at /rustc/d5830e3d3b571fe52cdf4b7b34be99be74dc65ea/library/std/src/panicking.rs:575:5 [INFO] [stdout] 18: 0x804cd50 - core::panicking::panic_fmt::ha026792c47a5830b [INFO] [stdout] at /rustc/d5830e3d3b571fe52cdf4b7b34be99be74dc65ea/library/core/src/panicking.rs:64:14 [INFO] [stdout] 19: 0x8069397 - runner::utils::compile_and_run::{{closure}}::hb81320d79e897df9 [INFO] [stdout] 20: 0x807f996 - core::result::Result::unwrap_or_else::h0febb1c68359ef87 [INFO] [stdout] 21: 0x8069087 - runner::utils::compile_and_run::h6bda1fa2f88b1692 [INFO] [stdout] 22: 0x806b187 - runner::utils::assert_succeeds::heeae4553597b6bb6 [INFO] [stdout] 23: 0x8070d6f - runner::run_one::h1253477446c604cf [INFO] [stdout] 24: 0x80726ee - runner::run_all::h59659d194f5ec222 [INFO] [stdout] 25: 0x8071e7a - runner::run_all::{{closure}}::h1773d41424c27278 [INFO] [stdout] 26: 0x8086a2d - core::ops::function::FnOnce::call_once::h235fc5a4057b5ac2 [INFO] [stdout] 27: 0x80be71e - core::ops::function::FnOnce::call_once::h3969063a3b87f847 [INFO] [stdout] at /rustc/d5830e3d3b571fe52cdf4b7b34be99be74dc65ea/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 28: 0x80be71e - test::__rust_begin_short_backtrace::h4b8703a824c9f4d1 [INFO] [stdout] at /rustc/d5830e3d3b571fe52cdf4b7b34be99be74dc65ea/library/test/src/lib.rs:656:18 [INFO] [stdout] 29: 0x8092470 - test::run_test::{{closure}}::he242fd19981fa5cd [INFO] [stdout] at /rustc/d5830e3d3b571fe52cdf4b7b34be99be74dc65ea/library/test/src/lib.rs:647:30 [INFO] [stdout] 30: 0x8092470 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h706575526aa71778 [INFO] [stdout] at /rustc/d5830e3d3b571fe52cdf4b7b34be99be74dc65ea/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 31: 0x80bd857 - as core::ops::function::FnOnce>::call_once::hafe155c229ed3840 [INFO] [stdout] at /rustc/d5830e3d3b571fe52cdf4b7b34be99be74dc65ea/library/alloc/src/boxed.rs:1988:9 [INFO] [stdout] 32: 0x80bd857 - as core::ops::function::FnOnce<()>>::call_once::hccf8545804efeabc [INFO] [stdout] at /rustc/d5830e3d3b571fe52cdf4b7b34be99be74dc65ea/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 33: 0x80bd857 - std::panicking::try::do_call::h14c088d0ccd71a85 [INFO] [stdout] at /rustc/d5830e3d3b571fe52cdf4b7b34be99be74dc65ea/library/std/src/panicking.rs:483:40 [INFO] [stdout] 34: 0x80bd857 - std::panicking::try::h5bee4f0fb041d03c [INFO] [stdout] at /rustc/d5830e3d3b571fe52cdf4b7b34be99be74dc65ea/library/std/src/panicking.rs:447:19 [INFO] [stdout] 35: 0x80bd857 - std::panic::catch_unwind::hc4a3b19ca4039446 [INFO] [stdout] at /rustc/d5830e3d3b571fe52cdf4b7b34be99be74dc65ea/library/std/src/panic.rs:140:14 [INFO] [stdout] 36: 0x80bd857 - test::run_test_in_process::h01c4cf5424b4aa16 [INFO] [stdout] at /rustc/d5830e3d3b571fe52cdf4b7b34be99be74dc65ea/library/test/src/lib.rs:679:27 [INFO] [stdout] 37: 0x80bd857 - test::run_test::run_test_inner::{{closure}}::h2b730e73e85dc07e [INFO] [stdout] at /rustc/d5830e3d3b571fe52cdf4b7b34be99be74dc65ea/library/test/src/lib.rs:573:39 [INFO] [stdout] 38: 0x808cb9a - test::run_test::run_test_inner::{{closure}}::h1e6de70351d982ef [INFO] [stdout] at /rustc/d5830e3d3b571fe52cdf4b7b34be99be74dc65ea/library/test/src/lib.rs:600:37 [INFO] [stdout] 39: 0x808cb9a - std::sys_common::backtrace::__rust_begin_short_backtrace::h11ed077933f178e3 [INFO] [stdout] at /rustc/d5830e3d3b571fe52cdf4b7b34be99be74dc65ea/library/std/src/sys_common/backtrace.rs:121:18 [INFO] [stdout] 40: 0x809254b - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::ha60d98b360ed53c8 [INFO] [stdout] at /rustc/d5830e3d3b571fe52cdf4b7b34be99be74dc65ea/library/std/src/thread/mod.rs:558:17 [INFO] [stdout] 41: 0x809254b - as core::ops::function::FnOnce<()>>::call_once::h5e10cae340573322 [INFO] [stdout] at /rustc/d5830e3d3b571fe52cdf4b7b34be99be74dc65ea/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 42: 0x809254b - std::panicking::try::do_call::h47dd5d7a0750d636 [INFO] [stdout] at /rustc/d5830e3d3b571fe52cdf4b7b34be99be74dc65ea/library/std/src/panicking.rs:483:40 [INFO] [stdout] 43: 0x809254b - std::panicking::try::hcaac73f0ac4cf9b2 [INFO] [stdout] at /rustc/d5830e3d3b571fe52cdf4b7b34be99be74dc65ea/library/std/src/panicking.rs:447:19 [INFO] [stdout] 44: 0x809254b - std::panic::catch_unwind::h9fe9d263cb0da10f [INFO] [stdout] at /rustc/d5830e3d3b571fe52cdf4b7b34be99be74dc65ea/library/std/src/panic.rs:140:14 [INFO] [stdout] 45: 0x809254b - std::thread::Builder::spawn_unchecked_::{{closure}}::h2c0f796f4234fbbe [INFO] [stdout] at /rustc/d5830e3d3b571fe52cdf4b7b34be99be74dc65ea/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 46: 0x809254b - core::ops::function::FnOnce::call_once{{vtable.shim}}::hd8a5d36b54e84e44 [INFO] [stdout] at /rustc/d5830e3d3b571fe52cdf4b7b34be99be74dc65ea/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 47: 0x85693cd - as core::ops::function::FnOnce>::call_once::hbac986b07f477b52 [INFO] [stdout] at /rustc/d5830e3d3b571fe52cdf4b7b34be99be74dc65ea/library/alloc/src/boxed.rs:1988:9 [INFO] [stdout] 48: 0x85693cd - as core::ops::function::FnOnce>::call_once::h5768035ad531add2 [INFO] [stdout] at /rustc/d5830e3d3b571fe52cdf4b7b34be99be74dc65ea/library/alloc/src/boxed.rs:1988:9 [INFO] [stdout] 49: 0x85693cd - std::sys::unix::thread::Thread::new::thread_start::h48056988cddec68b [INFO] [stdout] at /rustc/d5830e3d3b571fe52cdf4b7b34be99be74dc65ea/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] run_all [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--test runner` [INFO] running `Command { std: "docker" "inspect" "45fe4d7c30096bbb8c0213edc9d461d7ae82f44d7743f765f93c9a2deb6e0427", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "45fe4d7c30096bbb8c0213edc9d461d7ae82f44d7743f765f93c9a2deb6e0427", kill_on_drop: false }` [INFO] [stdout] 45fe4d7c30096bbb8c0213edc9d461d7ae82f44d7743f765f93c9a2deb6e0427