[INFO] fetching crate rstsc 0.1.0... [INFO] testing rstsc-0.1.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate rstsc 0.1.0 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate rstsc 0.1.0 [INFO] finished tweaking crates.io crate rstsc 0.1.0 [INFO] tweaked toml for crates.io crate rstsc 0.1.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rstsc 0.1.0 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate rstsc 0.1.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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded indexvec v0.5.4 [INFO] [stderr] Downloaded typescript_tsconfig_json v0.1.4 [INFO] [stderr] Downloaded json-strip-comments v1.0.2 [INFO] [stderr] Downloaded nodejs_package_json v0.2.0 [INFO] [stderr] Downloaded bpaf_derive v0.5.10 [INFO] [stderr] Downloaded oxc_resolver v1.6.5 [INFO] [stderr] Downloaded bpaf v0.9.11 [INFO] [stderr] Downloaded scc v2.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5dce62dd534467c499826c3eac76e5f4ca992e04b42c81d53c77f57da020df4b [INFO] running `Command { std: "docker" "start" "-a" "5dce62dd534467c499826c3eac76e5f4ca992e04b42c81d53c77f57da020df4b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5dce62dd534467c499826c3eac76e5f4ca992e04b42c81d53c77f57da020df4b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5dce62dd534467c499826c3eac76e5f4ca992e04b42c81d53c77f57da020df4b", kill_on_drop: false }` [INFO] [stdout] 5dce62dd534467c499826c3eac76e5f4ca992e04b42c81d53c77f57da020df4b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9dc8bc5f02db03de317e40893d8ac8b97916b54c083372f987a849749b007888 [INFO] running `Command { std: "docker" "start" "-a" "9dc8bc5f02db03de317e40893d8ac8b97916b54c083372f987a849749b007888", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling serde v1.0.199 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling serde_json v1.0.116 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling ryu v1.0.17 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling thiserror v1.0.59 [INFO] [stderr] Compiling cc v1.0.95 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling gimli v0.28.1 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Compiling semver v1.0.22 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling miniz_oxide v0.7.2 [INFO] [stderr] Compiling memoffset v0.8.0 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling schemars v0.8.16 [INFO] [stderr] Compiling rustc-demangle v0.1.23 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Compiling object v0.32.2 [INFO] [stderr] Compiling unicode-width v0.1.11 [INFO] [stderr] Compiling biome_diagnostics_categories v0.5.7 [INFO] [stderr] Compiling backtrace v0.3.71 [INFO] [stderr] Compiling similar v2.5.0 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling clean-path v0.2.1 [INFO] [stderr] Compiling dashmap v5.5.3 [INFO] [stderr] Compiling biome_markup v0.5.7 [INFO] [stderr] Compiling json-strip-comments v1.0.2 [INFO] [stderr] Compiling dunce v1.0.4 [INFO] [stderr] Compiling countme v3.0.1 [INFO] [stderr] Compiling rustix v0.38.33 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling rustversion v1.0.15 [INFO] [stderr] Compiling addr2line v0.21.0 [INFO] [stderr] Compiling drop_bomb v0.1.5 [INFO] [stderr] Compiling anyhow v1.0.82 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling supports-color v3.0.0 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling textwrap v0.16.1 [INFO] [stderr] Compiling serde_derive_internals v0.26.0 [INFO] [stderr] Compiling terminal_size v0.3.0 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling supports-hyperlinks v3.0.0 [INFO] [stderr] Compiling owo-colors v4.0.0 [INFO] [stderr] Compiling unicode-bom v2.0.3 [INFO] [stderr] Compiling sdd v0.2.0 [INFO] [stderr] Compiling biome_unicode_table v0.5.7 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling scc v2.1.0 [INFO] [stderr] Compiling schemars_derive v0.8.16 [INFO] [stderr] Compiling biome_diagnostics_macros v0.5.7 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling backtrace-ext v0.2.1 [INFO] [stderr] Compiling id-arena v2.2.1 [INFO] [stderr] Compiling strum v0.26.2 [INFO] [stderr] Compiling indexvec v0.5.4 [INFO] [stderr] Compiling serde_derive v1.0.199 [INFO] [stderr] Compiling thiserror-impl v1.0.59 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling bpaf_derive v0.5.10 [INFO] [stderr] Compiling miette-derive v7.2.0 [INFO] [stderr] Compiling derive-new v0.6.0 [INFO] [stderr] Compiling strum_macros v0.26.2 [INFO] [stderr] Compiling bpaf v0.9.11 [INFO] [stderr] Compiling miette v7.2.0 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling biome_text_size v0.5.7 [INFO] [stderr] Compiling biome_text_edit v0.5.7 [INFO] [stderr] Compiling biome_rowan v0.5.7 [INFO] [stderr] Compiling nodejs_package_json v0.2.0 [INFO] [stderr] Compiling typescript_tsconfig_json v0.1.4 [INFO] [stderr] Compiling oxc_resolver v1.6.5 [INFO] [stderr] Compiling biome_console v0.5.7 [INFO] [stderr] Compiling biome_diagnostics v0.5.7 [INFO] [stderr] Compiling biome_js_syntax v0.5.7 [INFO] [stderr] Compiling biome_parser v0.5.7 [INFO] [stderr] Compiling biome_js_factory v0.5.7 [INFO] [stderr] Compiling biome_js_parser v0.5.7 [INFO] [stderr] Compiling rstsc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/binder.rs:89:20 [INFO] [stdout] | [INFO] [stdout] 89 | if let Some(symbol_id) = module_symbol && let Some(symbol) = self.symbol_table.get_symbol_mut(symbol_id){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/binder.rs:89:60 [INFO] [stdout] | [INFO] [stdout] 89 | if let Some(symbol_id) = module_symbol && let Some(symbol) = self.symbol_table.get_symbol_mut(symbol_id){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/type_checker/check_function.rs:27:16 [INFO] [stdout] | [INFO] [stdout] 27 | if let Some(callee_type) = callee_type [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/type_checker/check_function.rs:28:20 [INFO] [stdout] | [INFO] [stdout] 28 | && let Type::Function(fn_type) = callee_type [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/type_checker/check_visitors.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | if let Some(root) = AnyJsRoot::cast(self.ast.clone()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/type_checker/check_visitors.rs:43:16 [INFO] [stdout] | [INFO] [stdout] 43 | && let AnyJsRoot::JsModule(module) = root [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/type_checker/check_visitors.rs:154:16 [INFO] [stdout] | [INFO] [stdout] 154 | if let Some(symbol_links) = symbol_id.get_symbol_links(self) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: let chains are only allowed in Rust 2024 or later [INFO] [stdout] --> src/type_checker/check_visitors.rs:155:20 [INFO] [stdout] | [INFO] [stdout] 155 | && let Some(value_type) = symbol_links.value_type [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/diagnostic.rs:3:27 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn fancy_print(diag: &(dyn Diagnostic)) -> String { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 3 - pub fn fancy_print(diag: &(dyn Diagnostic)) -> String { [INFO] [stdout] 3 + pub fn fancy_print(diag: &dyn Diagnostic) -> String { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `let_chains` has been stable since 1.88.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(let_chains)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `root_names` [INFO] [stdout] --> src/program.rs:4:23 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn create_program(root_names: Vec, compiler_options: CompilerOptions){ [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_root_names` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `compiler_options` [INFO] [stdout] --> src/program.rs:4:48 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn create_program(root_names: Vec, compiler_options: CompilerOptions){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_compiler_options` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rstsc` (lib) due to 8 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "9dc8bc5f02db03de317e40893d8ac8b97916b54c083372f987a849749b007888", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9dc8bc5f02db03de317e40893d8ac8b97916b54c083372f987a849749b007888", kill_on_drop: false }` [INFO] [stdout] 9dc8bc5f02db03de317e40893d8ac8b97916b54c083372f987a849749b007888