[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 against try#6cbf54b1453b438241487f195740266bb9d8c8ba for pr-139587-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fraphlinus%2Fghilbert" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/raphlinus/ghilbert on toolchain 6cbf54b1453b438241487f195740266bb9d8c8ba [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6cbf54b1453b438241487f195740266bb9d8c8ba" "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-3-tc2/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" "+6cbf54b1453b438241487f195740266bb9d8c8ba" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+6cbf54b1453b438241487f195740266bb9d8c8ba" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a32abb4cb713aed3ace9d4dfa474c364967bab6aa6239efd5b9c7729311a1375 [INFO] running `Command { std: "docker" "start" "-a" "a32abb4cb713aed3ace9d4dfa474c364967bab6aa6239efd5b9c7729311a1375", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a32abb4cb713aed3ace9d4dfa474c364967bab6aa6239efd5b9c7729311a1375", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a32abb4cb713aed3ace9d4dfa474c364967bab6aa6239efd5b9c7729311a1375", kill_on_drop: false }` [INFO] [stdout] a32abb4cb713aed3ace9d4dfa474c364967bab6aa6239efd5b9c7729311a1375 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+6cbf54b1453b438241487f195740266bb9d8c8ba" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 321b033688bd09ef71c2a35afa46a8677c44ffc87517ad114bbec33a003f2f4c [INFO] running `Command { std: "docker" "start" "-a" "321b033688bd09ef71c2a35afa46a8677c44ffc87517ad114bbec33a003f2f4c", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking dtoa v0.4.2 [INFO] [stderr] Checking itoa v0.3.3 [INFO] [stderr] Checking serde v1.0.11 [INFO] [stderr] Checking num-traits v0.1.40 [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: 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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible 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/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] help: if this is a dyn-compatible 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: 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/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 a dyn-compatible 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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible 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/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] help: if this is a dyn-compatible 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: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 a dyn-compatible 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: `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: `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: 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 `0` is never read [INFO] [stdout] --> src/session.rs:44:16 [INFO] [stdout] | [INFO] [stdout] 44 | ParseError(parser::Error), [INFO] [stdout] | ---------- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 44 - ParseError(parser::Error), [INFO] [stdout] 44 + ParseError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/session.rs:45:16 [INFO] [stdout] | [INFO] [stdout] 45 | UnifyError(unify::Error), [INFO] [stdout] | ---------- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 45 - UnifyError(unify::Error), [INFO] [stdout] 45 + UnifyError(()), [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 `0` is never read [INFO] [stdout] --> src/session.rs:44:16 [INFO] [stdout] | [INFO] [stdout] 44 | ParseError(parser::Error), [INFO] [stdout] | ---------- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 44 - ParseError(parser::Error), [INFO] [stdout] 44 + ParseError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/session.rs:45:16 [INFO] [stdout] | [INFO] [stdout] 45 | UnifyError(unify::Error), [INFO] [stdout] | ---------- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 45 - UnifyError(unify::Error), [INFO] [stdout] 45 + UnifyError(()), [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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.56s [INFO] running `Command { std: "docker" "inspect" "321b033688bd09ef71c2a35afa46a8677c44ffc87517ad114bbec33a003f2f4c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "321b033688bd09ef71c2a35afa46a8677c44ffc87517ad114bbec33a003f2f4c", kill_on_drop: false }` [INFO] [stdout] 321b033688bd09ef71c2a35afa46a8677c44ffc87517ad114bbec33a003f2f4c