[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#bca37a20bd376ce3fd138e7cdee7fe704e0f8814 for pr-139493-3 [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] 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] validating manifest of git repo https://github.com/doctorn/micro-mitten on toolchain bca37a20bd376ce3fd138e7cdee7fe704e0f8814 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/TheDan64/inkwell` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded proc-macro2 v1.0.12 [INFO] [stderr] Downloaded codespan-reporting v0.5.0 [INFO] [stderr] Downloaded structopt-derive v0.2.18 [INFO] [stderr] Downloaded codespan v0.5.0 [INFO] [stderr] Downloaded once_cell v1.3.1 [INFO] [stderr] Downloaded quote v1.0.4 [INFO] [stderr] Downloaded structopt v0.2.18 [INFO] [stderr] Downloaded llvm-sys v80.1.2 [INFO] [stderr] Downloaded syn v1.0.19 [INFO] [stderr] Downloaded regex v1.3.7 [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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ef2ea6afd8fb711cd802412de7b94f8b847d061d8502aa28893f36511bb14d89 [INFO] running `Command { std: "docker" "start" "-a" "ef2ea6afd8fb711cd802412de7b94f8b847d061d8502aa28893f36511bb14d89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ef2ea6afd8fb711cd802412de7b94f8b847d061d8502aa28893f36511bb14d89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef2ea6afd8fb711cd802412de7b94f8b847d061d8502aa28893f36511bb14d89", kill_on_drop: false }` [INFO] [stdout] ef2ea6afd8fb711cd802412de7b94f8b847d061d8502aa28893f36511bb14d89 [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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 979d0a014ce646bde829587c07e6cf375070631ea668c092735399467dc9c1a1 [INFO] running `Command { std: "docker" "start" "-a" "979d0a014ce646bde829587c07e6cf375070631ea668c092735399467dc9c1a1", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Compiling regex-syntax v0.6.17 [INFO] [stderr] Compiling proc-macro2 v1.0.12 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling cc v1.0.52 [INFO] [stderr] Compiling syn v1.0.19 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling aho-corasick v0.7.10 [INFO] [stderr] Checking smallvec v1.4.0 [INFO] [stderr] Compiling quote v1.0.4 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking parking_lot_core v0.7.2 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Compiling inkwell v0.1.0 (https://github.com/TheDan64/inkwell?branch=llvm8-0#9aabeab2) [INFO] [stderr] Checking termcolor v1.1.0 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking codespan v0.5.0 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Checking once_cell v1.3.1 [INFO] [stderr] Checking codespan-reporting v0.5.0 [INFO] [stderr] Compiling regex v1.3.7 [INFO] [stderr] Compiling structopt-derive v0.2.18 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking structopt v0.2.18 [INFO] [stderr] Compiling llvm-sys v80.1.2 [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: 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)]` (part of `#[warn(unused)]`) 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: 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/middle/analysis/mod.rs:172:30 [INFO] [stdout] | [INFO] [stdout] 172 | pub fn pass(&self) -> AnalysisRef { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 172 | pub fn pass(&self) -> AnalysisRef<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/syntax/lex.rs:122:22 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn new(sess: &Files, file_id: FileId) -> Lexer { [INFO] [stdout] | ^^^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 122 | pub fn new(sess: &Files, file_id: FileId) -> Lexer<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ty.rs:264:20 [INFO] [stdout] | [INFO] [stdout] 264 | pub fn ty_kind(&self, ty: Ty) -> TyKindRef { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 264 | pub fn ty_kind(&self, ty: Ty) -> TyKindRef<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ty.rs:271:24 [INFO] [stdout] | [INFO] [stdout] 271 | pub fn ty_kind_mut(&mut self, ty: Ty) -> TyKindRefMut { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 271 | pub fn ty_kind_mut(&mut self, ty: Ty) -> TyKindRefMut<'_> { [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)]` (part of `#[warn(unused)]`) 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/middle/analysis/mod.rs:172:30 [INFO] [stdout] | [INFO] [stdout] 172 | pub fn pass(&self) -> AnalysisRef { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 172 | pub fn pass(&self) -> AnalysisRef<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/syntax/lex.rs:122:22 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn new(sess: &Files, file_id: FileId) -> Lexer { [INFO] [stdout] | ^^^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 122 | pub fn new(sess: &Files, file_id: FileId) -> Lexer<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ty.rs:264:20 [INFO] [stdout] | [INFO] [stdout] 264 | pub fn ty_kind(&self, ty: Ty) -> TyKindRef { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 264 | pub fn ty_kind(&self, ty: Ty) -> TyKindRef<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ty.rs:271:24 [INFO] [stdout] | [INFO] [stdout] 271 | pub fn ty_kind_mut(&mut self, ty: Ty) -> TyKindRefMut { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 271 | pub fn ty_kind_mut(&mut self, ty: Ty) -> TyKindRefMut<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 32.75s [INFO] running `Command { std: "docker" "inspect" "979d0a014ce646bde829587c07e6cf375070631ea668c092735399467dc9c1a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "979d0a014ce646bde829587c07e6cf375070631ea668c092735399467dc9c1a1", kill_on_drop: false }` [INFO] [stdout] 979d0a014ce646bde829587c07e6cf375070631ea668c092735399467dc9c1a1