[INFO] fetching crate saltwater 0.11.0... [INFO] checking saltwater-0.11.0 against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] extracting crate saltwater 0.11.0 into /workspace/builds/worker-17/source [INFO] validating manifest of crates.io crate saltwater 0.11.0 on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "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-17/source/Cargo.toml [INFO] crate crates.io crate saltwater 0.11.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 710c894b8c929bd875d5f5328172f9712a7cac3db7f31fd19bfd3f3f24c399e5 [INFO] running `Command { std: "docker" "start" "-a" "710c894b8c929bd875d5f5328172f9712a7cac3db7f31fd19bfd3f3f24c399e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "710c894b8c929bd875d5f5328172f9712a7cac3db7f31fd19bfd3f3f24c399e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "710c894b8c929bd875d5f5328172f9712a7cac3db7f31fd19bfd3f3f24c399e5", kill_on_drop: false }` [INFO] [stdout] 710c894b8c929bd875d5f5328172f9712a7cac3db7f31fd19bfd3f3f24c399e5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3353865131ee2f6ff5bb5df56ea3801c8d5f84adf7132a98f0c86cef630d44f5 [INFO] running `Command { std: "docker" "start" "-a" "3353865131ee2f6ff5bb5df56ea3801c8d5f84adf7132a98f0c86cef630d44f5", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] note: Switching to Edition 2021 will enable the use of the version 2 feature resolver in Cargo. [INFO] [stderr] This may cause some dependencies to be built with fewer features enabled than previously. [INFO] [stderr] More information about the resolver changes may be found at https://doc.rust-lang.org/nightly/edition-guide/rust-2021/default-cargo-resolver.html [INFO] [stderr] When building the following dependencies, the given features will no longer be used: [INFO] [stderr] [INFO] [stderr] byteorder v1.3.4: std [INFO] [stderr] log v0.4.11: std [INFO] [stderr] syn v1.0.35 (as host dependency): full, visit [INFO] [stderr] [INFO] [stderr] warning: invalid feature `_test_header` in required-features of target `headers`: `_test_header` is not present in [features] section [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling libc v0.2.73 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling syn v1.0.35 [INFO] [stderr] Compiling cranelift-codegen-shared v0.66.0 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling cranelift-entity v0.66.0 [INFO] [stderr] Compiling target-lexicon v0.10.0 [INFO] [stderr] Checking smallvec v1.4.1 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking ppv-lite86 v0.2.8 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling rayon-core v1.7.1 [INFO] [stderr] Compiling serde_json v1.0.56 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Checking termcolor v1.1.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Checking lasso v0.2.2 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking bit-vec v0.6.2 [INFO] [stderr] Checking hexponent v0.3.1 [INFO] [stderr] Checking codespan v0.9.5 [INFO] [stderr] Checking pico-args v0.3.3 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling anyhow v1.0.32 [INFO] [stderr] Checking miniz_oxide v0.4.0 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking regex v1.3.9 [INFO] [stderr] Checking log v0.4.11 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Compiling cranelift-codegen-meta v0.66.0 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking rand_pcg v0.1.2 [INFO] [stderr] Compiling hashbrown v0.8.1 [INFO] [stderr] Compiling indexmap v1.5.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling memoffset v0.5.5 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling rayon v1.3.1 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking bit-set v0.5.2 [INFO] [stderr] Checking cranelift-bforest v0.66.0 [INFO] [stderr] Checking clap v2.33.1 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_chacha v0.1.1 [INFO] [stderr] Checking regalloc v0.0.27 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking regex-automata v0.1.9 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking object v0.20.0 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking criterion-plot v0.4.3 [INFO] [stderr] Checking counter v0.4.3 [INFO] [stderr] Checking plotters v0.2.15 [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stderr] Checking rusty-fork v0.2.2 [INFO] [stderr] Checking proptest v0.9.6 [INFO] [stderr] Checking bstr v0.2.13 [INFO] [stderr] Checking serde_cbor v0.11.1 [INFO] [stderr] Checking backtrace v0.3.50 [INFO] [stderr] Checking color-backtrace v0.4.2 [INFO] [stderr] Checking csv v1.1.3 [INFO] [stderr] Checking tinytemplate v1.1.0 [INFO] [stderr] Compiling thiserror-impl v1.0.20 [INFO] [stderr] Compiling cranelift-codegen v0.66.0 [INFO] [stderr] Compiling proptest-derive v0.1.2 [INFO] [stderr] Checking thiserror v1.0.20 [INFO] [stderr] Checking criterion v0.3.3 [INFO] [stderr] Checking cranelift-module v0.66.0 [INFO] [stderr] Checking cranelift-frontend v0.66.0 [INFO] [stderr] Checking cranelift-object v0.66.0 [INFO] [stderr] Checking cranelift v0.66.0 [INFO] [stderr] Checking saltwater v0.11.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/ir/mod.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | })); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/ir/static_init.rs:133:25 [INFO] [stdout] | [INFO] [stdout] 133 | semantic_err!(format!("error declaring static string: {}", err), location) [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `semantic_err` [INFO] [stdout] = note: this warning originates in the macro `semantic_err` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/ir/mod.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | })); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/ir/static_init.rs:184:22 [INFO] [stdout] | [INFO] [stdout] 184 | _ => semantic_err!("cannot take the address of an rvalue".into(), expr.location), [INFO] [stdout] | --------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `semantic_err` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/ir/mod.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | })); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/ir/static_init.rs:191:18 [INFO] [stdout] | [INFO] [stdout] 191 | _ => semantic_err!( [INFO] [stdout] | __________________- [INFO] [stdout] 192 | | "expression is not a compile time constant".into(), [INFO] [stdout] 193 | | expr.location [INFO] [stdout] 194 | | ), [INFO] [stdout] | |_____________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `semantic_err` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/ir/mod.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | })); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 283 | Err(data) => semantic_err!(data.into(), *location), [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `semantic_err` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/ir/mod.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | })); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 287 | Err(_) => semantic_err!( [INFO] [stdout] | ___________________________- [INFO] [stdout] 288 | | format!( [INFO] [stdout] 289 | | "size {} is too large for stack (can only handle 32-bit values)", [INFO] [stdout] 290 | | u64_size [INFO] [stdout] 291 | | ), [INFO] [stdout] 292 | | *location [INFO] [stdout] 293 | | ), [INFO] [stdout] | |_________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `semantic_err` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/lex/cpp.rs:607:10 [INFO] [stdout] | [INFO] [stdout] 607 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of constant `std::i64::MIN` that will be deprecated in a future Rust version: replaced by the `MIN` associated constant on this type [INFO] [stdout] --> src/analyze/mod.rs:735:31 [INFO] [stdout] | [INFO] [stdout] 735 | std::i64::MIN [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | #![warn(deprecated_in_future)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of constant `std::usize::MAX` that will be deprecated in a future Rust version: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/analyze/expr.rs:996:30 [INFO] [stdout] | [INFO] [stdout] 996 | _ => std::usize::MAX, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of constant `std::usize::MAX` that will be deprecated in a future Rust version: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/ir/static_init.rs:19:39 [INFO] [stdout] | [INFO] [stdout] 19 | const_assert!(PTR_SIZE <= std::usize::MAX as u16); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of constant `std::f64::EPSILON` that will be deprecated in a future Rust version: replaced by the `EPSILON` associated constant on `f64` [INFO] [stdout] --> src/ir/static_init.rs:409:65 [INFO] [stdout] | [INFO] [stdout] 409 | if (f64::from(cast) - f).abs() >= std::f64::EPSILON { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of constant `std::f64::EPSILON` that will be deprecated in a future Rust version: replaced by the `EPSILON` associated constant on `f64` [INFO] [stdout] --> src/ir/static_init.rs:412:42 [INFO] [stdout] | [INFO] [stdout] 412 | ... f, std::f64::EPSILON, f64::from(cast) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of associated function `cranelift::cranelift_codegen::cranelift_entity::core::num::::max_value` that will be deprecated in a future Rust version: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/arch/x64.rs:5:45 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) const SIZE_MAX: SIZE_T = SIZE_T::max_value(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of associated function `cranelift::cranelift_codegen::cranelift_entity::core::num::::max_value` that will be deprecated in a future Rust version: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/ir/mod.rs:487:30 [INFO] [stdout] | [INFO] [stdout] 487 | i16::max_value() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/ir/mod.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | })); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/ir/static_init.rs:133:25 [INFO] [stdout] | [INFO] [stdout] 133 | semantic_err!(format!("error declaring static string: {}", err), location) [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `semantic_err` [INFO] [stdout] = note: this warning originates in the macro `semantic_err` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/ir/mod.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | })); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/ir/static_init.rs:184:22 [INFO] [stdout] | [INFO] [stdout] 184 | _ => semantic_err!("cannot take the address of an rvalue".into(), expr.location), [INFO] [stdout] | --------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `semantic_err` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/ir/mod.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | })); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/ir/static_init.rs:191:18 [INFO] [stdout] | [INFO] [stdout] 191 | _ => semantic_err!( [INFO] [stdout] | __________________- [INFO] [stdout] 192 | | "expression is not a compile time constant".into(), [INFO] [stdout] 193 | | expr.location [INFO] [stdout] 194 | | ), [INFO] [stdout] | |_____________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `semantic_err` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/ir/mod.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | })); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 283 | Err(data) => semantic_err!(data.into(), *location), [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `semantic_err` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/ir/mod.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | })); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 287 | Err(_) => semantic_err!( [INFO] [stdout] | ___________________________- [INFO] [stdout] 288 | | format!( [INFO] [stdout] 289 | | "size {} is too large for stack (can only handle 32-bit values)", [INFO] [stdout] 290 | | u64_size [INFO] [stdout] 291 | | ), [INFO] [stdout] 292 | | *location [INFO] [stdout] 293 | | ), [INFO] [stdout] | |_________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `semantic_err` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/lex/cpp.rs:607:10 [INFO] [stdout] | [INFO] [stdout] 607 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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: 13 warnings emitted [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: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating tests/runner.rs from 2018 edition to 2021 [INFO] [stderr] Migrating benches/parens.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stderr] Migrating tests/stack-overflow.rs from 2018 edition to 2021 [INFO] [stderr] Migrating tests/varargs.rs from 2018 edition to 2021 [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rcc` [INFO] [stdout] --> benches/parens.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use rcc::codespan::Files; [INFO] [stdout] | ^^^ use of undeclared crate or module `rcc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rcc` [INFO] [stdout] --> benches/parens.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rcc::{Lexer, Locatable, Parser, Token}; [INFO] [stdout] | ^^^ use of undeclared crate or module `rcc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Files` [INFO] [stdout] --> benches/parens.rs:11:25 [INFO] [stdout] | [INFO] [stdout] 11 | let mut files = Files::new(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use codespan::Files; [INFO] [stdout] | [INFO] [stdout] 1 | use saltwater::Files; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `saltwater` due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "3353865131ee2f6ff5bb5df56ea3801c8d5f84adf7132a98f0c86cef630d44f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3353865131ee2f6ff5bb5df56ea3801c8d5f84adf7132a98f0c86cef630d44f5", kill_on_drop: false }` [INFO] [stdout] 3353865131ee2f6ff5bb5df56ea3801c8d5f84adf7132a98f0c86cef630d44f5