[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 try#9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869 for pr-129249 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdoctorn%2Fmicro-mitten" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/doctorn/micro-mitten on toolchain 9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "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-0-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" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0ec7a593cf66e1fa1ba082f6d76f472fa7aaaf765bca0815b0c88357bfffb40e [INFO] running `Command { std: "docker" "start" "-a" "0ec7a593cf66e1fa1ba082f6d76f472fa7aaaf765bca0815b0c88357bfffb40e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0ec7a593cf66e1fa1ba082f6d76f472fa7aaaf765bca0815b0c88357bfffb40e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ec7a593cf66e1fa1ba082f6d76f472fa7aaaf765bca0815b0c88357bfffb40e", kill_on_drop: false }` [INFO] [stdout] 0ec7a593cf66e1fa1ba082f6d76f472fa7aaaf765bca0815b0c88357bfffb40e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bf9eaa6614db031603262796b2c4327a27961aaf1010b77f705767d858e4b329 [INFO] running `Command { std: "docker" "start" "-a" "bf9eaa6614db031603262796b2c4327a27961aaf1010b77f705767d858e4b329", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling proc-macro2 v1.0.12 [INFO] [stderr] Compiling regex-syntax v0.6.17 [INFO] [stderr] Compiling cc v1.0.52 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling syn v1.0.19 [INFO] [stderr] Compiling aho-corasick v0.7.10 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling quote v1.0.4 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Checking smallvec v1.4.0 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking parking_lot_core v0.7.2 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking termcolor v1.1.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking ansi_term v0.11.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 parking_lot v0.10.2 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking codespan v0.5.0 [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] 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: 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: 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] error: this conversion is useless `Ref<'_, idx_vec::IdxVec::Context>>` to `Ref<'_, idx_vec::IdxVec::Context>>` [INFO] [stdout] --> src/middle/analysis/mod.rs:232:20 [INFO] [stdout] | [INFO] [stdout] 232 | guard: self.contexts.borrow().into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `Ref<'_, idx_vec::IdxVec::Summary>>` to `Ref<'_, idx_vec::IdxVec::Summary>>` [INFO] [stdout] --> src/middle/analysis/mod.rs:251:20 [INFO] [stdout] | [INFO] [stdout] 251 | guard: self.summaries.borrow().into(), [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] error: this conversion is useless `Ref<'_, idx_vec::IdxVec::Context>>` to `Ref<'_, idx_vec::IdxVec::Context>>` [INFO] [stdout] --> src/middle/analysis/mod.rs:232:20 [INFO] [stdout] | [INFO] [stdout] 232 | guard: self.contexts.borrow().into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `Ref<'_, idx_vec::IdxVec::Summary>>` to `Ref<'_, idx_vec::IdxVec::Summary>>` [INFO] [stdout] --> src/middle/analysis/mod.rs:251:20 [INFO] [stdout] | [INFO] [stdout] 251 | guard: self.summaries.borrow().into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `micro_mitten` (lib) due to 2 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `micro_mitten` (lib test) due to 2 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "bf9eaa6614db031603262796b2c4327a27961aaf1010b77f705767d858e4b329", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf9eaa6614db031603262796b2c4327a27961aaf1010b77f705767d858e4b329", kill_on_drop: false }` [INFO] [stdout] bf9eaa6614db031603262796b2c4327a27961aaf1010b77f705767d858e4b329