[INFO] cloning repository https://github.com/noxabellus/mod-language [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/noxabellus/mod-language" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnoxabellus%2Fmod-language", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnoxabellus%2Fmod-language'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5f5edbd179c09ac0a5a537bcbd4ed11461deadd4 [INFO] checking noxabellus/mod-language against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnoxabellus%2Fmod-language" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/noxabellus/mod-language 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 git repo https://github.com/noxabellus/mod-language [INFO] finished tweaking git repo https://github.com/noxabellus/mod-language [INFO] tweaked toml for git repo https://github.com/noxabellus/mod-language written to /workspace/builds/worker-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded addr2line v0.16.0 [INFO] [stderr] Downloaded rustc-demangle v0.1.21 [INFO] [stderr] Downloaded backtrace v0.3.61 [INFO] [stderr] Downloaded llvm-sys v90.2.0 [INFO] [stderr] Downloaded gimli v0.25.0 [INFO] [stderr] Downloaded object v0.26.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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] 2532c0fcde4e55d46a162cbfdd5175c094eddde904ba13cd6285f28b0b84c03d [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "2532c0fcde4e55d46a162cbfdd5175c094eddde904ba13cd6285f28b0b84c03d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2532c0fcde4e55d46a162cbfdd5175c094eddde904ba13cd6285f28b0b84c03d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2532c0fcde4e55d46a162cbfdd5175c094eddde904ba13cd6285f28b0b84c03d", kill_on_drop: false }` [INFO] [stdout] 2532c0fcde4e55d46a162cbfdd5175c094eddde904ba13cd6285f28b0b84c03d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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] de9db97aaa4981231cd237f5791062f425ef9914765664e0e53d9a505d486e50 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "de9db97aaa4981231cd237f5791062f425ef9914765664e0e53d9a505d486e50", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Checking mod_common v0.1.23 (/tmp/fixit/libs/common) [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Checking mod_utils v0.1.23 (/tmp/fixit/libs/utils) [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking mod_ansi v0.1.23 (/tmp/fixit/libs/ansi) [INFO] [stderr] Migrating libs/utils/src/lib.rs from 2018 edition to 2021 [INFO] [stderr] Migrating libs/common/src/lib.rs from 2018 edition to 2021 [INFO] [stderr] Migrating libs/ansi/src/lib.rs from 2018 edition to 2021 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stdout] warning: the feature `const_loop` has been stable since 1.46.0 and no longer requires an attribute to enable [INFO] [stdout] --> libs/common/src/lib.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | #![feature(const_loop)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `const_if_match` has been stable since 1.46.0 and no longer requires an attribute to enable [INFO] [stdout] --> libs/common/src/lib.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | #![feature(const_if_match)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking mod_bytecode v0.1.23 (/tmp/fixit/libs/bytecode) [INFO] [stderr] Migrating libs/bytecode/src/lib.rs from 2018 edition to 2021 [INFO] [stdout] warning: the feature `const_loop` has been stable since 1.46.0 and no longer requires an attribute to enable [INFO] [stdout] --> libs/common/src/lib.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | #![feature(const_loop)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `const_if_match` has been stable since 1.46.0 and no longer requires an attribute to enable [INFO] [stdout] --> libs/common/src/lib.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | #![feature(const_if_match)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Checking mod_frontend v0.1.23 (/tmp/fixit/libs/frontend) [INFO] [stderr] Migrating libs/frontend/src/lib.rs from 2018 edition to 2021 [INFO] [stdout] warning: the feature `or_patterns` has been stable since 1.53.0 and no longer requires an attribute to enable [INFO] [stdout] --> libs/bytecode/src/lib.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | #![feature(or_patterns)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `or_patterns` has been stable since 1.53.0 and no longer requires an attribute to enable [INFO] [stdout] --> libs/bytecode/src/lib.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | #![feature(or_patterns)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling llvm-sys v90.2.0 [INFO] [stdout] warning: the meaning of the `pat` fragment specifier is changing in Rust 2021, which may affect this macro [INFO] [stdout] --> libs/frontend/src/parser/type_expression.rs:139:30 [INFO] [stdout] | [INFO] [stdout] 139 | macro_rules! tpx { ($( $($predicate: pat)|* => $function: expr ),* $(,)?) => { &[ $( TypeExpressionParselet { predicate: |token | mat... [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use pat_param to preserve semantics: `$predicate:pat_param` [INFO] [stdout] | [INFO] [stdout] = note: `--force-warn rust-2021-incompatible-or-patterns` implied by `--force-warn rust-2021-compatibility` [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the meaning of the `pat` fragment specifier is changing in Rust 2021, which may affect this macro [INFO] [stdout] --> libs/frontend/src/parser/expression.rs:151:30 [INFO] [stdout] | [INFO] [stdout] 151 | macro_rules! pfx { ($( $($predicate: pat)|* => $function: expr ),* $(,)?) => { &[ $( PrefixParselet { predicate: |token| matches!(tok... [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use pat_param to preserve semantics: `$predicate:pat_param` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the meaning of the `pat` fragment specifier is changing in Rust 2021, which may affect this macro [INFO] [stdout] --> libs/frontend/src/parser/expression.rs:284:50 [INFO] [stdout] | [INFO] [stdout] 284 | macro_rules! ifx { ($( ($precedence: expr) $($predicate: pat)|* => $function: expr ),* $(,)?) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use pat_param to preserve semantics: `$predicate:pat_param` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the meaning of the `pat` fragment specifier is changing in Rust 2021, which may affect this macro [INFO] [stdout] --> libs/frontend/src/parser/statement.rs:176:30 [INFO] [stdout] | [INFO] [stdout] 176 | macro_rules! stm { ($( $($predicate: pat)|* => $function: expr ),* $(,)?) => { &[ $( StatementParselet { predicate: |token| matches!(... [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use pat_param to preserve semantics: `$predicate:pat_param` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the meaning of the `pat` fragment specifier is changing in Rust 2021, which may affect this macro [INFO] [stdout] --> libs/frontend/src/parser/item.rs:756:30 [INFO] [stdout] | [INFO] [stdout] 756 | macro_rules! itm { ($( $($predicate: pat)|* => $function: expr ),* $(,)?) => { &[ $( ItemParselet { predicate: |token| matches!(token... [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use pat_param to preserve semantics: `$predicate:pat_param` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `expect_none` found for enum `Option` in the current scope [INFO] [stdout] --> libs/frontend/src/source.rs:281:10 [INFO] [stdout] | [INFO] [stdout] 281 | .expect_none("Internal error, tried to fill ast reserved cache, but it was already filled"); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `Option>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap_none` found for enum `Option` in the current scope [INFO] [stdout] --> libs/frontend/src/source.rs:295:51 [INFO] [stdout] | [INFO] [stdout] 295 | self.bi_map().insert_at_key(src_key, ast_key).unwrap_none(); [INFO] [stdout] | ^^^^^^^^^^^ help: there is an associated function with a similar name: `unwrap_or` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: an associated function with this name may be added to the standard library in the future [INFO] [stdout] --> libs/frontend/src/ctx.rs:298:46 [INFO] [stdout] | [INFO] [stdout] 298 | *self.entries.find_value(ident.as_ref()).unwrap_unchecked() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unstable_name_collisions)]` on by default [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `unwrap_unchecked(...)` to keep using the current method [INFO] [stdout] = help: add `#![feature(option_result_unwrap_unchecked)]` to the crate attributes to enable `Option::::unwrap_unchecked` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: an associated function with this name may be added to the standard library in the future [INFO] [stdout] --> libs/frontend/src/analyzer/mod.rs:94:68 [INFO] [stdout] | [INFO] [stdout] 94 | let (mod_key, _ns_vec) = unsafe { self.active_mod_and_ns.pop().unwrap_unchecked() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `unwrap_unchecked(...)` to keep using the current method [INFO] [stdout] = help: add `#![feature(option_result_unwrap_unchecked)]` to the crate attributes to enable `Option::::unwrap_unchecked` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: an associated function with this name may be added to the standard library in the future [INFO] [stdout] --> libs/frontend/src/analyzer/mod.rs:102:48 [INFO] [stdout] | [INFO] [stdout] 102 | unsafe { self.active_mod_and_ns.last_mut().unwrap_unchecked().1.push(ns_key) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `unwrap_unchecked(...)` to keep using the current method [INFO] [stdout] = help: add `#![feature(option_result_unwrap_unchecked)]` to the crate attributes to enable `Option::::unwrap_unchecked` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: an associated function with this name may be added to the standard library in the future [INFO] [stdout] --> libs/frontend/src/analyzer/mod.rs:114:48 [INFO] [stdout] | [INFO] [stdout] 114 | unsafe { self.active_mod_and_ns.last_mut().unwrap_unchecked().1.pop().unwrap_unchecked() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `unwrap_unchecked(...)` to keep using the current method [INFO] [stdout] = help: add `#![feature(option_result_unwrap_unchecked)]` to the crate attributes to enable `Option::::unwrap_unchecked` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: an associated function with this name may be added to the standard library in the future [INFO] [stdout] --> libs/frontend/src/analyzer/mod.rs:114:75 [INFO] [stdout] | [INFO] [stdout] 114 | unsafe { self.active_mod_and_ns.last_mut().unwrap_unchecked().1.pop().unwrap_unchecked() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `unwrap_unchecked(...)` to keep using the current method [INFO] [stdout] = help: add `#![feature(option_result_unwrap_unchecked)]` to the crate attributes to enable `Option::::unwrap_unchecked` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: an associated function with this name may be added to the standard library in the future [INFO] [stdout] --> libs/frontend/src/analyzer/mod.rs:121:44 [INFO] [stdout] | [INFO] [stdout] 121 | unsafe { self.active_mod_and_ns.last().unwrap_unchecked().0 } [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `unwrap_unchecked(...)` to keep using the current method [INFO] [stdout] = help: add `#![feature(option_result_unwrap_unchecked)]` to the crate attributes to enable `Option::::unwrap_unchecked` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: an associated function with this name may be added to the standard library in the future [INFO] [stdout] --> libs/frontend/src/analyzer/mod.rs:137:45 [INFO] [stdout] | [INFO] [stdout] 137 | unsafe { *self.active_mod_and_ns.last().unwrap_unchecked().1.last().unwrap_unchecked() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `unwrap_unchecked(...)` to keep using the current method [INFO] [stdout] = help: add `#![feature(option_result_unwrap_unchecked)]` to the crate attributes to enable `Option::::unwrap_unchecked` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: an associated function with this name may be added to the standard library in the future [INFO] [stdout] --> libs/frontend/src/analyzer/mod.rs:137:73 [INFO] [stdout] | [INFO] [stdout] 137 | unsafe { *self.active_mod_and_ns.last().unwrap_unchecked().1.last().unwrap_unchecked() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `unwrap_unchecked(...)` to keep using the current method [INFO] [stdout] = help: add `#![feature(option_result_unwrap_unchecked)]` to the crate attributes to enable `Option::::unwrap_unchecked` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `expect_none` found for enum `Option` in the current scope [INFO] [stdout] --> libs/frontend/src/analyzer/mod.rs:156:57 [INFO] [stdout] | [INFO] [stdout] 156 | self.local_context.replace(LocalContext::default()).expect_none("Internal error, cannot create LocalContext, one already exists"); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: an associated function with this name may be added to the standard library in the future [INFO] [stdout] --> libs/frontend/src/analyzer/mod.rs:157:42 [INFO] [stdout] | [INFO] [stdout] 157 | unsafe { self.local_context.as_mut().unwrap_unchecked() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `unwrap_unchecked(...)` to keep using the current method [INFO] [stdout] = help: add `#![feature(option_result_unwrap_unchecked)]` to the crate attributes to enable `Option::::unwrap_unchecked` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `expect_none` found for enum `Option` in the current scope [INFO] [stdout] --> libs/frontend/src/analyzer/mod.rs:249:57 [INFO] [stdout] | [INFO] [stdout] 249 | self.context.modules.insert(identifier, module_key).expect_none("Internal error, overwrote existing Module"); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mod_frontend` due to 5 previous errors; 14 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: the meaning of the `pat` fragment specifier is changing in Rust 2021, which may affect this macro [INFO] [stdout] --> libs/frontend/src/parser/type_expression.rs:139:30 [INFO] [stdout] | [INFO] [stdout] 139 | macro_rules! tpx { ($( $($predicate: pat)|* => $function: expr ),* $(,)?) => { &[ $( TypeExpressionParselet { predicate: |token | mat... [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use pat_param to preserve semantics: `$predicate:pat_param` [INFO] [stdout] | [INFO] [stdout] = note: `--force-warn rust-2021-incompatible-or-patterns` implied by `--force-warn rust-2021-compatibility` [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the meaning of the `pat` fragment specifier is changing in Rust 2021, which may affect this macro [INFO] [stdout] --> libs/frontend/src/parser/expression.rs:151:30 [INFO] [stdout] | [INFO] [stdout] 151 | macro_rules! pfx { ($( $($predicate: pat)|* => $function: expr ),* $(,)?) => { &[ $( PrefixParselet { predicate: |token| matches!(tok... [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use pat_param to preserve semantics: `$predicate:pat_param` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the meaning of the `pat` fragment specifier is changing in Rust 2021, which may affect this macro [INFO] [stdout] --> libs/frontend/src/parser/expression.rs:284:50 [INFO] [stdout] | [INFO] [stdout] 284 | macro_rules! ifx { ($( ($precedence: expr) $($predicate: pat)|* => $function: expr ),* $(,)?) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use pat_param to preserve semantics: `$predicate:pat_param` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the meaning of the `pat` fragment specifier is changing in Rust 2021, which may affect this macro [INFO] [stdout] --> libs/frontend/src/parser/statement.rs:176:30 [INFO] [stdout] | [INFO] [stdout] 176 | macro_rules! stm { ($( $($predicate: pat)|* => $function: expr ),* $(,)?) => { &[ $( StatementParselet { predicate: |token| matches!(... [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use pat_param to preserve semantics: `$predicate:pat_param` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the meaning of the `pat` fragment specifier is changing in Rust 2021, which may affect this macro [INFO] [stdout] --> libs/frontend/src/parser/item.rs:756:30 [INFO] [stdout] | [INFO] [stdout] 756 | macro_rules! itm { ($( $($predicate: pat)|* => $function: expr ),* $(,)?) => { &[ $( ItemParselet { predicate: |token| matches!(token... [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use pat_param to preserve semantics: `$predicate:pat_param` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `expect_none` found for enum `Option` in the current scope [INFO] [stdout] --> libs/frontend/src/source.rs:281:10 [INFO] [stdout] | [INFO] [stdout] 281 | .expect_none("Internal error, tried to fill ast reserved cache, but it was already filled"); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `Option>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap_none` found for enum `Option` in the current scope [INFO] [stdout] --> libs/frontend/src/source.rs:295:51 [INFO] [stdout] | [INFO] [stdout] 295 | self.bi_map().insert_at_key(src_key, ast_key).unwrap_none(); [INFO] [stdout] | ^^^^^^^^^^^ help: there is an associated function with a similar name: `unwrap_or` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: an associated function with this name may be added to the standard library in the future [INFO] [stdout] --> libs/frontend/src/ctx.rs:298:46 [INFO] [stdout] | [INFO] [stdout] 298 | *self.entries.find_value(ident.as_ref()).unwrap_unchecked() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unstable_name_collisions)]` on by default [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `unwrap_unchecked(...)` to keep using the current method [INFO] [stdout] = help: add `#![feature(option_result_unwrap_unchecked)]` to the crate attributes to enable `Option::::unwrap_unchecked` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: an associated function with this name may be added to the standard library in the future [INFO] [stdout] --> libs/frontend/src/analyzer/mod.rs:94:68 [INFO] [stdout] | [INFO] [stdout] 94 | let (mod_key, _ns_vec) = unsafe { self.active_mod_and_ns.pop().unwrap_unchecked() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `unwrap_unchecked(...)` to keep using the current method [INFO] [stdout] = help: add `#![feature(option_result_unwrap_unchecked)]` to the crate attributes to enable `Option::::unwrap_unchecked` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: an associated function with this name may be added to the standard library in the future [INFO] [stdout] --> libs/frontend/src/analyzer/mod.rs:102:48 [INFO] [stdout] | [INFO] [stdout] 102 | unsafe { self.active_mod_and_ns.last_mut().unwrap_unchecked().1.push(ns_key) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `unwrap_unchecked(...)` to keep using the current method [INFO] [stdout] = help: add `#![feature(option_result_unwrap_unchecked)]` to the crate attributes to enable `Option::::unwrap_unchecked` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: an associated function with this name may be added to the standard library in the future [INFO] [stdout] --> libs/frontend/src/analyzer/mod.rs:114:48 [INFO] [stdout] | [INFO] [stdout] 114 | unsafe { self.active_mod_and_ns.last_mut().unwrap_unchecked().1.pop().unwrap_unchecked() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `unwrap_unchecked(...)` to keep using the current method [INFO] [stdout] = help: add `#![feature(option_result_unwrap_unchecked)]` to the crate attributes to enable `Option::::unwrap_unchecked` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: an associated function with this name may be added to the standard library in the future [INFO] [stdout] --> libs/frontend/src/analyzer/mod.rs:114:75 [INFO] [stdout] | [INFO] [stdout] 114 | unsafe { self.active_mod_and_ns.last_mut().unwrap_unchecked().1.pop().unwrap_unchecked() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `unwrap_unchecked(...)` to keep using the current method [INFO] [stdout] = help: add `#![feature(option_result_unwrap_unchecked)]` to the crate attributes to enable `Option::::unwrap_unchecked` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: an associated function with this name may be added to the standard library in the future [INFO] [stdout] --> libs/frontend/src/analyzer/mod.rs:121:44 [INFO] [stdout] | [INFO] [stdout] 121 | unsafe { self.active_mod_and_ns.last().unwrap_unchecked().0 } [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `unwrap_unchecked(...)` to keep using the current method [INFO] [stdout] = help: add `#![feature(option_result_unwrap_unchecked)]` to the crate attributes to enable `Option::::unwrap_unchecked` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: an associated function with this name may be added to the standard library in the future [INFO] [stdout] --> libs/frontend/src/analyzer/mod.rs:137:45 [INFO] [stdout] | [INFO] [stdout] 137 | unsafe { *self.active_mod_and_ns.last().unwrap_unchecked().1.last().unwrap_unchecked() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `unwrap_unchecked(...)` to keep using the current method [INFO] [stdout] = help: add `#![feature(option_result_unwrap_unchecked)]` to the crate attributes to enable `Option::::unwrap_unchecked` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: an associated function with this name may be added to the standard library in the future [INFO] [stdout] --> libs/frontend/src/analyzer/mod.rs:137:73 [INFO] [stdout] | [INFO] [stdout] 137 | unsafe { *self.active_mod_and_ns.last().unwrap_unchecked().1.last().unwrap_unchecked() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `unwrap_unchecked(...)` to keep using the current method [INFO] [stdout] = help: add `#![feature(option_result_unwrap_unchecked)]` to the crate attributes to enable `Option::::unwrap_unchecked` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `expect_none` found for enum `Option` in the current scope [INFO] [stdout] --> libs/frontend/src/analyzer/mod.rs:156:57 [INFO] [stdout] | [INFO] [stdout] 156 | self.local_context.replace(LocalContext::default()).expect_none("Internal error, cannot create LocalContext, one already exists"); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: an associated function with this name may be added to the standard library in the future [INFO] [stdout] --> libs/frontend/src/analyzer/mod.rs:157:42 [INFO] [stdout] | [INFO] [stdout] 157 | unsafe { self.local_context.as_mut().unwrap_unchecked() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `unwrap_unchecked(...)` to keep using the current method [INFO] [stdout] = help: add `#![feature(option_result_unwrap_unchecked)]` to the crate attributes to enable `Option::::unwrap_unchecked` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `expect_none` found for enum `Option` in the current scope [INFO] [stdout] --> libs/frontend/src/analyzer/mod.rs:249:57 [INFO] [stdout] | [INFO] [stdout] 249 | self.context.modules.insert(identifier, module_key).expect_none("Internal error, overwrote existing Module"); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [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" "de9db97aaa4981231cd237f5791062f425ef9914765664e0e53d9a505d486e50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de9db97aaa4981231cd237f5791062f425ef9914765664e0e53d9a505d486e50", kill_on_drop: false }` [INFO] [stdout] de9db97aaa4981231cd237f5791062f425ef9914765664e0e53d9a505d486e50