[INFO] cloning repository https://github.com/raphlinus/ghilbert [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/raphlinus/ghilbert" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fraphlinus%2Fghilbert", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fraphlinus%2Fghilbert'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 52428c6e7797c288407a36238c822bf7f56639f3 [INFO] checking raphlinus/ghilbert/52428c6e7797c288407a36238c822bf7f56639f3 against master#8f359beca4e58bc3ae795a666301a8f47023044c for pr-121557 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fraphlinus%2Fghilbert" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/raphlinus/ghilbert on toolchain 8f359beca4e58bc3ae795a666301a8f47023044c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8f359beca4e58bc3ae795a666301a8f47023044c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/raphlinus/ghilbert [INFO] finished tweaking git repo https://github.com/raphlinus/ghilbert [INFO] tweaked toml for git repo https://github.com/raphlinus/ghilbert written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/raphlinus/ghilbert 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" "+8f359beca4e58bc3ae795a666301a8f47023044c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded union-find v0.3.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+8f359beca4e58bc3ae795a666301a8f47023044c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6d553a32f25c1f0c2681152b89ae6b4539f61b97774e146f02c5b7f6f4ff2703 [INFO] running `Command { std: "docker" "start" "-a" "6d553a32f25c1f0c2681152b89ae6b4539f61b97774e146f02c5b7f6f4ff2703", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6d553a32f25c1f0c2681152b89ae6b4539f61b97774e146f02c5b7f6f4ff2703", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d553a32f25c1f0c2681152b89ae6b4539f61b97774e146f02c5b7f6f4ff2703", kill_on_drop: false }` [INFO] [stdout] 6d553a32f25c1f0c2681152b89ae6b4539f61b97774e146f02c5b7f6f4ff2703 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+8f359beca4e58bc3ae795a666301a8f47023044c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e6b3c2a7f750429cd8551e88b34a3013c3d0bd5cedfc4752c0439980ca8319a5 [INFO] running `Command { std: "docker" "start" "-a" "e6b3c2a7f750429cd8551e88b34a3013c3d0bd5cedfc4752c0439980ca8319a5", kill_on_drop: false }` [INFO] [stderr] Checking num-traits v0.1.40 [INFO] [stderr] Checking dtoa v0.4.2 [INFO] [stderr] Checking itoa v0.3.3 [INFO] [stderr] Checking serde v1.0.11 [INFO] [stderr] Checking union-find v0.3.1 [INFO] [stderr] Checking serde_json v1.0.2 [INFO] [stderr] Checking ghilbert v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/unify.rs:471:9 [INFO] [stdout] | [INFO] [stdout] 471 | /// Maps node of bound var to set of term var nodes it can appear free in. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 472 | let mut free_set = BTreeMap::new(); [INFO] [stdout] | ----------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/unify.rs:471:9 [INFO] [stdout] | [INFO] [stdout] 471 | /// Maps node of bound var to set of term var nodes it can appear free in. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 472 | let mut free_set = BTreeMap::new(); [INFO] [stdout] | ----------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/htmlout.rs:342:45 [INFO] [stdout] | [INFO] [stdout] 342 | fn end_proof(&mut self, inspector: &mut Inspector, parser: &Parser) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 342 | fn end_proof(&mut self, inspector: &mut dyn Inspector, parser: &Parser) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/htmlout.rs:342:45 [INFO] [stdout] | [INFO] [stdout] 342 | fn end_proof(&mut self, inspector: &mut Inspector, parser: &Parser) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 342 | fn end_proof(&mut self, inspector: &mut dyn Inspector, parser: &Parser) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/prooflistener.rs:30:45 [INFO] [stdout] | [INFO] [stdout] 30 | fn end_proof(&mut self, inspector: &mut Inspector, parser: &Parser); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 30 | fn end_proof(&mut self, inspector: &mut dyn Inspector, parser: &Parser); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/prooflistener.rs:61:46 [INFO] [stdout] | [INFO] [stdout] 61 | fn end_proof(&mut self, _inspector: &mut Inspector, _parser: &Parser) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 61 | fn end_proof(&mut self, _inspector: &mut dyn Inspector, _parser: &Parser) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/prooflistener.rs:30:45 [INFO] [stdout] | [INFO] [stdout] 30 | fn end_proof(&mut self, inspector: &mut Inspector, parser: &Parser); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 30 | fn end_proof(&mut self, inspector: &mut dyn Inspector, parser: &Parser); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/prooflistener.rs:61:46 [INFO] [stdout] | [INFO] [stdout] 61 | fn end_proof(&mut self, _inspector: &mut Inspector, _parser: &Parser) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 61 | fn end_proof(&mut self, _inspector: &mut dyn Inspector, _parser: &Parser) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `writer` [INFO] [stdout] --> src/htmlout.rs:128:39 [INFO] [stdout] | [INFO] [stdout] 128 | pub fn write(&mut self, writer: &mut W, parser: &Parser) -> io::Result<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_writer` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `writer` [INFO] [stdout] --> src/htmlout.rs:128:39 [INFO] [stdout] | [INFO] [stdout] 128 | pub fn write(&mut self, writer: &mut W, parser: &Parser) -> io::Result<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_writer` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/htmlout.rs:371:30 [INFO] [stdout] | [INFO] [stdout] 371 | fn start_line(&mut self, line: &ParseNode) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lexer.rs:132:13 [INFO] [stdout] | [INFO] [stdout] 132 | let mut node = self.root.traverse(s.chars()); [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: unused variable: `line` [INFO] [stdout] --> src/htmlout.rs:371:30 [INFO] [stdout] | [INFO] [stdout] 371 | fn start_line(&mut self, line: &ParseNode) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lexer.rs:132:13 [INFO] [stdout] | [INFO] [stdout] 132 | let mut node = self.root.traverse(s.chars()); [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: method `cur_info` is never used [INFO] [stdout] --> src/htmlout.rs:307:8 [INFO] [stdout] | [INFO] [stdout] 103 | impl<'a> HtmlOut<'a> { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 307 | fn cur_info(&self) -> &ThmInfo { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `end` is never read [INFO] [stdout] --> src/parser.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct ParseNode { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 23 | start: usize, [INFO] [stdout] 24 | end: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParseNode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_end` is never used [INFO] [stdout] --> src/parser.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 29 | impl ParseNode { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn get_end(&self) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `session` is never read [INFO] [stdout] --> src/session.rs:566:5 [INFO] [stdout] | [INFO] [stdout] 560 | pub struct MyInspector<'a: 'b, 'b> { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 566 | session: &'b Session<'a>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `cur_info` is never used [INFO] [stdout] --> src/htmlout.rs:307:8 [INFO] [stdout] | [INFO] [stdout] 103 | impl<'a> HtmlOut<'a> { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 307 | fn cur_info(&self) -> &ThmInfo { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `end` is never read [INFO] [stdout] --> src/parser.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct ParseNode { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 23 | start: usize, [INFO] [stdout] 24 | end: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParseNode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_end` is never used [INFO] [stdout] --> src/parser.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 29 | impl ParseNode { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn get_end(&self) -> usize { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `session` is never read [INFO] [stdout] --> src/session.rs:566:5 [INFO] [stdout] | [INFO] [stdout] 560 | pub struct MyInspector<'a: 'b, 'b> { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 566 | session: &'b Session<'a>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.70s [INFO] running `Command { std: "docker" "inspect" "e6b3c2a7f750429cd8551e88b34a3013c3d0bd5cedfc4752c0439980ca8319a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e6b3c2a7f750429cd8551e88b34a3013c3d0bd5cedfc4752c0439980ca8319a5", kill_on_drop: false }` [INFO] [stdout] e6b3c2a7f750429cd8551e88b34a3013c3d0bd5cedfc4752c0439980ca8319a5