[INFO] cloning repository https://github.com/accusitive/sweetc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/accusitive/sweetc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faccusitive%2Fsweetc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faccusitive%2Fsweetc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6bf5debbe05cbff0482112998d9acd1bb54c09bf [INFO] checking accusitive/sweetc against try#012cd62c9add58ab3910e44c137d87db3ab70f61 for pr-155915 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faccusitive%2Fsweetc" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/accusitive/sweetc [INFO] finished tweaking git repo https://github.com/accusitive/sweetc [INFO] tweaked toml for git repo https://github.com/accusitive/sweetc written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/accusitive/sweetc 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/accusitive/sweetc 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-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+012cd62c9add58ab3910e44c137d87db3ab70f61" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bb764368549a6bac702780ebb63a65ac58b192bc2f8a3538f785f691740340bc [INFO] running `Command { std: "docker" "start" "-a" "bb764368549a6bac702780ebb63a65ac58b192bc2f8a3538f785f691740340bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bb764368549a6bac702780ebb63a65ac58b192bc2f8a3538f785f691740340bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb764368549a6bac702780ebb63a65ac58b192bc2f8a3538f785f691740340bc", kill_on_drop: false }` [INFO] [stdout] bb764368549a6bac702780ebb63a65ac58b192bc2f8a3538f785f691740340bc [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+012cd62c9add58ab3910e44c137d87db3ab70f61" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9f0322cf642acdcce224464b19b364aadd6d23abe889b33efc386eefffb299f9 [INFO] running `Command { std: "docker" "start" "-a" "9f0322cf642acdcce224464b19b364aadd6d23abe889b33efc386eefffb299f9", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.2.23 [INFO] [stderr] Compiling chumsky v0.10.1 [INFO] [stderr] Checking unicode-segmentation v1.12.0 [INFO] [stderr] Checking unicode-ident v1.0.18 [INFO] [stderr] Checking yansi v1.0.1 [INFO] [stderr] Checking bumpalo v3.17.0 [INFO] [stderr] Checking infer v0.1.0 (/opt/rustwide/workdir/infer) [INFO] [stderr] Checking hashbrown v0.15.3 [INFO] [stderr] Checking ariadne v0.5.1 [INFO] [stderr] Compiling psm v0.1.26 [INFO] [stderr] Compiling stacker v0.1.21 [INFO] [stderr] Checking parser v0.1.0 (/opt/rustwide/workdir/parser) [INFO] [stdout] warning: unused imports: `Display`, `Write`, `ops::Deref`, and `write` [INFO] [stdout] --> parser/src/lib.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | fmt::{Display, Write, write}, [INFO] [stdout] | ^^^^^^^ ^^^^^ ^^^^^ [INFO] [stdout] 4 | ops::Deref, [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 imports: `BinaryOperation`, `Expression`, `Item`, `Parameter`, `PathSegment`, `Path`, `Ty`, `TypeDefinitionKind`, and `TypeParameter` [INFO] [stdout] --> parser/src/lib.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | BinaryOperation, Expression, Item, Parameter, Path, PathSegment, TranslationUnit, Ty, [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^ ^^^^^^^^^ ^^^^ ^^^^^^^^^^^ ^^ [INFO] [stdout] 13 | TypeDefinitionKind, TypeParameter, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> parser/src/parser.rs:268:26 [INFO] [stdout] | [INFO] [stdout] 268 | .map_with(|(((condition), then), elze), e| { [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] 268 - .map_with(|(((condition), then), elze), e| { [INFO] [stdout] 268 + .map_with(|((condition , then), elze), e| { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> parser/src/parser.rs:213:70 [INFO] [stdout] | [INFO] [stdout] 213 | let r#false = just(Token::Keyword(Keyword::False)).map_with(|i, e| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> parser/src/parser.rs:206:68 [INFO] [stdout] | [INFO] [stdout] 206 | let r#true = just(Token::Keyword(Keyword::True)).map_with(|i, e| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: feature `iter_intersperse` is declared but not used [INFO] [stdout] --> parser/src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(iter_intersperse)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_features)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking hir v0.1.0 (/opt/rustwide/workdir/hir) [INFO] [stdout] warning: unused import: `core::panic` [INFO] [stdout] --> hir/src/lib.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::panic; [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 imports: `any::Any`, `fmt::Display`, and `panic::UnwindSafe` [INFO] [stdout] --> hir/src/lib.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{any::Any, collections::HashMap, fmt::Display, ops::Deref, panic::UnwindSafe}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BinaryOperation` [INFO] [stdout] --> hir/src/lib.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | parser::{BinaryOperation, Path, SpannedIdentifier, TypeDefinitionKind}, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `struct_definition` [INFO] [stdout] --> hir/src/lib.rs:267:32 [INFO] [stdout] | [INFO] [stdout] 267 | Definition::Struct(struct_definition) => todo!(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_struct_definition` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `patch` [INFO] [stdout] --> hir/src/lib.rs:274:13 [INFO] [stdout] | [INFO] [stdout] 274 | let patch = |this: &mut Self, t| match t { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_patch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `boolean_literal` [INFO] [stdout] --> hir/src/lib.rs:414:39 [INFO] [stdout] | [INFO] [stdout] 414 | ast::Literal::Boolean(boolean_literal) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_boolean_literal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `def_id` [INFO] [stdout] --> hir/src/lib.rs:460:48 [INFO] [stdout] | [INFO] [stdout] 460 | ExprKind::Local(type_args, def_id) => { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_def_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `def_id` [INFO] [stdout] --> hir/src/lib.rs:463:47 [INFO] [stdout] | [INFO] [stdout] 463 | ... TyKind::Local(def_id) => { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_def_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `def_id` [INFO] [stdout] --> hir/src/lib.rs:480:43 [INFO] [stdout] | [INFO] [stdout] 480 | t @ TyKind::Local(def_id) => { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_def_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `def_id` [INFO] [stdout] --> hir/src/lib.rs:500:35 [INFO] [stdout] | [INFO] [stdout] 500 | TyKind::Local(def_id) => Ty { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_def_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking hm_test v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::fmt::Write` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::Write; [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: `std::fmt::Write` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::Write; [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 variable: `function_definition` [INFO] [stdout] --> src/main.rs:79:55 [INFO] [stdout] | [INFO] [stdout] 79 | ... hir::Definition::Function(function_definition) => todo!(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_function_definition` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `struct_definition` [INFO] [stdout] --> src/main.rs:80:53 [INFO] [stdout] | [INFO] [stdout] 80 | ... hir::Definition::Struct(struct_definition) => todo!(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_struct_definition` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parameter` [INFO] [stdout] --> src/main.rs:84:56 [INFO] [stdout] | [INFO] [stdout] 84 | ... hir::Definition::Parameter(parameter) => todo!(), [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_parameter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hir_id` [INFO] [stdout] --> src/main.rs:85:52 [INFO] [stdout] | [INFO] [stdout] 85 | ... hir::Definition::Local(hir_id) => todo!(), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_hir_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `function_definition` [INFO] [stdout] --> src/main.rs:79:55 [INFO] [stdout] | [INFO] [stdout] 79 | ... hir::Definition::Function(function_definition) => todo!(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_function_definition` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `struct_definition` [INFO] [stdout] --> src/main.rs:80:53 [INFO] [stdout] | [INFO] [stdout] 80 | ... hir::Definition::Struct(struct_definition) => todo!(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_struct_definition` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parameter` [INFO] [stdout] --> src/main.rs:84:56 [INFO] [stdout] | [INFO] [stdout] 84 | ... hir::Definition::Parameter(parameter) => todo!(), [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_parameter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hir_id` [INFO] [stdout] --> src/main.rs:85:52 [INFO] [stdout] | [INFO] [stdout] 85 | ... hir::Definition::Local(hir_id) => todo!(), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_hir_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.26s [INFO] running `Command { std: "docker" "inspect" "9f0322cf642acdcce224464b19b364aadd6d23abe889b33efc386eefffb299f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f0322cf642acdcce224464b19b364aadd6d23abe889b33efc386eefffb299f9", kill_on_drop: false }` [INFO] [stdout] 9f0322cf642acdcce224464b19b364aadd6d23abe889b33efc386eefffb299f9