[INFO] cloning repository https://github.com/wabain/rstarc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wabain/rstarc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwabain%2Frstarc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwabain%2Frstarc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 23eaa46d645db49f6da854e558b4a9b8adc25f3c [INFO] testing wabain/rstarc against try#a7ce54db9b096bd1098d07c645b489195a667c9f for pr-137940-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwabain%2Frstarc" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/wabain/rstarc on toolchain a7ce54db9b096bd1098d07c645b489195a667c9f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/wabain/rstarc [INFO] finished tweaking git repo https://github.com/wabain/rstarc [INFO] tweaked toml for git repo https://github.com/wabain/rstarc written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/wabain/rstarc 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" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: /workspace/builds/worker-5-tc2/source/crates/rstarc_types/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /workspace/builds/worker-5-tc2/source/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 81177e0aee2c9342ba522cacf06f245b70af5c18b8875095f21ffd118109d821 [INFO] running `Command { std: "docker" "start" "-a" "81177e0aee2c9342ba522cacf06f245b70af5c18b8875095f21ffd118109d821", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "81177e0aee2c9342ba522cacf06f245b70af5c18b8875095f21ffd118109d821", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "81177e0aee2c9342ba522cacf06f245b70af5c18b8875095f21ffd118109d821", kill_on_drop: false }` [INFO] [stdout] 81177e0aee2c9342ba522cacf06f245b70af5c18b8875095f21ffd118109d821 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d713da07d09043c94978251ae04bbfa301fe93b2625db947cad8b5d7d064af23 [INFO] running `Command { std: "docker" "start" "-a" "d713da07d09043c94978251ae04bbfa301fe93b2625db947cad8b5d7d064af23", kill_on_drop: false }` [INFO] [stderr] warning: /opt/rustwide/workdir/crates/rstarc_types/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /opt/rustwide/workdir/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libc v0.2.42 [INFO] [stderr] Compiling cfg-if v0.1.6 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling ucd-util v0.1.1 [INFO] [stderr] Compiling typenum v1.10.0 [INFO] [stderr] Compiling utf8-ranges v1.0.1 [INFO] [stderr] Compiling siphasher v0.2.2 [INFO] [stderr] Compiling string_cache_shared v0.3.0 [INFO] [stderr] Compiling serde v1.0.70 [INFO] [stderr] Compiling byte-tools v0.3.0 [INFO] [stderr] Compiling byteorder v1.2.7 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling regex v1.0.5 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling proc-macro2 v0.3.8 [INFO] [stderr] Compiling proc-macro2 v0.4.9 [INFO] [stderr] Compiling block-padding v0.1.2 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling strsim v0.7.0 [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stderr] Compiling regex-syntax v0.6.2 [INFO] [stderr] Compiling phf_shared v0.7.22 [INFO] [stderr] Compiling new_debug_unreachable v1.0.1 [INFO] [stderr] Compiling log v0.4.5 [INFO] [stderr] Compiling fixedbitset v0.1.9 [INFO] [stderr] Compiling gcc v0.3.54 [INFO] [stderr] Compiling ordermap v0.3.5 [INFO] [stderr] Compiling bit-vec v0.5.0 [INFO] [stderr] Compiling either v1.5.0 [INFO] [stderr] Compiling quote v0.6.4 [INFO] [stderr] Compiling memchr v2.1.0 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling syn v0.14.5 [INFO] [stderr] Compiling opaque-debug v0.2.1 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling term v0.4.6 [INFO] [stderr] Compiling itertools v0.7.8 [INFO] [stderr] Compiling rand v0.4.2 [INFO] [stderr] Compiling quote v0.5.2 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling bit-set v0.5.0 [INFO] [stderr] Compiling petgraph v0.4.13 [INFO] [stderr] Compiling ena v0.10.1 [INFO] [stderr] Compiling diff v0.1.11 [INFO] [stderr] Compiling lalrpop-util v0.16.1 [INFO] [stderr] Compiling textwrap v0.10.0 [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling remove_dir_all v0.5.1 [INFO] [stderr] Compiling bitflags v1.0.3 [INFO] [stderr] Compiling aho-corasick v0.6.8 [INFO] [stderr] Compiling clap v2.32.0 [INFO] [stderr] Compiling bytes v0.4.10 [INFO] [stderr] Compiling smallvec v1.2.0 [INFO] [stderr] Compiling rstarc_types v0.1.0 (/opt/rustwide/workdir/crates/rstarc_types) [INFO] [stderr] Compiling ascii-canvas v1.0.0 [INFO] [stderr] Compiling phf_generator v0.7.22 [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Compiling string_cache_codegen v0.4.1 [INFO] [stderr] Compiling generic-array v0.12.0 [INFO] [stderr] Compiling string_cache v0.7.3 [INFO] [stderr] Compiling digest v0.8.0 [INFO] [stderr] Compiling block-buffer v0.7.0 [INFO] [stderr] Compiling sha2 v0.8.0 [INFO] [stderr] Compiling serde_derive v1.0.70 [INFO] [stderr] Compiling llvm-sys v60.1.0 [INFO] [stderr] Compiling docopt v1.0.1 [INFO] [stderr] Compiling lalrpop v0.16.1 [INFO] [stderr] Compiling rstarc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | #[macro_use] extern crate smallvec; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/base_analysis/scoping.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 108 | (0..self.scope_data.len() as ScopeId) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 108 - (0..self.scope_data.len() as ScopeId) [INFO] [stdout] 108 + 0..self.scope_data.len() as ScopeId [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/codegen/simple_ir.rs:808:10 [INFO] [stdout] | [INFO] [stdout] 808 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/syntax/ast_print.rs:78:28 [INFO] [stdout] | [INFO] [stdout] 78 | fn ast_print(&self, &mut W, indent: usize) -> io::Result<()> where W: io::Write; [INFO] [stdout] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut W` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/syntax/ast_walker.rs:48:35 [INFO] [stdout] | [INFO] [stdout] 48 | fn visit_statement(&mut self, &'prog Statement) -> Result<(), Self::Error>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &'prog Statement` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/syntax/pretty_print.rs:41:31 [INFO] [stdout] | [INFO] [stdout] 41 | fn pretty_print(&self, &mut W) -> io::Result<()> where W: io::Write; [INFO] [stdout] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut W` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/rstarc-4db9c54760d5ede8/out/syntax/parser.rs:4047:5 [INFO] [stdout] | [INFO] [stdout] 4047 | (__0) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 4047 - (__0) [INFO] [stdout] 4047 + __0 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `has_closure` is never used [INFO] [stdout] --> src/codegen/simple_ir.rs:382:8 [INFO] [stdout] | [INFO] [stdout] 381 | pub (super) trait IRClosure<'prog> { [INFO] [stdout] | --------- method in this trait [INFO] [stdout] 382 | fn has_closure(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `path` is never read [INFO] [stdout] --> src/codegen/closure_layout.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub(super) struct CaptureSlot<'prog> { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 21 | scope_id: ScopeId, [INFO] [stdout] 22 | path: SmallVec<[u32; 4]>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CaptureSlot` has derived impls for the traits `Default` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `scope_id` is never read [INFO] [stdout] --> src/codegen/closure_layout.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub(super) struct ClosureLayout<'prog> { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 28 | scope_id: ScopeId, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ClosureLayout` has derived impls for the traits `Default` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/interpreter.rs:368:13 [INFO] [stdout] | [INFO] [stdout] 368 | mem::replace(&mut self.scope, old_scope); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 368 | let _ = mem::replace(&mut self.scope, old_scope); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 26.38s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: lalrpop v0.16.1, syn v0.14.5 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "d713da07d09043c94978251ae04bbfa301fe93b2625db947cad8b5d7d064af23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d713da07d09043c94978251ae04bbfa301fe93b2625db947cad8b5d7d064af23", kill_on_drop: false }` [INFO] [stdout] d713da07d09043c94978251ae04bbfa301fe93b2625db947cad8b5d7d064af23 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 235ea5f2db4487c3886f2e50722b6972fa99b49e0b8b8049928f59c604e306fe [INFO] running `Command { std: "docker" "start" "-a" "235ea5f2db4487c3886f2e50722b6972fa99b49e0b8b8049928f59c604e306fe", kill_on_drop: false }` [INFO] [stderr] warning: /opt/rustwide/workdir/crates/rstarc_types/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /opt/rustwide/workdir/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling rstarc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | #[macro_use] extern crate smallvec; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/base_analysis/scoping.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 108 | (0..self.scope_data.len() as ScopeId) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 108 - (0..self.scope_data.len() as ScopeId) [INFO] [stdout] 108 + 0..self.scope_data.len() as ScopeId [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/codegen/simple_ir.rs:808:10 [INFO] [stdout] | [INFO] [stdout] 808 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/syntax/ast_print.rs:78:28 [INFO] [stdout] | [INFO] [stdout] 78 | fn ast_print(&self, &mut W, indent: usize) -> io::Result<()> where W: io::Write; [INFO] [stdout] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut W` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/syntax/ast_walker.rs:48:35 [INFO] [stdout] | [INFO] [stdout] 48 | fn visit_statement(&mut self, &'prog Statement) -> Result<(), Self::Error>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &'prog Statement` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/syntax/pretty_print.rs:41:31 [INFO] [stdout] | [INFO] [stdout] 41 | fn pretty_print(&self, &mut W) -> io::Result<()> where W: io::Write; [INFO] [stdout] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut W` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/rstarc-4db9c54760d5ede8/out/syntax/parser.rs:4047:5 [INFO] [stdout] | [INFO] [stdout] 4047 | (__0) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 4047 - (__0) [INFO] [stdout] 4047 + __0 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `has_closure` is never used [INFO] [stdout] --> src/codegen/simple_ir.rs:382:8 [INFO] [stdout] | [INFO] [stdout] 381 | pub (super) trait IRClosure<'prog> { [INFO] [stdout] | --------- method in this trait [INFO] [stdout] 382 | fn has_closure(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `path` is never read [INFO] [stdout] --> src/codegen/closure_layout.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub(super) struct CaptureSlot<'prog> { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 21 | scope_id: ScopeId, [INFO] [stdout] 22 | path: SmallVec<[u32; 4]>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CaptureSlot` has derived impls for the traits `Default` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `scope_id` is never read [INFO] [stdout] --> src/codegen/closure_layout.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub(super) struct ClosureLayout<'prog> { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 28 | scope_id: ScopeId, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ClosureLayout` has derived impls for the traits `Default` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/interpreter.rs:368:13 [INFO] [stdout] | [INFO] [stdout] 368 | mem::replace(&mut self.scope, old_scope); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 368 | let _ = mem::replace(&mut self.scope, old_scope); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.65s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: lalrpop v0.16.1, syn v0.14.5 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "235ea5f2db4487c3886f2e50722b6972fa99b49e0b8b8049928f59c604e306fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "235ea5f2db4487c3886f2e50722b6972fa99b49e0b8b8049928f59c604e306fe", kill_on_drop: false }` [INFO] [stdout] 235ea5f2db4487c3886f2e50722b6972fa99b49e0b8b8049928f59c604e306fe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ec47ad0689e4d51b0845011777251cedf97fa6434263c54fcf9915ab0660db7e [INFO] running `Command { std: "docker" "start" "-a" "ec47ad0689e4d51b0845011777251cedf97fa6434263c54fcf9915ab0660db7e", kill_on_drop: false }` [INFO] [stderr] warning: /opt/rustwide/workdir/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /opt/rustwide/workdir/crates/rstarc_types/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stderr] --> src/main.rs:10:1 [INFO] [stderr] | [INFO] [stderr] 10 | #[macro_use] extern crate smallvec; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> src/base_analysis/scoping.rs:108:9 [INFO] [stderr] | [INFO] [stderr] 108 | (0..self.scope_data.len() as ScopeId) [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 108 - (0..self.scope_data.len() as ScopeId) [INFO] [stderr] 108 + 0..self.scope_data.len() as ScopeId [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary trailing semicolon [INFO] [stderr] --> src/codegen/simple_ir.rs:808:10 [INFO] [stderr] | [INFO] [stderr] 808 | }; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/syntax/ast_print.rs:78:28 [INFO] [stderr] | [INFO] [stderr] 78 | fn ast_print(&self, &mut W, indent: usize) -> io::Result<()> where W: io::Write; [INFO] [stderr] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut W` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/syntax/ast_walker.rs:48:35 [INFO] [stderr] | [INFO] [stderr] 48 | fn visit_statement(&mut self, &'prog Statement) -> Result<(), Self::Error>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &'prog Statement` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/syntax/pretty_print.rs:41:31 [INFO] [stderr] | [INFO] [stderr] 41 | fn pretty_print(&self, &mut W) -> io::Result<()> where W: io::Write; [INFO] [stderr] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut W` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> /opt/rustwide/target/debug/build/rstarc-4db9c54760d5ede8/out/syntax/parser.rs:4047:5 [INFO] [stderr] | [INFO] [stderr] 4047 | (__0) [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 4047 - (__0) [INFO] [stderr] 4047 + __0 [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: method `has_closure` is never used [INFO] [stderr] --> src/codegen/simple_ir.rs:382:8 [INFO] [stderr] | [INFO] [stderr] 381 | pub (super) trait IRClosure<'prog> { [INFO] [stderr] | --------- method in this trait [INFO] [stderr] 382 | fn has_closure(&self) -> bool { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `path` is never read [INFO] [stderr] --> src/codegen/closure_layout.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 20 | pub(super) struct CaptureSlot<'prog> { [INFO] [stderr] | ----------- field in this struct [INFO] [stderr] 21 | scope_id: ScopeId, [INFO] [stderr] 22 | path: SmallVec<[u32; 4]>, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `CaptureSlot` has derived impls for the traits `Default` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `scope_id` is never read [INFO] [stderr] --> src/codegen/closure_layout.rs:28:5 [INFO] [stderr] | [INFO] [stderr] 27 | pub(super) struct ClosureLayout<'prog> { [INFO] [stderr] | ------------- field in this struct [INFO] [stderr] 28 | scope_id: ScopeId, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ClosureLayout` has derived impls for the traits `Default` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used [INFO] [stderr] --> src/interpreter.rs:368:13 [INFO] [stderr] | [INFO] [stderr] 368 | mem::replace(&mut self.scope, old_scope); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 368 | let _ = mem::replace(&mut self.scope, old_scope); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: `rstarc` (bin "rstarc" test) generated 11 warnings (run `cargo fix --bin "rstarc" --tests` to apply 5 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: lalrpop v0.16.1, syn v0.14.5 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rstarc-6eab8ff495bbf1c3) [INFO] [stdout] [INFO] [stdout] running 25 tests [INFO] [stdout] test main_test::test_run_compile ... ok [INFO] [stdout] test main_test::test_build_emit_none ... ok [INFO] [stdout] test main_test::test_build_emit_only_obj ... ok [INFO] [stdout] test main_test::test_build_exec ... ok [INFO] [stdout] test main_test::test_run_compile_emit_exec ... ok [INFO] [stdout] test main_test::test_run_interpret ... ok [INFO] [stdout] test syntax::lexer::test::parse_literal_number ... ok [INFO] [stdout] test syntax::lexer::test::tokenize_newlines ... ok [INFO] [stdout] test syntax::source_loc::test::char_bounds ... ok [INFO] [stdout] test syntax::source_loc::test::newline_bounds ... ok [INFO] [stdout] test syntax::lexer::test::parse_long_loop_controls ... ok [INFO] [stdout] test syntax::lexer::test::insert_block_terminations_at_eof ... ok [INFO] [stdout] test syntax::lexer::test::parse_aint ... ok [INFO] [stdout] test syntax::lexer::test::parse_poetic_number_without_dec_place ... ok [INFO] [stdout] test syntax::lexer::test::lexing_errors ... ok [INFO] [stdout] test syntax::lexer::test::drop_commas_before_eol ... ok [INFO] [stdout] test syntax::lexer::test::parse_poetic_number_with_dec_place ... ok [INFO] [stdout] test syntax::lexer::test::parse_apostrophe ... ok [INFO] [stdout] test syntax::lexer::test::insert_final_newline ... ok [INFO] [stdout] test syntax::lexer::test::apos_s_at_end_of_word ... ok [INFO] [stdout] test syntax::lexer::test::parse_poetic_string ... ok [INFO] [stdout] test syntax::lexer::test::handle_comments ... ok [INFO] [stdout] test syntax::lexer::test::parse_proper_var ... ok [INFO] [stdout] test syntax::lexer::test::apos_s_with_space_before ... ok [INFO] [stdout] test codegen::simple_ir::test::verify_ir_double_write_temporary - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 25 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "ec47ad0689e4d51b0845011777251cedf97fa6434263c54fcf9915ab0660db7e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec47ad0689e4d51b0845011777251cedf97fa6434263c54fcf9915ab0660db7e", kill_on_drop: false }` [INFO] [stdout] ec47ad0689e4d51b0845011777251cedf97fa6434263c54fcf9915ab0660db7e