[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 beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwabain%2Frstarc" "/workspace/builds/worker-21/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-21/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/wabain/rstarc on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-21/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: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bcb0297d62c838ab0165abb19bb64955348a0c141a47b38b27133829f9e9ebf6 [INFO] running `Command { std: "docker" "start" "-a" "bcb0297d62c838ab0165abb19bb64955348a0c141a47b38b27133829f9e9ebf6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bcb0297d62c838ab0165abb19bb64955348a0c141a47b38b27133829f9e9ebf6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bcb0297d62c838ab0165abb19bb64955348a0c141a47b38b27133829f9e9ebf6", kill_on_drop: false }` [INFO] [stdout] bcb0297d62c838ab0165abb19bb64955348a0c141a47b38b27133829f9e9ebf6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c957bd7cfa8e6ae04a5b11dfed79c9dd2a66123e4885082ca9a60ffb34cb1d3e [INFO] running `Command { std: "docker" "start" "-a" "c957bd7cfa8e6ae04a5b11dfed79c9dd2a66123e4885082ca9a60ffb34cb1d3e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.42 [INFO] [stderr] Compiling cfg-if v0.1.6 [INFO] [stderr] Compiling ucd-util v0.1.1 [INFO] [stderr] Compiling siphasher v0.2.2 [INFO] [stderr] Compiling utf8-ranges v1.0.1 [INFO] [stderr] Compiling serde v1.0.70 [INFO] [stderr] Compiling string_cache_shared v0.3.0 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling byte-tools v0.3.0 [INFO] [stderr] Compiling regex v1.0.5 [INFO] [stderr] Compiling byteorder v1.2.7 [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 term v0.4.6 [INFO] [stderr] Compiling gcc v0.3.54 [INFO] [stderr] Compiling opaque-debug v0.2.1 [INFO] [stderr] Compiling fixedbitset v0.1.9 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling lalrpop-util v0.16.1 [INFO] [stderr] Compiling diff v0.1.11 [INFO] [stderr] Compiling bitflags v1.0.3 [INFO] [stderr] Compiling smallvec v1.2.0 [INFO] [stderr] Compiling rstarc_types v0.1.0 (/opt/rustwide/workdir/crates/rstarc_types) [INFO] [stderr] Compiling memchr v2.1.0 [INFO] [stderr] Compiling proc-macro2 v0.3.8 [INFO] [stderr] Compiling proc-macro2 v0.4.9 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling generic-array v0.12.0 [INFO] [stderr] Compiling log v0.4.5 [INFO] [stderr] Compiling regex-syntax v0.6.2 [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stderr] Compiling block-padding v0.1.2 [INFO] [stderr] Compiling phf_shared v0.7.22 [INFO] [stderr] Compiling new_debug_unreachable v1.0.1 [INFO] [stderr] Compiling itertools v0.7.8 [INFO] [stderr] Compiling ena v0.10.1 [INFO] [stderr] Compiling bit-set v0.5.0 [INFO] [stderr] Compiling rand v0.4.2 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling ascii-canvas v1.0.0 [INFO] [stderr] Compiling quote v0.5.2 [INFO] [stderr] Compiling quote v0.6.4 [INFO] [stderr] Compiling petgraph v0.4.13 [INFO] [stderr] Compiling block-buffer v0.7.0 [INFO] [stderr] Compiling digest v0.8.0 [INFO] [stderr] Compiling clap v2.32.0 [INFO] [stderr] Compiling bytes v0.4.10 [INFO] [stderr] Compiling sha2 v0.8.0 [INFO] [stderr] Compiling syn v0.14.5 [INFO] [stderr] Compiling aho-corasick v0.6.8 [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 string_cache v0.7.3 [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: 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] = note: `#[warn(anonymous_parameters)]` on by default [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/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-cb6d78d7fba455cd/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: field is never read: `path` [INFO] [stdout] --> src/codegen/closure_layout.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | path: SmallVec<[u32; 4]>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `CaptureSlot` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/codegen/closure_layout.rs:19:19 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Default, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `scope_id` [INFO] [stdout] --> src/codegen/closure_layout.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | scope_id: ScopeId, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ClosureLayout` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/codegen/closure_layout.rs:26:19 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Default, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [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: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 28.41s [INFO] running `Command { std: "docker" "inspect" "c957bd7cfa8e6ae04a5b11dfed79c9dd2a66123e4885082ca9a60ffb34cb1d3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c957bd7cfa8e6ae04a5b11dfed79c9dd2a66123e4885082ca9a60ffb34cb1d3e", kill_on_drop: false }` [INFO] [stdout] c957bd7cfa8e6ae04a5b11dfed79c9dd2a66123e4885082ca9a60ffb34cb1d3e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b28b13722468e5b86b4466b19226480593705fd3d655b012883a8697a0749cdc [INFO] running `Command { std: "docker" "start" "-a" "b28b13722468e5b86b4466b19226480593705fd3d655b012883a8697a0749cdc", kill_on_drop: false }` [INFO] [stderr] Compiling rstarc v0.1.0 (/opt/rustwide/workdir) [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] = note: `#[warn(anonymous_parameters)]` on by default [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/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-cb6d78d7fba455cd/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: field is never read: `path` [INFO] [stdout] --> src/codegen/closure_layout.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | path: SmallVec<[u32; 4]>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `CaptureSlot` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/codegen/closure_layout.rs:19:19 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Default, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `scope_id` [INFO] [stdout] --> src/codegen/closure_layout.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | scope_id: ScopeId, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ClosureLayout` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/codegen/closure_layout.rs:26:19 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Default, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [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: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.12s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/rstarc-d948ec8f304ea166) [INFO] running `Command { std: "docker" "inspect" "b28b13722468e5b86b4466b19226480593705fd3d655b012883a8697a0749cdc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b28b13722468e5b86b4466b19226480593705fd3d655b012883a8697a0749cdc", kill_on_drop: false }` [INFO] [stdout] b28b13722468e5b86b4466b19226480593705fd3d655b012883a8697a0749cdc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 5ffba6a134bc0af9ef0a41b436fcf7b5243cb31bb046753113a39e07bc077c54 [INFO] running `Command { std: "docker" "start" "-a" "5ffba6a134bc0af9ef0a41b436fcf7b5243cb31bb046753113a39e07bc077c54", kill_on_drop: false }` [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] = note: `#[warn(anonymous_parameters)]` on by default [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/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-cb6d78d7fba455cd/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: field is never read: `path` [INFO] [stderr] --> src/codegen/closure_layout.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 22 | path: SmallVec<[u32; 4]>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `CaptureSlot` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/codegen/closure_layout.rs:19:19 [INFO] [stderr] | [INFO] [stderr] 19 | #[derive(Default, Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `scope_id` [INFO] [stderr] --> src/codegen/closure_layout.rs:28:5 [INFO] [stderr] | [INFO] [stderr] 28 | scope_id: ScopeId, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ClosureLayout` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/codegen/closure_layout.rs:26:19 [INFO] [stderr] | [INFO] [stderr] 26 | #[derive(Default, Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [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: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] [INFO] [stderr] warning: `rstarc` (bin "rstarc" test) generated 9 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rstarc-d948ec8f304ea166) [INFO] [stdout] [INFO] [stdout] running 25 tests [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_build_emit_none ... ok [INFO] [stdout] test main_test::test_run_compile ... ok [INFO] [stdout] test main_test::test_run_interpret ... ok [INFO] [stdout] test main_test::test_run_compile_emit_exec ... 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::tokenize_newlines ... ok [INFO] [stdout] test syntax::lexer::test::parse_literal_number ... ok [INFO] [stdout] test codegen::simple_ir::test::verify_ir_double_write_temporary - should panic ... 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::insert_final_newline ... ok [INFO] [stdout] test syntax::lexer::test::parse_poetic_number_without_dec_place ... 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::parse_proper_var ... ok [INFO] [stdout] test syntax::lexer::test::parse_aint ... ok [INFO] [stdout] test syntax::lexer::test::parse_poetic_string ... ok [INFO] [stdout] test syntax::lexer::test::apos_s_at_end_of_word ... 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::handle_comments ... ok [INFO] [stdout] test syntax::lexer::test::apos_s_with_space_before ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 25 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "5ffba6a134bc0af9ef0a41b436fcf7b5243cb31bb046753113a39e07bc077c54", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ffba6a134bc0af9ef0a41b436fcf7b5243cb31bb046753113a39e07bc077c54", kill_on_drop: false }` [INFO] [stdout] 5ffba6a134bc0af9ef0a41b436fcf7b5243cb31bb046753113a39e07bc077c54