[INFO] fetching crate swamp-compile 0.2.26... [INFO] testing swamp-compile-0.2.26 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate swamp-compile 0.2.26 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate swamp-compile 0.2.26 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate swamp-compile 0.2.26 [INFO] tweaked toml for crates.io crate swamp-compile 0.2.26 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate swamp-compile 0.2.26 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate swamp-compile 0.2.26 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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fd9b572346487194b00b5bcbc160673dd53b76e90c2772988bec292e8516ad8a [INFO] running `Command { std: "docker" "start" "-a" "fd9b572346487194b00b5bcbc160673dd53b76e90c2772988bec292e8516ad8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fd9b572346487194b00b5bcbc160673dd53b76e90c2772988bec292e8516ad8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd9b572346487194b00b5bcbc160673dd53b76e90c2772988bec292e8516ad8a", kill_on_drop: false }` [INFO] [stdout] fd9b572346487194b00b5bcbc160673dd53b76e90c2772988bec292e8516ad8a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eb8a7a6b9c975109562d742979990cce9d0af0c46dea713bea5cdf55d0ea5350 [INFO] running `Command { std: "docker" "start" "-a" "eb8a7a6b9c975109562d742979990cce9d0af0c46dea713bea5cdf55d0ea5350", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.17 [INFO] [stderr] Compiling once_cell v1.20.3 [INFO] [stderr] Compiling source-map-node v0.0.1 [INFO] [stderr] Compiling seq-map v0.0.14 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling seq-fmt v0.0.1 [INFO] [stderr] Compiling fixed32 v0.0.18 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling swamp-symbol v0.2.26 [INFO] [stderr] Compiling swamp-attributes v0.2.26 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling swamp-types v0.2.26 [INFO] [stderr] Compiling swamp-refs v0.2.26 [INFO] [stderr] Compiling pathdiff v0.2.3 [INFO] [stderr] Compiling tiny-ver v0.1.2 [INFO] [stderr] Compiling source-map-cache v0.0.6 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling swamp-ast v0.2.26 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling dirs-sys v0.5.0 [INFO] [stderr] Compiling hashmap-mem v0.2.0 [INFO] [stderr] Compiling seq-set v0.0.2 [INFO] [stderr] Compiling time-dilation v0.1.11 [INFO] [stderr] Compiling dirs v6.0.0 [INFO] [stderr] Compiling tinter v0.1.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling swamp-vm-isa v0.2.26 [INFO] [stderr] Compiling sparse-mem v0.2.0 [INFO] [stderr] Compiling squirrel-prng v0.0.1 [INFO] [stderr] Compiling eira v0.1.10 [INFO] [stderr] Compiling swamp-vm v0.2.26 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling swamp-semantic v0.2.26 [INFO] [stderr] Compiling swamp-vm-types v0.2.26 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling pest v2.7.15 [INFO] [stderr] Compiling swamp-modules v0.2.26 [INFO] [stderr] Compiling swamp-analyzer v0.2.26 [INFO] [stderr] Compiling swamp-core v0.2.26 [INFO] [stderr] Compiling swamp-pretty-print v0.2.26 [INFO] [stderr] Compiling swamp-std v0.2.26 [INFO] [stderr] Compiling pest_meta v2.7.15 [INFO] [stderr] Compiling pest_generator v2.7.15 [INFO] [stderr] Compiling pest_derive v2.7.15 [INFO] [stderr] Compiling swamp-parser v0.2.26 [INFO] [stderr] Compiling swamp-dep-loader v0.2.26 [INFO] [stderr] Compiling swamp-program-analyzer v0.2.26 [INFO] [stderr] Compiling swamp-error-report v0.2.26 [INFO] [stderr] Compiling swamp-compile v0.2.26 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 38.23s [INFO] running `Command { std: "docker" "inspect" "eb8a7a6b9c975109562d742979990cce9d0af0c46dea713bea5cdf55d0ea5350", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb8a7a6b9c975109562d742979990cce9d0af0c46dea713bea5cdf55d0ea5350", kill_on_drop: false }` [INFO] [stdout] eb8a7a6b9c975109562d742979990cce9d0af0c46dea713bea5cdf55d0ea5350 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1915660d9c57afe85948a0c7a1205d0ae26c4b513b6dcbe0612b4ca5e899e927 [INFO] running `Command { std: "docker" "start" "-a" "1915660d9c57afe85948a0c7a1205d0ae26c4b513b6dcbe0612b4ca5e899e927", kill_on_drop: false }` [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling anstyle-parse v0.2.6 [INFO] [stderr] Compiling anstyle-query v1.1.2 [INFO] [stderr] Compiling colorchoice v1.0.3 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling test-log-macros v0.2.17 [INFO] [stderr] Compiling env_filter v0.1.3 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling swamp-semantic v0.2.26 [INFO] [stderr] Compiling swamp-parser v0.2.26 [INFO] [stderr] Compiling swamp-vm-types v0.2.26 [INFO] [stderr] Compiling env_logger v0.11.6 [INFO] [stderr] Compiling swamp-modules v0.2.26 [INFO] [stderr] Compiling swamp-analyzer v0.2.26 [INFO] [stderr] Compiling swamp-pretty-print v0.2.26 [INFO] [stderr] Compiling swamp-core v0.2.26 [INFO] [stderr] Compiling swamp-std v0.2.26 [INFO] [stderr] Compiling swamp-dep-loader v0.2.26 [INFO] [stderr] Compiling swamp-program-analyzer v0.2.26 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling swamp-error-report v0.2.26 [INFO] [stderr] Compiling swamp-compile v0.2.26 (/opt/rustwide/workdir) [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling test-log v0.2.17 [INFO] [stdout] warning: function `should_fail` is never used [INFO] [stdout] --> tests/util.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn should_fail(script: &str, expected_error_message: &str) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `should_hint` is never used [INFO] [stdout] --> tests/util.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn should_hint(script: &str, expected_error_message: &str) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `should_hint` is never used [INFO] [stdout] --> tests/util.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn should_hint(script: &str, expected_error_message: &str) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 23.45s [INFO] running `Command { std: "docker" "inspect" "1915660d9c57afe85948a0c7a1205d0ae26c4b513b6dcbe0612b4ca5e899e927", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1915660d9c57afe85948a0c7a1205d0ae26c4b513b6dcbe0612b4ca5e899e927", kill_on_drop: false }` [INFO] [stdout] 1915660d9c57afe85948a0c7a1205d0ae26c4b513b6dcbe0612b4ca5e899e927 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0c48fd636290e059ef7a7a45d2e9eba5469f346c4616e417eb5a35b4d8e9871c [INFO] running `Command { std: "docker" "start" "-a" "0c48fd636290e059ef7a7a45d2e9eba5469f346c4616e417eb5a35b4d8e9871c", kill_on_drop: false }` [INFO] [stderr] warning: function `should_fail` is never used [INFO] [stderr] --> tests/util.rs:35:8 [INFO] [stderr] | [INFO] [stderr] 35 | pub fn should_fail(script: &str, expected_error_message: &str) { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `should_hint` is never used [INFO] [stderr] --> tests/util.rs:50:8 [INFO] [stderr] | [INFO] [stderr] 50 | pub fn should_hint(script: &str, expected_error_message: &str) { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `swamp-compile` (test "pattern_matching") generated 2 warnings [INFO] [stderr] warning: function `should_hint` is never used [INFO] [stderr] --> tests/util.rs:50:8 [INFO] [stderr] | [INFO] [stderr] 50 | pub fn should_hint(script: &str, expected_error_message: &str) { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `swamp-compile` (test "analyze") generated 1 warning [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.13s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/swamp_compile-69e603a3257c83dd) [INFO] [stderr] Running tests/analyze.rs (/opt/rustwide/target/debug/deps/analyze-de8d29e9bb343746) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stderr] error[A23]: expression needs storage (lvalue) [INFO] [stderr] --> ../../../tmp/test.swamp:2:16 [INFO] [stderr] [INFO] [stderr] 2 | struct Atest { [INFO] [stderr]  · ──┬── [INFO] [stderr]  · ╰── expression needs storage (lvalue) [INFO] [stderr] note[100]:  [INFO] [stdout] test fail_not_storage_in_struct ... ok [INFO] [stdout] test bytes ... ok [INFO] [stderr] error[A9905]: invalid operator after optional chaining (?) [INFO] [stderr] --> ../../../tmp/test.swamp:4:14 [INFO] [stderr] [INFO] [stderr] 4 | b = a? [INFO] [stderr]  · ───┬─── [INFO] [stderr]  · ╰── invalid operator after optional chaining (?) [INFO] [stderr] note[100]: only field access, method calls, or subscripts are allowed after ? [INFO] [stderr] error[A46]: variable type must be at least storage or string view (ephemeral) [INFO] [stderr] --> ../../../tmp/test.swamp:4:9 [INFO] [stderr] [INFO] [stderr] 4 | b = a? [INFO] [stderr]  · ┬ [INFO] [stdout] test not_allowed_with_ending_optional_chaining ... ok [INFO] [stderr]  · ╰── variable type must be at least storage or string view (ephemeral) [INFO] [stderr] note[100]: encountered_type: () [INFO] [stderr] error[A23]: incompatible types [INFO] [stderr] --> ../../../tmp/test.swamp:12:25 [INFO] [stderr] [INFO] [stderr] 12 | a: Vec = give_out_vec() [INFO] [stderr]  · ──────┬─────── [INFO] [stderr]  · ╰─── incompatible types [INFO] [stderr] note[100]: required_type: Vec, encountered type: Vec [INFO] [stderr] error[A23]: incompatible types [INFO] [stderr] --> ../../../tmp/test.swamp:12:25 [INFO] [stderr] [INFO] [stderr] 12 | a: Vec = give_out_vec() [INFO] [stderr]  · ──────┬─────── [INFO] [stderr]  · ╰─── incompatible types [INFO] [stderr] note[100]: required_type: Vec, encountered type: () [INFO] [stdout] test fail_different_types_assignment ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.14s [INFO] [stdout] [INFO] [stderr] Running tests/pattern_matching.rs (/opt/rustwide/target/debug/deps/pattern_matching-c3e5fb311aa72d93) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test test_enum_pattern_struct_destructuring ... ok [INFO] [stdout] test test_enum_pattern_tuple_destructuring ... ok [INFO] [stdout] test test_enum_pattern_simple_payload ... ok [INFO] [stdout] test test_enum_pattern_no_payload ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.27s [INFO] [stdout] [INFO] [stderr] Running tests/util.rs (/opt/rustwide/target/debug/deps/util-29cd2fdcfeead741) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests swamp_compile [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "0c48fd636290e059ef7a7a45d2e9eba5469f346c4616e417eb5a35b4d8e9871c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c48fd636290e059ef7a7a45d2e9eba5469f346c4616e417eb5a35b4d8e9871c", kill_on_drop: false }` [INFO] [stdout] 0c48fd636290e059ef7a7a45d2e9eba5469f346c4616e417eb5a35b4d8e9871c