[INFO] cloning repository https://github.com/Michael-F-Bryan/iec [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Michael-F-Bryan/iec" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMichael-F-Bryan%2Fiec", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMichael-F-Bryan%2Fiec'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a8c4106cb116776f70f5fda6b7c30d98909a60b8 [INFO] testing Michael-F-Bryan/iec against try#ecabaf78506b7a4668d42dc20268c086b93f0fad for pr-87041 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMichael-F-Bryan%2Fiec" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Michael-F-Bryan/iec on toolchain ecabaf78506b7a4668d42dc20268c086b93f0fad [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Michael-F-Bryan/iec [INFO] finished tweaking git repo https://github.com/Michael-F-Bryan/iec [INFO] tweaked toml for git repo https://github.com/Michael-F-Bryan/iec written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/Michael-F-Bryan/iec already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded codespan v0.2.1 [INFO] [stderr] Downloaded codespan-reporting v0.2.1 [INFO] [stderr] Downloaded heapsize_derive v0.1.4 [INFO] [stderr] Downloaded synstructure v0.5.2 [INFO] [stderr] Downloaded ctor v0.1.7 [INFO] [stderr] Downloaded aho-corasick v0.7.1 [INFO] [stderr] Downloaded typename v0.1.0 [INFO] [stderr] Downloaded typename_derive v0.1.1 [INFO] [stderr] Downloaded slog_derive v0.1.1 [INFO] [stderr] Downloaded regex v1.1.3 [INFO] [stderr] Downloaded sum_type v0.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7999b9782675c72b16024a50f7c8c620480543aada9c0e11bc1ee4ddd4ba1a19 [INFO] running `Command { std: "docker" "start" "-a" "7999b9782675c72b16024a50f7c8c620480543aada9c0e11bc1ee4ddd4ba1a19", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7999b9782675c72b16024a50f7c8c620480543aada9c0e11bc1ee4ddd4ba1a19", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7999b9782675c72b16024a50f7c8c620480543aada9c0e11bc1ee4ddd4ba1a19", kill_on_drop: false }` [INFO] [stdout] 7999b9782675c72b16024a50f7c8c620480543aada9c0e11bc1ee4ddd4ba1a19 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4d13ec8cb7983e44c5f7c717d2516c5a2644b8c99b52b20cb9375cf7fc4732ee [INFO] running `Command { std: "docker" "start" "-a" "4d13ec8cb7983e44c5f7c717d2516c5a2644b8c99b52b20cb9375cf7fc4732ee", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.51 [INFO] [stderr] Compiling syn v0.15.29 [INFO] [stderr] Compiling serde v1.0.89 [INFO] [stderr] Compiling cc v1.0.32 [INFO] [stderr] Compiling either v1.5.1 [INFO] [stderr] Compiling regex v1.1.3 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling heapsize v0.4.2 [INFO] [stderr] Compiling fixedbitset v0.1.9 [INFO] [stderr] Compiling term v0.4.6 [INFO] [stderr] Compiling new_debug_unreachable v1.0.3 [INFO] [stderr] Compiling opaque-debug v0.2.2 [INFO] [stderr] Compiling ordermap v0.3.5 [INFO] [stderr] Compiling slog v2.4.1 [INFO] [stderr] Compiling lalrpop-util v0.16.3 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling sum_type v0.1.1 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling bitflags v1.0.4 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling block-padding v0.1.3 [INFO] [stderr] Compiling backtrace v0.3.14 [INFO] [stderr] Compiling regex-syntax v0.6.6 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling proc-macro2 v0.4.27 [INFO] [stderr] Compiling textwrap v0.10.0 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling aho-corasick v0.7.1 [INFO] [stderr] Compiling block-buffer v0.7.0 [INFO] [stderr] Compiling itertools v0.8.0 [INFO] [stderr] Compiling ena v0.11.0 [INFO] [stderr] Compiling sha2 v0.8.0 [INFO] [stderr] Compiling ascii-canvas v1.0.0 [INFO] [stderr] Compiling petgraph v0.4.13 [INFO] [stderr] Compiling slog-async v2.3.0 [INFO] [stderr] Compiling quote v0.6.11 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling dirs v1.0.5 [INFO] [stderr] Compiling isatty v0.1.9 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling clap v2.32.0 [INFO] [stderr] Compiling term v0.5.2 [INFO] [stderr] Compiling backtrace-sys v0.1.28 [INFO] [stderr] Compiling chrono v0.4.6 [INFO] [stderr] Compiling synstructure v0.5.2 [INFO] [stderr] Compiling heapsize_derive v0.1.4 [INFO] [stderr] Compiling typename_derive v0.1.1 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling slog-term v2.4.0 [INFO] [stderr] Compiling string_cache_codegen v0.4.2 [INFO] [stderr] Compiling typename v0.1.0 [INFO] [stderr] Compiling string_cache v0.7.3 [INFO] [stderr] Compiling synstructure v0.10.1 [INFO] [stderr] Compiling serde_derive v1.0.89 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Compiling structopt-derive v0.2.15 [INFO] [stderr] Compiling slog_derive v0.1.1 [INFO] [stderr] Compiling failure v0.1.5 [INFO] [stderr] Compiling structopt v0.2.15 [INFO] [stderr] Compiling docopt v1.0.2 [INFO] [stderr] Compiling codespan v0.2.1 [INFO] [stderr] Compiling codespan-reporting v0.2.1 [INFO] [stderr] Compiling lalrpop v0.16.3 [INFO] [stderr] Compiling iec_syntax v0.1.0 (/opt/rustwide/workdir/syntax) [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/iec_syntax-bf6a169e86341000/out/grammar.rs:64164:5 [INFO] [stdout] | [INFO] [stdout] 64164 | (__0) [INFO] [stdout] | ^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/iec_syntax-bf6a169e86341000/out/grammar.rs:64175:5 [INFO] [stdout] | [INFO] [stdout] 64175 | (__0) [INFO] [stdout] | ^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/iec_syntax-bf6a169e86341000/out/grammar.rs:64186:5 [INFO] [stdout] | [INFO] [stdout] 64186 | (__0) [INFO] [stdout] | ^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/iec_syntax-bf6a169e86341000/out/grammar.rs:64197:5 [INFO] [stdout] | [INFO] [stdout] 64197 | (__0) [INFO] [stdout] | ^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/iec_syntax-bf6a169e86341000/out/grammar.rs:64208:5 [INFO] [stdout] | [INFO] [stdout] 64208 | (__0) [INFO] [stdout] | ^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/iec_syntax-bf6a169e86341000/out/grammar.rs:64219:5 [INFO] [stdout] | [INFO] [stdout] 64219 | (__0) [INFO] [stdout] | ^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/iec_syntax-bf6a169e86341000/out/grammar.rs:64230:5 [INFO] [stdout] | [INFO] [stdout] 64230 | (__0) [INFO] [stdout] | ^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/iec_syntax-bf6a169e86341000/out/grammar.rs:64241:5 [INFO] [stdout] | [INFO] [stdout] 64241 | (__0) [INFO] [stdout] | ^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/iec_syntax-bf6a169e86341000/out/grammar.rs:64252:5 [INFO] [stdout] | [INFO] [stdout] 64252 | (__0) [INFO] [stdout] | ^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/iec_syntax-bf6a169e86341000/out/grammar.rs:64263:5 [INFO] [stdout] | [INFO] [stdout] 64263 | (__0) [INFO] [stdout] | ^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/iec_syntax-bf6a169e86341000/out/grammar.rs:64274:5 [INFO] [stdout] | [INFO] [stdout] 64274 | (__0) [INFO] [stdout] | ^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/iec_syntax-bf6a169e86341000/out/grammar.rs:64285:5 [INFO] [stdout] | [INFO] [stdout] 64285 | (__0) [INFO] [stdout] | ^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/iec_syntax-bf6a169e86341000/out/grammar.rs:65150:5 [INFO] [stdout] | [INFO] [stdout] 65150 | (__0) [INFO] [stdout] | ^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/iec_syntax-bf6a169e86341000/out/grammar.rs:65285:5 [INFO] [stdout] | [INFO] [stdout] 65285 | (__0) [INFO] [stdout] | ^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/iec_syntax-bf6a169e86341000/out/grammar.rs:65343:5 [INFO] [stdout] | [INFO] [stdout] 65343 | (__0) [INFO] [stdout] | ^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/iec_syntax-bf6a169e86341000/out/grammar.rs:65397:5 [INFO] [stdout] | [INFO] [stdout] 65397 | (__0) [INFO] [stdout] | ^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/iec_syntax-bf6a169e86341000/out/grammar.rs:65640:5 [INFO] [stdout] | [INFO] [stdout] 65640 | (__0) [INFO] [stdout] | ^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling iec v0.1.0 (/opt/rustwide/workdir/iec) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> iec/src/ecs.rs:100:32 [INFO] [stdout] | [INFO] [stdout] 100 | items: HashMap>, [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Any` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> iec/src/ecs.rs:101:37 [INFO] [stdout] | [INFO] [stdout] 101 | singletons: HashMap>, [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Any` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> iec/src/ecs.rs:123:59 [INFO] [stdout] | [INFO] [stdout] 123 | self.items.insert(type_id, boxed_container as Box); [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Any` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> iec/src/ecs.rs:272:37 [INFO] [stdout] | [INFO] [stdout] 272 | container: &HashMap>, [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Any` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> iec/src/ecs.rs:277:26 [INFO] [stdout] | [INFO] [stdout] 277 | * (size_of::>() + size_of::() + size_of::()); [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Any` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parent` [INFO] [stdout] --> iec/src/passes/basic_blocks.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | parent: Symbol, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_parent` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> iec/src/passes/basic_blocks.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | body: &[iec_syntax::Statement], [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_body` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `variables` [INFO] [stdout] --> iec/src/passes/basic_blocks.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | variables: &Container, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_variables` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `types` [INFO] [stdout] --> iec/src/passes/basic_blocks.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | types: &Container, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `diags` [INFO] [stdout] --> iec/src/passes/basic_blocks.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | diags: &mut Diagnostics, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_diags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `programs` [INFO] [stdout] --> iec/src/passes/basic_blocks.rs:25:18 [INFO] [stdout] | [INFO] [stdout] 25 | let (mut programs, variables, symbols, types, instructions, blocks) = [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_programs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instructions` [INFO] [stdout] --> iec/src/passes/basic_blocks.rs:25:55 [INFO] [stdout] | [INFO] [stdout] 25 | let (mut programs, variables, symbols, types, instructions, blocks) = [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instructions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `blocks` [INFO] [stdout] --> iec/src/passes/basic_blocks.rs:25:69 [INFO] [stdout] | [INFO] [stdout] 25 | let (mut programs, variables, symbols, types, instructions, blocks) = [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_blocks` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entry_block` [INFO] [stdout] --> iec/src/passes/basic_blocks.rs:37:17 [INFO] [stdout] | [INFO] [stdout] 37 | let entry_block = to_basic_blocks( [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_entry_block` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> iec/src/passes/basic_blocks.rs:25:14 [INFO] [stdout] | [INFO] [stdout] 25 | let (mut programs, variables, symbols, types, instructions, blocks) = [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling iec_runner v0.1.0 (/opt/rustwide/workdir/runner) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 16s [INFO] running `Command { std: "docker" "inspect" "4d13ec8cb7983e44c5f7c717d2516c5a2644b8c99b52b20cb9375cf7fc4732ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d13ec8cb7983e44c5f7c717d2516c5a2644b8c99b52b20cb9375cf7fc4732ee", kill_on_drop: false }` [INFO] [stdout] 4d13ec8cb7983e44c5f7c717d2516c5a2644b8c99b52b20cb9375cf7fc4732ee [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 433200100fe6f14e2a0e6c31e88bacb818e4f28ff0901fbde8e8cd0f98fe1b91 [INFO] running `Command { std: "docker" "start" "-a" "433200100fe6f14e2a0e6c31e88bacb818e4f28ff0901fbde8e8cd0f98fe1b91", kill_on_drop: false }` [INFO] [stderr] Compiling pretty_assertions v0.6.1 [INFO] [stderr] Compiling serde_json v1.0.39 [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/iec_syntax-bf6a169e86341000/out/grammar.rs:64164:5 [INFO] [stdout] | [INFO] [stdout] 64164 | (__0) [INFO] [stdout] | ^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/iec_syntax-bf6a169e86341000/out/grammar.rs:64175:5 [INFO] [stdout] | [INFO] [stdout] 64175 | (__0) [INFO] [stdout] | ^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/iec_syntax-bf6a169e86341000/out/grammar.rs:64186:5 [INFO] [stdout] | [INFO] [stdout] 64186 | (__0) [INFO] [stdout] | ^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/iec_syntax-bf6a169e86341000/out/grammar.rs:64197:5 [INFO] [stdout] | [INFO] [stdout] 64197 | (__0) [INFO] [stdout] | ^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/iec_syntax-bf6a169e86341000/out/grammar.rs:64208:5 [INFO] [stdout] | [INFO] [stdout] 64208 | (__0) [INFO] [stdout] | ^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/iec_syntax-bf6a169e86341000/out/grammar.rs:64219:5 [INFO] [stdout] | [INFO] [stdout] 64219 | (__0) [INFO] [stdout] | ^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/iec_syntax-bf6a169e86341000/out/grammar.rs:64230:5 [INFO] [stdout] | [INFO] [stdout] 64230 | (__0) [INFO] [stdout] | ^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/iec_syntax-bf6a169e86341000/out/grammar.rs:64241:5 [INFO] [stdout] | [INFO] [stdout] 64241 | (__0) [INFO] [stdout] | ^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/iec_syntax-bf6a169e86341000/out/grammar.rs:64252:5 [INFO] [stdout] | [INFO] [stdout] 64252 | (__0) [INFO] [stdout] | ^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/iec_syntax-bf6a169e86341000/out/grammar.rs:64263:5 [INFO] [stdout] | [INFO] [stdout] 64263 | (__0) [INFO] [stdout] | ^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/iec_syntax-bf6a169e86341000/out/grammar.rs:64274:5 [INFO] [stdout] | [INFO] [stdout] 64274 | (__0) [INFO] [stdout] | ^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/iec_syntax-bf6a169e86341000/out/grammar.rs:64285:5 [INFO] [stdout] | [INFO] [stdout] 64285 | (__0) [INFO] [stdout] | ^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/iec_syntax-bf6a169e86341000/out/grammar.rs:65150:5 [INFO] [stdout] | [INFO] [stdout] 65150 | (__0) [INFO] [stdout] | ^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/iec_syntax-bf6a169e86341000/out/grammar.rs:65285:5 [INFO] [stdout] | [INFO] [stdout] 65285 | (__0) [INFO] [stdout] | ^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/iec_syntax-bf6a169e86341000/out/grammar.rs:65343:5 [INFO] [stdout] | [INFO] [stdout] 65343 | (__0) [INFO] [stdout] | ^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/iec_syntax-bf6a169e86341000/out/grammar.rs:65397:5 [INFO] [stdout] | [INFO] [stdout] 65397 | (__0) [INFO] [stdout] | ^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/iec_syntax-bf6a169e86341000/out/grammar.rs:65640:5 [INFO] [stdout] | [INFO] [stdout] 65640 | (__0) [INFO] [stdout] | ^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> iec/src/ecs.rs:100:32 [INFO] [stdout] | [INFO] [stdout] 100 | items: HashMap>, [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Any` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> iec/src/ecs.rs:101:37 [INFO] [stdout] | [INFO] [stdout] 101 | singletons: HashMap>, [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Any` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> iec/src/ecs.rs:123:59 [INFO] [stdout] | [INFO] [stdout] 123 | self.items.insert(type_id, boxed_container as Box); [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Any` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> iec/src/ecs.rs:272:37 [INFO] [stdout] | [INFO] [stdout] 272 | container: &HashMap>, [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Any` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> iec/src/ecs.rs:277:26 [INFO] [stdout] | [INFO] [stdout] 277 | * (size_of::>() + size_of::() + size_of::()); [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Any` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parent` [INFO] [stdout] --> iec/src/passes/basic_blocks.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | parent: Symbol, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_parent` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> iec/src/passes/basic_blocks.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | body: &[iec_syntax::Statement], [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_body` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `variables` [INFO] [stdout] --> iec/src/passes/basic_blocks.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | variables: &Container, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_variables` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `types` [INFO] [stdout] --> iec/src/passes/basic_blocks.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | types: &Container, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `diags` [INFO] [stdout] --> iec/src/passes/basic_blocks.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | diags: &mut Diagnostics, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_diags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `programs` [INFO] [stdout] --> iec/src/passes/basic_blocks.rs:25:18 [INFO] [stdout] | [INFO] [stdout] 25 | let (mut programs, variables, symbols, types, instructions, blocks) = [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_programs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instructions` [INFO] [stdout] --> iec/src/passes/basic_blocks.rs:25:55 [INFO] [stdout] | [INFO] [stdout] 25 | let (mut programs, variables, symbols, types, instructions, blocks) = [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instructions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `blocks` [INFO] [stdout] --> iec/src/passes/basic_blocks.rs:25:69 [INFO] [stdout] | [INFO] [stdout] 25 | let (mut programs, variables, symbols, types, instructions, blocks) = [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_blocks` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entry_block` [INFO] [stdout] --> iec/src/passes/basic_blocks.rs:37:17 [INFO] [stdout] | [INFO] [stdout] 37 | let entry_block = to_basic_blocks( [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_entry_block` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> iec/src/passes/basic_blocks.rs:25:14 [INFO] [stdout] | [INFO] [stdout] 25 | let (mut programs, variables, symbols, types, instructions, blocks) = [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling iec v0.1.0 (/opt/rustwide/workdir/iec) [INFO] [stderr] Compiling iec_runner v0.1.0 (/opt/rustwide/workdir/runner) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> iec/src/ecs.rs:100:32 [INFO] [stdout] | [INFO] [stdout] 100 | items: HashMap>, [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Any` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> iec/src/ecs.rs:101:37 [INFO] [stdout] | [INFO] [stdout] 101 | singletons: HashMap>, [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Any` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> iec/src/ecs.rs:123:59 [INFO] [stdout] | [INFO] [stdout] 123 | self.items.insert(type_id, boxed_container as Box); [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Any` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> iec/src/ecs.rs:272:37 [INFO] [stdout] | [INFO] [stdout] 272 | container: &HashMap>, [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Any` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> iec/src/ecs.rs:277:26 [INFO] [stdout] | [INFO] [stdout] 277 | * (size_of::>() + size_of::() + size_of::()); [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Any` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parent` [INFO] [stdout] --> iec/src/passes/basic_blocks.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | parent: Symbol, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_parent` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> iec/src/passes/basic_blocks.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | body: &[iec_syntax::Statement], [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_body` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `variables` [INFO] [stdout] --> iec/src/passes/basic_blocks.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | variables: &Container, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_variables` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `types` [INFO] [stdout] --> iec/src/passes/basic_blocks.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | types: &Container, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `diags` [INFO] [stdout] --> iec/src/passes/basic_blocks.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | diags: &mut Diagnostics, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_diags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `programs` [INFO] [stdout] --> iec/src/passes/basic_blocks.rs:25:18 [INFO] [stdout] | [INFO] [stdout] 25 | let (mut programs, variables, symbols, types, instructions, blocks) = [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_programs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instructions` [INFO] [stdout] --> iec/src/passes/basic_blocks.rs:25:55 [INFO] [stdout] | [INFO] [stdout] 25 | let (mut programs, variables, symbols, types, instructions, blocks) = [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instructions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `blocks` [INFO] [stdout] --> iec/src/passes/basic_blocks.rs:25:69 [INFO] [stdout] | [INFO] [stdout] 25 | let (mut programs, variables, symbols, types, instructions, blocks) = [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_blocks` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entry_block` [INFO] [stdout] --> iec/src/passes/basic_blocks.rs:37:17 [INFO] [stdout] | [INFO] [stdout] 37 | let entry_block = to_basic_blocks( [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_entry_block` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> iec/src/passes/basic_blocks.rs:25:14 [INFO] [stdout] | [INFO] [stdout] 25 | let (mut programs, variables, symbols, types, instructions, blocks) = [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling iec_syntax v0.1.0 (/opt/rustwide/workdir/syntax) [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/iec_syntax-bf6a169e86341000/out/grammar.rs:64164:5 [INFO] [stdout] | [INFO] [stdout] 64164 | (__0) [INFO] [stdout] | ^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/iec_syntax-bf6a169e86341000/out/grammar.rs:64175:5 [INFO] [stdout] | [INFO] [stdout] 64175 | (__0) [INFO] [stdout] | ^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/iec_syntax-bf6a169e86341000/out/grammar.rs:64186:5 [INFO] [stdout] | [INFO] [stdout] 64186 | (__0) [INFO] [stdout] | ^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/iec_syntax-bf6a169e86341000/out/grammar.rs:64197:5 [INFO] [stdout] | [INFO] [stdout] 64197 | (__0) [INFO] [stdout] | ^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/iec_syntax-bf6a169e86341000/out/grammar.rs:64208:5 [INFO] [stdout] | [INFO] [stdout] 64208 | (__0) [INFO] [stdout] | ^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/iec_syntax-bf6a169e86341000/out/grammar.rs:64219:5 [INFO] [stdout] | [INFO] [stdout] 64219 | (__0) [INFO] [stdout] | ^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/iec_syntax-bf6a169e86341000/out/grammar.rs:64230:5 [INFO] [stdout] | [INFO] [stdout] 64230 | (__0) [INFO] [stdout] | ^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/iec_syntax-bf6a169e86341000/out/grammar.rs:64241:5 [INFO] [stdout] | [INFO] [stdout] 64241 | (__0) [INFO] [stdout] | ^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/iec_syntax-bf6a169e86341000/out/grammar.rs:64252:5 [INFO] [stdout] | [INFO] [stdout] 64252 | (__0) [INFO] [stdout] | ^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/iec_syntax-bf6a169e86341000/out/grammar.rs:64263:5 [INFO] [stdout] | [INFO] [stdout] 64263 | (__0) [INFO] [stdout] | ^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/iec_syntax-bf6a169e86341000/out/grammar.rs:64274:5 [INFO] [stdout] | [INFO] [stdout] 64274 | (__0) [INFO] [stdout] | ^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/iec_syntax-bf6a169e86341000/out/grammar.rs:64285:5 [INFO] [stdout] | [INFO] [stdout] 64285 | (__0) [INFO] [stdout] | ^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/iec_syntax-bf6a169e86341000/out/grammar.rs:65150:5 [INFO] [stdout] | [INFO] [stdout] 65150 | (__0) [INFO] [stdout] | ^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/iec_syntax-bf6a169e86341000/out/grammar.rs:65285:5 [INFO] [stdout] | [INFO] [stdout] 65285 | (__0) [INFO] [stdout] | ^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/iec_syntax-bf6a169e86341000/out/grammar.rs:65343:5 [INFO] [stdout] | [INFO] [stdout] 65343 | (__0) [INFO] [stdout] | ^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/iec_syntax-bf6a169e86341000/out/grammar.rs:65397:5 [INFO] [stdout] | [INFO] [stdout] 65397 | (__0) [INFO] [stdout] | ^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> /opt/rustwide/target/debug/build/iec_syntax-bf6a169e86341000/out/grammar.rs:65640:5 [INFO] [stdout] | [INFO] [stdout] 65640 | (__0) [INFO] [stdout] | ^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 15.90s [INFO] running `Command { std: "docker" "inspect" "433200100fe6f14e2a0e6c31e88bacb818e4f28ff0901fbde8e8cd0f98fe1b91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "433200100fe6f14e2a0e6c31e88bacb818e4f28ff0901fbde8e8cd0f98fe1b91", kill_on_drop: false }` [INFO] [stdout] 433200100fe6f14e2a0e6c31e88bacb818e4f28ff0901fbde8e8cd0f98fe1b91 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b4588ef42ca7e7f4e2d4250f6413f78a9e34300c7dedada59bfbf1d6104b8556 [INFO] running `Command { std: "docker" "start" "-a" "b4588ef42ca7e7f4e2d4250f6413f78a9e34300c7dedada59bfbf1d6104b8556", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> /opt/rustwide/target/debug/build/iec_syntax-bf6a169e86341000/out/grammar.rs:64164:5 [INFO] [stderr] | [INFO] [stderr] 64164 | (__0) [INFO] [stderr] | ^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> /opt/rustwide/target/debug/build/iec_syntax-bf6a169e86341000/out/grammar.rs:64175:5 [INFO] [stderr] | [INFO] [stderr] 64175 | (__0) [INFO] [stderr] | ^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> /opt/rustwide/target/debug/build/iec_syntax-bf6a169e86341000/out/grammar.rs:64186:5 [INFO] [stderr] | [INFO] [stderr] 64186 | (__0) [INFO] [stderr] | ^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> /opt/rustwide/target/debug/build/iec_syntax-bf6a169e86341000/out/grammar.rs:64197:5 [INFO] [stderr] | [INFO] [stderr] 64197 | (__0) [INFO] [stderr] | ^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> /opt/rustwide/target/debug/build/iec_syntax-bf6a169e86341000/out/grammar.rs:64208:5 [INFO] [stderr] | [INFO] [stderr] 64208 | (__0) [INFO] [stderr] | ^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> /opt/rustwide/target/debug/build/iec_syntax-bf6a169e86341000/out/grammar.rs:64219:5 [INFO] [stderr] | [INFO] [stderr] 64219 | (__0) [INFO] [stderr] | ^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> /opt/rustwide/target/debug/build/iec_syntax-bf6a169e86341000/out/grammar.rs:64230:5 [INFO] [stderr] | [INFO] [stderr] 64230 | (__0) [INFO] [stderr] | ^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> /opt/rustwide/target/debug/build/iec_syntax-bf6a169e86341000/out/grammar.rs:64241:5 [INFO] [stderr] | [INFO] [stderr] 64241 | (__0) [INFO] [stderr] | ^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> /opt/rustwide/target/debug/build/iec_syntax-bf6a169e86341000/out/grammar.rs:64252:5 [INFO] [stderr] | [INFO] [stderr] 64252 | (__0) [INFO] [stderr] | ^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> /opt/rustwide/target/debug/build/iec_syntax-bf6a169e86341000/out/grammar.rs:64263:5 [INFO] [stderr] | [INFO] [stderr] 64263 | (__0) [INFO] [stderr] | ^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> /opt/rustwide/target/debug/build/iec_syntax-bf6a169e86341000/out/grammar.rs:64274:5 [INFO] [stderr] | [INFO] [stderr] 64274 | (__0) [INFO] [stderr] | ^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> /opt/rustwide/target/debug/build/iec_syntax-bf6a169e86341000/out/grammar.rs:64285:5 [INFO] [stderr] | [INFO] [stderr] 64285 | (__0) [INFO] [stderr] | ^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> /opt/rustwide/target/debug/build/iec_syntax-bf6a169e86341000/out/grammar.rs:65150:5 [INFO] [stderr] | [INFO] [stderr] 65150 | (__0) [INFO] [stderr] | ^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> /opt/rustwide/target/debug/build/iec_syntax-bf6a169e86341000/out/grammar.rs:65285:5 [INFO] [stderr] | [INFO] [stderr] 65285 | (__0) [INFO] [stderr] | ^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> /opt/rustwide/target/debug/build/iec_syntax-bf6a169e86341000/out/grammar.rs:65343:5 [INFO] [stderr] | [INFO] [stderr] 65343 | (__0) [INFO] [stderr] | ^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> /opt/rustwide/target/debug/build/iec_syntax-bf6a169e86341000/out/grammar.rs:65397:5 [INFO] [stderr] | [INFO] [stderr] 65397 | (__0) [INFO] [stderr] | ^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> /opt/rustwide/target/debug/build/iec_syntax-bf6a169e86341000/out/grammar.rs:65640:5 [INFO] [stderr] | [INFO] [stderr] 65640 | (__0) [INFO] [stderr] | ^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: 17 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> /opt/rustwide/target/debug/build/iec_syntax-bf6a169e86341000/out/grammar.rs:64164:5 [INFO] [stderr] | [INFO] [stderr] 64164 | (__0) [INFO] [stderr] | ^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> /opt/rustwide/target/debug/build/iec_syntax-bf6a169e86341000/out/grammar.rs:64175:5 [INFO] [stderr] | [INFO] [stderr] 64175 | (__0) [INFO] [stderr] | ^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> /opt/rustwide/target/debug/build/iec_syntax-bf6a169e86341000/out/grammar.rs:64186:5 [INFO] [stderr] | [INFO] [stderr] 64186 | (__0) [INFO] [stderr] | ^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> /opt/rustwide/target/debug/build/iec_syntax-bf6a169e86341000/out/grammar.rs:64197:5 [INFO] [stderr] | [INFO] [stderr] 64197 | (__0) [INFO] [stderr] | ^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> /opt/rustwide/target/debug/build/iec_syntax-bf6a169e86341000/out/grammar.rs:64208:5 [INFO] [stderr] | [INFO] [stderr] 64208 | (__0) [INFO] [stderr] | ^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> /opt/rustwide/target/debug/build/iec_syntax-bf6a169e86341000/out/grammar.rs:64219:5 [INFO] [stderr] | [INFO] [stderr] 64219 | (__0) [INFO] [stderr] | ^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> /opt/rustwide/target/debug/build/iec_syntax-bf6a169e86341000/out/grammar.rs:64230:5 [INFO] [stderr] | [INFO] [stderr] 64230 | (__0) [INFO] [stderr] | ^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> /opt/rustwide/target/debug/build/iec_syntax-bf6a169e86341000/out/grammar.rs:64241:5 [INFO] [stderr] | [INFO] [stderr] 64241 | (__0) [INFO] [stderr] | ^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> /opt/rustwide/target/debug/build/iec_syntax-bf6a169e86341000/out/grammar.rs:64252:5 [INFO] [stderr] | [INFO] [stderr] 64252 | (__0) [INFO] [stderr] | ^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> /opt/rustwide/target/debug/build/iec_syntax-bf6a169e86341000/out/grammar.rs:64263:5 [INFO] [stderr] | [INFO] [stderr] 64263 | (__0) [INFO] [stderr] | ^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> /opt/rustwide/target/debug/build/iec_syntax-bf6a169e86341000/out/grammar.rs:64274:5 [INFO] [stderr] | [INFO] [stderr] 64274 | (__0) [INFO] [stderr] | ^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> /opt/rustwide/target/debug/build/iec_syntax-bf6a169e86341000/out/grammar.rs:64285:5 [INFO] [stderr] | [INFO] [stderr] 64285 | (__0) [INFO] [stderr] | ^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> /opt/rustwide/target/debug/build/iec_syntax-bf6a169e86341000/out/grammar.rs:65150:5 [INFO] [stderr] | [INFO] [stderr] 65150 | (__0) [INFO] [stderr] | ^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> /opt/rustwide/target/debug/build/iec_syntax-bf6a169e86341000/out/grammar.rs:65285:5 [INFO] [stderr] | [INFO] [stderr] 65285 | (__0) [INFO] [stderr] | ^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> /opt/rustwide/target/debug/build/iec_syntax-bf6a169e86341000/out/grammar.rs:65343:5 [INFO] [stderr] | [INFO] [stderr] 65343 | (__0) [INFO] [stderr] | ^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> /opt/rustwide/target/debug/build/iec_syntax-bf6a169e86341000/out/grammar.rs:65397:5 [INFO] [stderr] | [INFO] [stderr] 65397 | (__0) [INFO] [stderr] | ^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> /opt/rustwide/target/debug/build/iec_syntax-bf6a169e86341000/out/grammar.rs:65640:5 [INFO] [stderr] | [INFO] [stderr] 65640 | (__0) [INFO] [stderr] | ^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: 17 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> iec/src/ecs.rs:100:32 [INFO] [stderr] | [INFO] [stderr] 100 | items: HashMap>, [INFO] [stderr] | ^^^ help: use `dyn`: `dyn Any` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> iec/src/ecs.rs:101:37 [INFO] [stderr] | [INFO] [stderr] 101 | singletons: HashMap>, [INFO] [stderr] | ^^^ help: use `dyn`: `dyn Any` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> iec/src/ecs.rs:123:59 [INFO] [stderr] | [INFO] [stderr] 123 | self.items.insert(type_id, boxed_container as Box); [INFO] [stderr] | ^^^ help: use `dyn`: `dyn Any` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> iec/src/ecs.rs:272:37 [INFO] [stderr] | [INFO] [stderr] 272 | container: &HashMap>, [INFO] [stderr] | ^^^ help: use `dyn`: `dyn Any` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> iec/src/ecs.rs:277:26 [INFO] [stderr] | [INFO] [stderr] 277 | * (size_of::>() + size_of::() + size_of::()); [INFO] [stderr] | ^^^ help: use `dyn`: `dyn Any` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: unused variable: `parent` [INFO] [stderr] --> iec/src/passes/basic_blocks.rs:49:5 [INFO] [stderr] | [INFO] [stderr] 49 | parent: Symbol, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_parent` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `body` [INFO] [stderr] --> iec/src/passes/basic_blocks.rs:50:5 [INFO] [stderr] | [INFO] [stderr] 50 | body: &[iec_syntax::Statement], [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_body` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `variables` [INFO] [stderr] --> iec/src/passes/basic_blocks.rs:51:5 [INFO] [stderr] | [INFO] [stderr] 51 | variables: &Container, [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_variables` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `types` [INFO] [stderr] --> iec/src/passes/basic_blocks.rs:52:5 [INFO] [stderr] | [INFO] [stderr] 52 | types: &Container, [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_types` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `diags` [INFO] [stderr] --> iec/src/passes/basic_blocks.rs:53:5 [INFO] [stderr] | [INFO] [stderr] 53 | diags: &mut Diagnostics, [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_diags` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `programs` [INFO] [stderr] --> iec/src/passes/basic_blocks.rs:25:18 [INFO] [stderr] | [INFO] [stderr] 25 | let (mut programs, variables, symbols, types, instructions, blocks) = [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_programs` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `instructions` [INFO] [stderr] --> iec/src/passes/basic_blocks.rs:25:55 [INFO] [stderr] | [INFO] [stderr] 25 | let (mut programs, variables, symbols, types, instructions, blocks) = [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instructions` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `blocks` [INFO] [stderr] --> iec/src/passes/basic_blocks.rs:25:69 [INFO] [stderr] | [INFO] [stderr] 25 | let (mut programs, variables, symbols, types, instructions, blocks) = [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_blocks` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `entry_block` [INFO] [stderr] --> iec/src/passes/basic_blocks.rs:37:17 [INFO] [stderr] | [INFO] [stderr] 37 | let entry_block = to_basic_blocks( [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_entry_block` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> iec/src/passes/basic_blocks.rs:25:14 [INFO] [stderr] | [INFO] [stderr] 25 | let (mut programs, variables, symbols, types, instructions, blocks) = [INFO] [stderr] | ----^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 15 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> iec/src/ecs.rs:100:32 [INFO] [stderr] | [INFO] [stderr] 100 | items: HashMap>, [INFO] [stderr] | ^^^ help: use `dyn`: `dyn Any` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> iec/src/ecs.rs:101:37 [INFO] [stderr] | [INFO] [stderr] 101 | singletons: HashMap>, [INFO] [stderr] | ^^^ help: use `dyn`: `dyn Any` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> iec/src/ecs.rs:123:59 [INFO] [stderr] | [INFO] [stderr] 123 | self.items.insert(type_id, boxed_container as Box); [INFO] [stderr] | ^^^ help: use `dyn`: `dyn Any` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> iec/src/ecs.rs:272:37 [INFO] [stderr] | [INFO] [stderr] 272 | container: &HashMap>, [INFO] [stderr] | ^^^ help: use `dyn`: `dyn Any` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> iec/src/ecs.rs:277:26 [INFO] [stderr] | [INFO] [stderr] 277 | * (size_of::>() + size_of::() + size_of::()); [INFO] [stderr] | ^^^ help: use `dyn`: `dyn Any` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: unused variable: `parent` [INFO] [stderr] --> iec/src/passes/basic_blocks.rs:49:5 [INFO] [stderr] | [INFO] [stderr] 49 | parent: Symbol, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_parent` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `body` [INFO] [stderr] --> iec/src/passes/basic_blocks.rs:50:5 [INFO] [stderr] | [INFO] [stderr] 50 | body: &[iec_syntax::Statement], [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_body` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `variables` [INFO] [stderr] --> iec/src/passes/basic_blocks.rs:51:5 [INFO] [stderr] | [INFO] [stderr] 51 | variables: &Container, [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_variables` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `types` [INFO] [stderr] --> iec/src/passes/basic_blocks.rs:52:5 [INFO] [stderr] | [INFO] [stderr] 52 | types: &Container, [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_types` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `diags` [INFO] [stderr] --> iec/src/passes/basic_blocks.rs:53:5 [INFO] [stderr] | [INFO] [stderr] 53 | diags: &mut Diagnostics, [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_diags` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `programs` [INFO] [stderr] --> iec/src/passes/basic_blocks.rs:25:18 [INFO] [stderr] | [INFO] [stderr] 25 | let (mut programs, variables, symbols, types, instructions, blocks) = [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_programs` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `instructions` [INFO] [stderr] --> iec/src/passes/basic_blocks.rs:25:55 [INFO] [stderr] | [INFO] [stderr] 25 | let (mut programs, variables, symbols, types, instructions, blocks) = [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instructions` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `blocks` [INFO] [stderr] --> iec/src/passes/basic_blocks.rs:25:69 [INFO] [stderr] | [INFO] [stderr] 25 | let (mut programs, variables, symbols, types, instructions, blocks) = [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_blocks` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `entry_block` [INFO] [stderr] --> iec/src/passes/basic_blocks.rs:37:17 [INFO] [stderr] | [INFO] [stderr] 37 | let entry_block = to_basic_blocks( [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_entry_block` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> iec/src/passes/basic_blocks.rs:25:14 [INFO] [stderr] | [INFO] [stderr] 25 | let (mut programs, variables, symbols, types, instructions, blocks) = [INFO] [stderr] | ----^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 15 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.35s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/iec-2f63e3fabe4d404f) [INFO] [stdout] running 11 tests [INFO] [stdout] test ecs::tests::get_a_component_container ... ok [INFO] [stdout] test ecs::tests::generate_valid_vtables ... ok [INFO] [stdout] test ecs::tests::register_the_random_component ... ok [INFO] [stdout] test ecs::tests::use_a_singleton_component ... ok [INFO] [stdout] test passes::variable_discovery::tests::duplicate_variable_declarations ... ok [INFO] [stdout] test passes::symbol_table::tests::identify_function_blocks_and_programs ... ok [INFO] [stdout] test passes::variable_discovery::tests::unknown_type ... ok [INFO] [stdout] test passes::variable_discovery::tests::discover_some_variables ... ok [INFO] [stdout] test ecs::tests::debug_print_resources ... ok [INFO] [stderr] error: test failed, to rerun pass '-p iec --lib' [INFO] [stdout] test ecs::tests::you_cant_register_twice - should panic ... ok [INFO] [stdout] test ecs::tests::get_resource_heapsize ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- ecs::tests::get_resource_heapsize stdout ---- [INFO] [stdout] thread 'ecs::tests::get_resource_heapsize' panicked at 'assertion failed: `(left == right)` [INFO] [stdout] left: `96`, [INFO] [stdout] right: `928`', iec/src/ecs.rs:694:9 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5614cc1ac8e0 - std::backtrace_rs::backtrace::libunwind::trace::h706b838f5bbd876b [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/../../backtrace/src/backtrace/libunwind.rs:90:5 [INFO] [stdout] 1: 0x5614cc1ac8e0 - std::backtrace_rs::backtrace::trace_unsynchronized::hc15f29ae7822b7b8 [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x5614cc1ac8e0 - std::sys_common::backtrace::_print_fmt::h7c580c971f91926c [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x5614cc1ac8e0 - ::fmt::h2a772198c4032452 [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x5614cc1cf87c - core::fmt::write::h9a6d9c74526a6c1b [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/core/src/fmt/mod.rs:1115:17 [INFO] [stdout] 5: 0x5614cc1a9955 - std::io::Write::write_fmt::h583dff5009d01a9f [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/io/mod.rs:1663:15 [INFO] [stdout] 6: 0x5614cc1aea4b - std::sys_common::backtrace::_print::h5b3c171e6f864ae4 [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x5614cc1aea4b - std::sys_common::backtrace::print::h93b9e9ed2a98e611 [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x5614cc1aea4b - std::panicking::default_hook::{{closure}}::hd8da92bb68d520c5 [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/panicking.rs:208:50 [INFO] [stdout] 9: 0x5614cc1ae55c - std::panicking::default_hook::hdbc8b2951c5afbab [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/panicking.rs:222:9 [INFO] [stdout] 10: 0x5614cc1af114 - std::panicking::rust_panic_with_hook::h8a4c841655926f4e [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/panicking.rs:622:17 [INFO] [stdout] 11: 0x5614cc1aebf7 - std::panicking::begin_panic_handler::{{closure}}::h471b6bc74904b7b0 [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/panicking.rs:519:13 [INFO] [stdout] 12: 0x5614cc1acddc - std::sys_common::backtrace::__rust_end_short_backtrace::h309f5c707f29932f [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/sys_common/backtrace.rs:141:18 [INFO] [stdout] 13: 0x5614cc1aeb59 - rust_begin_unwind [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/panicking.rs:515:5 [INFO] [stdout] 14: 0x5614cc10c641 - core::panicking::panic_fmt::hcf5f6d96e1dd7099 [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/core/src/panicking.rs:92:14 [INFO] [stdout] 15: 0x5614cc1cdee8 - core::panicking::assert_failed_inner::h6ded2444c01d76f2 [INFO] [stdout] 16: 0x5614cc18a6aa - core::panicking::assert_failed::hcb0993fbc535261c [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/core/src/panicking.rs:117:5 [INFO] [stdout] 17: 0x5614cc122bf1 - iec::ecs::tests::get_resource_heapsize::heb5b320a8578b1c0 [INFO] [stdout] at /opt/rustwide/workdir/iec/src/ecs.rs:694:9 [INFO] [stdout] 18: 0x5614cc122ada - iec::ecs::tests::get_resource_heapsize::{{closure}}::habd08ac80bb4a835 [INFO] [stdout] at /opt/rustwide/workdir/iec/src/ecs.rs:689:5 [INFO] [stdout] 19: 0x5614cc12b36e - core::ops::function::FnOnce::call_once::h71f199c8ae60995f [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 20: 0x5614cc16a833 - core::ops::function::FnOnce::call_once::h99a97b0ff983bd25 [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 21: 0x5614cc16a833 - test::__rust_begin_short_backtrace::h8fe0d26ed1584e50 [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/test/src/lib.rs:577:5 [INFO] [stdout] 22: 0x5614cc1692c0 - as core::ops::function::FnOnce>::call_once::he6b90e352f394d8f [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/alloc/src/boxed.rs:1572:9 [INFO] [stdout] 23: 0x5614cc1692c0 - as core::ops::function::FnOnce<()>>::call_once::h1c05475e029700b8 [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/panic.rs:347:9 [INFO] [stdout] 24: 0x5614cc1692c0 - std::panicking::try::do_call::he6de943476ae628a [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/panicking.rs:401:40 [INFO] [stdout] 25: 0x5614cc1692c0 - std::panicking::try::ha21937b8feb06f89 [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/panicking.rs:365:19 [INFO] [stdout] 26: 0x5614cc1692c0 - std::panic::catch_unwind::ha79830b3325c9fa6 [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/panic.rs:434:14 [INFO] [stdout] 27: 0x5614cc1692c0 - test::run_test_in_process::h1ab180b83ee2d5b5 [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/test/src/lib.rs:600:18 [INFO] [stdout] 28: 0x5614cc1692c0 - test::run_test::run_test_inner::{{closure}}::h8258ffe088f187a1 [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/test/src/lib.rs:492:39 [INFO] [stdout] 29: 0x5614cc142882 - test::run_test::run_test_inner::{{closure}}::hc697b214abd32bc6 [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/test/src/lib.rs:519:37 [INFO] [stdout] 30: 0x5614cc142882 - std::sys_common::backtrace::__rust_begin_short_backtrace::h64de0d3f894854a9 [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/sys_common/backtrace.rs:125:18 [INFO] [stdout] 31: 0x5614cc1464d8 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::h1fd98fc86e533ece [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/thread/mod.rs:476:17 [INFO] [stdout] 32: 0x5614cc1464d8 - as core::ops::function::FnOnce<()>>::call_once::h4e2a7abf702e4cfd [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/panic.rs:347:9 [INFO] [stdout] 33: 0x5614cc1464d8 - std::panicking::try::do_call::h4496392321a3c8c0 [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/panicking.rs:401:40 [INFO] [stdout] 34: 0x5614cc1464d8 - std::panicking::try::hf1e14258e04e8e9a [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/panicking.rs:365:19 [INFO] [stdout] 35: 0x5614cc1464d8 - std::panic::catch_unwind::hb72c3777cd55642f [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/panic.rs:434:14 [INFO] [stdout] 36: 0x5614cc1464d8 - std::thread::Builder::spawn_unchecked::{{closure}}::h2d7915a5910e148e [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/thread/mod.rs:475:30 [INFO] [stdout] 37: 0x5614cc1464d8 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h83fd2f1ef5be797c [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 38: 0x5614cc1b3ca7 - as core::ops::function::FnOnce>::call_once::ha8b1d5a0092467fc [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/alloc/src/boxed.rs:1572:9 [INFO] [stdout] 39: 0x5614cc1b3ca7 - as core::ops::function::FnOnce>::call_once::h4b9f24ec4e8a879e [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/alloc/src/boxed.rs:1572:9 [INFO] [stdout] 40: 0x5614cc1b3ca7 - std::sys::unix::thread::Thread::new::thread_start::h2a0e98fbc4ab4c32 [INFO] [stdout] at /rustc/ecabaf78506b7a4668d42dc20268c086b93f0fad/library/std/src/sys/unix/thread.rs:72:17 [INFO] [stdout] 41: 0x7f5379713609 - start_thread [INFO] [stdout] 42: 0x7f53794e5293 - clone [INFO] [stdout] 43: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] ecs::tests::get_resource_heapsize [INFO] [stdout] [INFO] [stdout] test result: FAILED. 10 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "b4588ef42ca7e7f4e2d4250f6413f78a9e34300c7dedada59bfbf1d6104b8556", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b4588ef42ca7e7f4e2d4250f6413f78a9e34300c7dedada59bfbf1d6104b8556", kill_on_drop: false }` [INFO] [stdout] b4588ef42ca7e7f4e2d4250f6413f78a9e34300c7dedada59bfbf1d6104b8556