[INFO] cloning repository https://github.com/doctorn/micro-mitten [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/doctorn/micro-mitten" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdoctorn%2Fmicro-mitten", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdoctorn%2Fmicro-mitten'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 12845eae0252dfc31712167741aa8563c4e1a3d2 [INFO] checking doctorn/micro-mitten against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdoctorn%2Fmicro-mitten" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/doctorn/micro-mitten on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/doctorn/micro-mitten [INFO] finished tweaking git repo https://github.com/doctorn/micro-mitten [INFO] tweaked toml for git repo https://github.com/doctorn/micro-mitten written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/doctorn/micro-mitten already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/TheDan64/inkwell` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded codespan v0.5.0 [INFO] [stderr] Downloaded llvm-sys v80.1.2 [INFO] [stderr] Downloaded codespan-reporting v0.5.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c9dee8b078d788eb19704b06b5032eb93f7c6458ea023254efc813aa61fb5366 [INFO] running `Command { std: "docker" "start" "-a" "c9dee8b078d788eb19704b06b5032eb93f7c6458ea023254efc813aa61fb5366", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c9dee8b078d788eb19704b06b5032eb93f7c6458ea023254efc813aa61fb5366", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c9dee8b078d788eb19704b06b5032eb93f7c6458ea023254efc813aa61fb5366", kill_on_drop: false }` [INFO] [stdout] c9dee8b078d788eb19704b06b5032eb93f7c6458ea023254efc813aa61fb5366 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3164c33fc1c135a968a4d6766e5f1223bf0dcf4e5d81416c7b38580763482064 [INFO] running `Command { std: "docker" "start" "-a" "3164c33fc1c135a968a4d6766e5f1223bf0dcf4e5d81416c7b38580763482064", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Compiling proc-macro2 v1.0.12 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling regex-syntax v0.6.17 [INFO] [stderr] Compiling cc v1.0.52 [INFO] [stderr] Compiling syn v1.0.19 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Checking smallvec v1.4.0 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking termcolor v1.1.0 [INFO] [stderr] Compiling inkwell v0.1.0 (https://github.com/TheDan64/inkwell?branch=llvm8-0#9aabeab2) [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Checking once_cell v1.3.1 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Checking codespan v0.5.0 [INFO] [stderr] Checking aho-corasick v0.7.10 [INFO] [stderr] Compiling quote v1.0.4 [INFO] [stderr] Checking codespan-reporting v0.5.0 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking parking_lot_core v0.7.2 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Checking regex v1.3.7 [INFO] [stderr] Compiling structopt-derive v0.2.18 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Compiling llvm-sys v80.1.2 [INFO] [stderr] Checking structopt v0.2.18 [INFO] [stderr] Compiling inkwell_internals v0.1.0 (https://github.com/TheDan64/inkwell?branch=llvm8-0#9aabeab2) [INFO] [stderr] Checking micro_mitten v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `Default` is imported redundantly [INFO] [stdout] --> src/common/idx_vec.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::default::Default; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Default` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Default` is imported redundantly [INFO] [stdout] --> src/common/map.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::default::Default; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Default` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around `if` condition [INFO] [stdout] --> src/middle/analysis/mod.rs:173:12 [INFO] [stdout] | [INFO] [stdout] 173 | if { self.cache.borrow().contains_key(&TypeId::of::()) } { [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 173 - if { self.cache.borrow().contains_key(&TypeId::of::()) } { [INFO] [stdout] 173 + if self.cache.borrow().contains_key(&TypeId::of::()) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Default` is imported redundantly [INFO] [stdout] --> src/common/idx_vec.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::default::Default; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Default` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Default` is imported redundantly [INFO] [stdout] --> src/common/map.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::default::Default; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Default` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around `if` condition [INFO] [stdout] --> src/middle/analysis/mod.rs:173:12 [INFO] [stdout] | [INFO] [stdout] 173 | if { self.cache.borrow().contains_key(&TypeId::of::()) } { [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 173 - if { self.cache.borrow().contains_key(&TypeId::of::()) } { [INFO] [stdout] 173 + if self.cache.borrow().contains_key(&TypeId::of::()) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `sess` is never read [INFO] [stdout] --> src/middle/lowering/ty_ctx.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub(super) struct TyLoweringCtx<'ast> { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 11 | sess: &'ast Opts, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TyLoweringCtx` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `def_idx` is never read [INFO] [stdout] --> src/middle/analysis/graph.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub(super) struct ControlGraph { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 14 | def_idx: ir::DefIdx, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ControlGraph` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `sess` is never read [INFO] [stdout] --> src/middle/lowering/ty_ctx.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub(super) struct TyLoweringCtx<'ast> { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 11 | sess: &'ast Opts, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TyLoweringCtx` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `def_idx` is never read [INFO] [stdout] --> src/middle/analysis/graph.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub(super) struct ControlGraph { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 14 | def_idx: ir::DefIdx, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ControlGraph` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.01s [INFO] running `Command { std: "docker" "inspect" "3164c33fc1c135a968a4d6766e5f1223bf0dcf4e5d81416c7b38580763482064", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3164c33fc1c135a968a4d6766e5f1223bf0dcf4e5d81416c7b38580763482064", kill_on_drop: false }` [INFO] [stdout] 3164c33fc1c135a968a4d6766e5f1223bf0dcf4e5d81416c7b38580763482064 [INFO] checking doctorn/micro-mitten against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdoctorn%2Fmicro-mitten" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/doctorn/micro-mitten on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/doctorn/micro-mitten [INFO] finished tweaking git repo https://github.com/doctorn/micro-mitten [INFO] tweaked toml for git repo https://github.com/doctorn/micro-mitten written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/doctorn/micro-mitten already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 94b6b8c52c12ab45c9a9acaf359cd98ec631b50ecbdeb592455e43b5c94dbd59 [INFO] running `Command { std: "docker" "start" "-a" "94b6b8c52c12ab45c9a9acaf359cd98ec631b50ecbdeb592455e43b5c94dbd59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "94b6b8c52c12ab45c9a9acaf359cd98ec631b50ecbdeb592455e43b5c94dbd59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "94b6b8c52c12ab45c9a9acaf359cd98ec631b50ecbdeb592455e43b5c94dbd59", kill_on_drop: false }` [INFO] [stdout] 94b6b8c52c12ab45c9a9acaf359cd98ec631b50ecbdeb592455e43b5c94dbd59 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] efbfecd281e738180b54d7b5d7d20913f69aa673bd6d03810291b6f3a60ee498 [INFO] running `Command { std: "docker" "start" "-a" "efbfecd281e738180b54d7b5d7d20913f69aa673bd6d03810291b6f3a60ee498", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling regex-syntax v0.6.17 [INFO] [stderr] Compiling proc-macro2 v1.0.12 [INFO] [stderr] Compiling cc v1.0.52 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling syn v1.0.19 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Checking smallvec v1.4.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking termcolor v1.1.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Compiling inkwell v0.1.0 (https://github.com/TheDan64/inkwell?branch=llvm8-0#9aabeab2) [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking codespan v0.5.0 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking once_cell v1.3.1 [INFO] [stderr] Checking codespan-reporting v0.5.0 [INFO] [stderr] Compiling aho-corasick v0.7.10 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling quote v1.0.4 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking parking_lot_core v0.7.2 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Checking regex v1.3.7 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Compiling structopt-derive v0.2.18 [INFO] [stderr] Compiling llvm-sys v80.1.2 [INFO] [stderr] Checking structopt v0.2.18 [INFO] [stderr] Compiling inkwell_internals v0.1.0 (https://github.com/TheDan64/inkwell?branch=llvm8-0#9aabeab2) [INFO] [stderr] Checking micro_mitten v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `Default` is imported redundantly [INFO] [stdout] --> src/common/idx_vec.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::default::Default; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Default` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Default` is imported redundantly [INFO] [stdout] --> src/common/map.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::default::Default; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Default` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around `if` condition [INFO] [stdout] --> src/middle/analysis/mod.rs:173:12 [INFO] [stdout] | [INFO] [stdout] 173 | if { self.cache.borrow().contains_key(&TypeId::of::()) } { [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 173 - if { self.cache.borrow().contains_key(&TypeId::of::()) } { [INFO] [stdout] 173 + if self.cache.borrow().contains_key(&TypeId::of::()) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Default` is imported redundantly [INFO] [stdout] --> src/common/idx_vec.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::default::Default; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Default` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Default` is imported redundantly [INFO] [stdout] --> src/common/map.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::default::Default; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Default` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around `if` condition [INFO] [stdout] --> src/middle/analysis/mod.rs:173:12 [INFO] [stdout] | [INFO] [stdout] 173 | if { self.cache.borrow().contains_key(&TypeId::of::()) } { [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 173 - if { self.cache.borrow().contains_key(&TypeId::of::()) } { [INFO] [stdout] 173 + if self.cache.borrow().contains_key(&TypeId::of::()) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `sess` is never read [INFO] [stdout] --> src/middle/lowering/ty_ctx.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub(super) struct TyLoweringCtx<'ast> { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 11 | sess: &'ast Opts, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TyLoweringCtx` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `def_idx` is never read [INFO] [stdout] --> src/middle/analysis/graph.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub(super) struct ControlGraph { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 14 | def_idx: ir::DefIdx, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ControlGraph` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `sess` is never read [INFO] [stdout] --> src/middle/lowering/ty_ctx.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub(super) struct TyLoweringCtx<'ast> { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 11 | sess: &'ast Opts, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TyLoweringCtx` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `def_idx` is never read [INFO] [stdout] --> src/middle/analysis/graph.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub(super) struct ControlGraph { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 14 | def_idx: ir::DefIdx, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ControlGraph` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.54s [INFO] running `Command { std: "docker" "inspect" "efbfecd281e738180b54d7b5d7d20913f69aa673bd6d03810291b6f3a60ee498", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "efbfecd281e738180b54d7b5d7d20913f69aa673bd6d03810291b6f3a60ee498", kill_on_drop: false }` [INFO] [stdout] efbfecd281e738180b54d7b5d7d20913f69aa673bd6d03810291b6f3a60ee498