[INFO] cloning repository https://github.com/LiliumOS/knums-tool-new [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LiliumOS/knums-tool-new" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLiliumOS%2Fknums-tool-new", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLiliumOS%2Fknums-tool-new'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ff0cbab7967b9be6a473dc4fe8c1252acfcdb945 [INFO] checking LiliumOS/knums-tool-new against try#012cd62c9add58ab3910e44c137d87db3ab70f61 for pr-155915 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLiliumOS%2Fknums-tool-new" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/LiliumOS/knums-tool-new [INFO] finished tweaking git repo https://github.com/LiliumOS/knums-tool-new [INFO] tweaked toml for git repo https://github.com/LiliumOS/knums-tool-new written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/LiliumOS/knums-tool-new on toolchain 012cd62c9add58ab3910e44c137d87db3ab70f61 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+012cd62c9add58ab3910e44c137d87db3ab70f61" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/LiliumOS/knums-tool-new 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" "+012cd62c9add58ab3910e44c137d87db3ab70f61" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+012cd62c9add58ab3910e44c137d87db3ab70f61" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9559b67d7586928480ac380f7e02c1e18722b757fcb51de2d417742d3f37fa0d [INFO] running `Command { std: "docker" "start" "-a" "9559b67d7586928480ac380f7e02c1e18722b757fcb51de2d417742d3f37fa0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9559b67d7586928480ac380f7e02c1e18722b757fcb51de2d417742d3f37fa0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9559b67d7586928480ac380f7e02c1e18722b757fcb51de2d417742d3f37fa0d", kill_on_drop: false }` [INFO] [stdout] 9559b67d7586928480ac380f7e02c1e18722b757fcb51de2d417742d3f37fa0d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+012cd62c9add58ab3910e44c137d87db3ab70f61" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 193b0587d9b34d6aef0c185be3515c31277b23d46b95bfbac81b29980c4cab39 [INFO] running `Command { std: "docker" "start" "-a" "193b0587d9b34d6aef0c185be3515c31277b23d46b95bfbac81b29980c4cab39", kill_on_drop: false }` [INFO] [stderr] Compiling rustix v1.1.4 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Compiling peg-runtime v0.8.5 [INFO] [stderr] Checking unicode-xid v0.2.6 [INFO] [stderr] Compiling logos-codegen v0.15.1 [INFO] [stderr] Checking bincode v2.0.1 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Checking filetime v0.2.27 [INFO] [stderr] Checking uuid v1.22.0 [INFO] [stderr] Compiling peg-macros v0.8.5 [INFO] [stderr] Checking lilium-sys v0.1.0 (https://github.com/LiliumOS/lilium-sys.git#0f940891) [INFO] [stderr] Checking peg v0.8.5 [INFO] [stderr] Checking xattr v1.6.1 [INFO] [stderr] Checking tar v0.4.44 [INFO] [stderr] Checking imt v0.1.0 (https://github.com/LiliumOS/imt.git#8936b5ff) [INFO] [stderr] Compiling logos-derive v0.15.1 [INFO] [stderr] Checking logos v0.15.1 [INFO] [stderr] Checking knums-tool-new v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `collections::HashSet` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | collections::HashSet, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `logos::Logos` [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use logos::Logos; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Token` [INFO] [stdout] --> src/main.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | lexer::{Token, lex_file}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `uuid::Uuid` [INFO] [stdout] --> src/imt_builder.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | uuid::Uuid, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GenericSuffix` and `ItemBody` [INFO] [stdout] --> src/imt_builder.rs:17:24 [INFO] [stdout] | [INFO] [stdout] 17 | use crate::ast::{self, GenericSuffix, Generics, ItemBody, StructKind}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/imt_builder.rs:36:33 [INFO] [stdout] | [INFO] [stdout] 36 | let inner = replace((&mut **inner), ast::Expr::IntLiteral(0)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 36 - let inner = replace((&mut **inner), ast::Expr::IntLiteral(0)); [INFO] [stdout] 36 + let inner = replace(&mut **inner , ast::Expr::IntLiteral(0)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `time::Instant` [INFO] [stdout] --> src/lexer.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{borrow::Cow, time::Instant}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `collections::HashSet` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | collections::HashSet, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `logos::Logos` [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use logos::Logos; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Token` [INFO] [stdout] --> src/main.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | lexer::{Token, lex_file}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `uuid::Uuid` [INFO] [stdout] --> src/imt_builder.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | uuid::Uuid, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GenericSuffix` and `ItemBody` [INFO] [stdout] --> src/imt_builder.rs:17:24 [INFO] [stdout] | [INFO] [stdout] 17 | use crate::ast::{self, GenericSuffix, Generics, ItemBody, StructKind}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/imt_builder.rs:36:33 [INFO] [stdout] | [INFO] [stdout] 36 | let inner = replace((&mut **inner), ast::Expr::IntLiteral(0)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 36 - let inner = replace((&mut **inner), ast::Expr::IntLiteral(0)); [INFO] [stdout] 36 + let inner = replace(&mut **inner , ast::Expr::IntLiteral(0)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `time::Instant` [INFO] [stdout] --> src/lexer.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{borrow::Cow, time::Instant}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `doc_attr` [INFO] [stdout] --> src/imt_builder.rs:344:9 [INFO] [stdout] | [INFO] [stdout] 344 | let doc_attr = ItemDoc { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_doc_attr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item_enum` [INFO] [stdout] --> src/imt_builder.rs:570:29 [INFO] [stdout] | [INFO] [stdout] 570 | ast::ItemBody::Enum(item_enum) => todo!("enum"), [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_item_enum` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `doc_attr` [INFO] [stdout] --> src/imt_builder.rs:344:9 [INFO] [stdout] | [INFO] [stdout] 344 | let doc_attr = ItemDoc { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_doc_attr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item_enum` [INFO] [stdout] --> src/imt_builder.rs:570:29 [INFO] [stdout] | [INFO] [stdout] 570 | ast::ItemBody::Enum(item_enum) => todo!("enum"), [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_item_enum` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | let mut output_file: Option; [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/main.rs:95:13 [INFO] [stdout] | [INFO] [stdout] 95 | x => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `into_owned` is never used [INFO] [stdout] --> src/lexer.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 68 | impl<'src> LexError<'src> { [INFO] [stdout] | ------------------------- method in this implementation [INFO] [stdout] 69 | pub fn into_owned(self) -> LexError<'static> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | let mut output_file: Option; [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/main.rs:95:13 [INFO] [stdout] | [INFO] [stdout] 95 | x => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `into_owned` is never used [INFO] [stdout] --> src/lexer.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 68 | impl<'src> LexError<'src> { [INFO] [stdout] | ------------------------- method in this implementation [INFO] [stdout] 69 | pub fn into_owned(self) -> LexError<'static> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.11s [INFO] running `Command { std: "docker" "inspect" "193b0587d9b34d6aef0c185be3515c31277b23d46b95bfbac81b29980c4cab39", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "193b0587d9b34d6aef0c185be3515c31277b23d46b95bfbac81b29980c4cab39", kill_on_drop: false }` [INFO] [stdout] 193b0587d9b34d6aef0c185be3515c31277b23d46b95bfbac81b29980c4cab39