[INFO] cloning repository https://github.com/FronzenStringFinalProject/quiz-conv [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/FronzenStringFinalProject/quiz-conv" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFronzenStringFinalProject%2Fquiz-conv", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFronzenStringFinalProject%2Fquiz-conv'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 12497ad248a96d48295b1feb4f4f1267f20fd550 [INFO] checking FronzenStringFinalProject/quiz-conv against try#b28cc4eb48a6415b914e8ad0308be255ff8d73ed for pr-156508-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFronzenStringFinalProject%2Fquiz-conv" "/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/FronzenStringFinalProject/quiz-conv [INFO] finished tweaking git repo https://github.com/FronzenStringFinalProject/quiz-conv [INFO] tweaked toml for git repo https://github.com/FronzenStringFinalProject/quiz-conv written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/FronzenStringFinalProject/quiz-conv on toolchain b28cc4eb48a6415b914e8ad0308be255ff8d73ed [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b28cc4eb48a6415b914e8ad0308be255ff8d73ed" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/FronzenStringFinalProject/quiz-conv 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" "+b28cc4eb48a6415b914e8ad0308be255ff8d73ed" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [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" "+b28cc4eb48a6415b914e8ad0308be255ff8d73ed" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9199ec29093291941613ae881b7c7505c28584b84d67fbad33631f0f3b504936 [INFO] running `Command { std: "docker" "start" "-a" "9199ec29093291941613ae881b7c7505c28584b84d67fbad33631f0f3b504936", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9199ec29093291941613ae881b7c7505c28584b84d67fbad33631f0f3b504936", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9199ec29093291941613ae881b7c7505c28584b84d67fbad33631f0f3b504936", kill_on_drop: false }` [INFO] [stdout] 9199ec29093291941613ae881b7c7505c28584b84d67fbad33631f0f3b504936 [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" "+b28cc4eb48a6415b914e8ad0308be255ff8d73ed" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a31a6415c64f284c311089f251ad0c187f6aca8789fc5db1526a34b8ad17a16b [INFO] running `Command { std: "docker" "start" "-a" "a31a6415c64f284c311089f251ad0c187f6aca8789fc5db1526a34b8ad17a16b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling thiserror v1.0.56 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Checking anstyle v1.0.5 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Compiling serde v1.0.196 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking clap_lex v0.6.0 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Checking anstream v0.6.11 [INFO] [stderr] Checking clap_builder v4.4.18 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Compiling clap_derive v4.4.7 [INFO] [stderr] Compiling pest v2.7.6 [INFO] [stderr] Checking clap v4.4.18 [INFO] [stderr] Compiling pest_meta v2.7.6 [INFO] [stderr] Compiling pest_generator v2.7.6 [INFO] [stderr] Compiling pest_derive v2.7.6 [INFO] [stderr] Checking quiz-conv v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::io::BufReader` [INFO] [stdout] --> src/quiz_grammer.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::BufReader; [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::io::BufReader` [INFO] [stdout] --> src/quiz_grammer.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::BufReader; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/quiz_grammer.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | let mut result = HashMap::new(); [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: `r` [INFO] [stdout] --> src/quiz_grammer.rs:25:21 [INFO] [stdout] | [INFO] [stdout] 25 | let (l, r, o) = if l1.as_rule() == Rule::L1_calculate { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `o` [INFO] [stdout] --> src/quiz_grammer.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | let (l, r, o) = if l1.as_rule() == Rule::L1_calculate { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_o` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `quiz_structure::L1` is more private than the item `Quiz::expr` [INFO] [stdout] --> src/quiz_structure.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub expr:L1, [INFO] [stdout] | ^^^^^^^^^^^ field `Quiz::expr` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `quiz_structure::L1` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/quiz_structure.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | struct L1{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `quiz_structure::L1` is more private than the item `L1Arm::L1::0` [INFO] [stdout] --> src/quiz_structure.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | L1(Box), [INFO] [stdout] | ^^^^^^^ field `L1Arm::L1::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `quiz_structure::L1` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/quiz_structure.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | struct L1{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `QuizParser` is never constructed [INFO] [stdout] --> src/quiz_grammer.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct QuizParser; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `load_quiz` and `handle_l1` are never used [INFO] [stdout] --> src/quiz_grammer.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl QuizParser { [INFO] [stdout] | --------------- associated functions in this implementation [INFO] [stdout] 13 | pub fn load_quiz(input: &str) -> Result>, pest::error::Error> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | fn handle_l1(l1:Pair)->(Pair,Pair,L1Ops){ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Quiz` is never constructed [INFO] [stdout] --> src/quiz_structure.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Quiz{ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `L1Ops` is never used [INFO] [stdout] --> src/quiz_structure.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum L1Ops{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `L1` is never constructed [INFO] [stdout] --> src/quiz_structure.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | struct L1{ [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `L1Arm` is never used [INFO] [stdout] --> src/quiz_structure.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | pub enum L1Arm{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `L2Ops` is never used [INFO] [stdout] --> src/quiz_structure.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | pub enum L2Ops{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `L2Arm` is never used [INFO] [stdout] --> src/quiz_structure.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | pub enum L2Arm{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `L2` is never constructed [INFO] [stdout] --> src/quiz_structure.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct L2{ [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/quiz_grammer.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | let mut result = HashMap::new(); [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: `r` [INFO] [stdout] --> src/quiz_grammer.rs:25:21 [INFO] [stdout] | [INFO] [stdout] 25 | let (l, r, o) = if l1.as_rule() == Rule::L1_calculate { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `o` [INFO] [stdout] --> src/quiz_grammer.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | let (l, r, o) = if l1.as_rule() == Rule::L1_calculate { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_o` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `quiz_structure::L1` is more private than the item `Quiz::expr` [INFO] [stdout] --> src/quiz_structure.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub expr:L1, [INFO] [stdout] | ^^^^^^^^^^^ field `Quiz::expr` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `quiz_structure::L1` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/quiz_structure.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | struct L1{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `quiz_structure::L1` is more private than the item `L1Arm::L1::0` [INFO] [stdout] --> src/quiz_structure.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | L1(Box), [INFO] [stdout] | ^^^^^^^ field `L1Arm::L1::0` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `quiz_structure::L1` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/quiz_structure.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | struct L1{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `expr` and `answer` are never read [INFO] [stdout] --> src/quiz_structure.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Quiz{ [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 4 | pub expr:L1, [INFO] [stdout] | ^^^^ [INFO] [stdout] 5 | pub answer:i16 [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Quiz` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `op`, `left`, and `right` are never read [INFO] [stdout] --> src/quiz_structure.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 13 | struct L1{ [INFO] [stdout] | -- fields in this struct [INFO] [stdout] 14 | pub op:L1Ops, [INFO] [stdout] | ^^ [INFO] [stdout] 15 | pub left:L1Arm, [INFO] [stdout] | ^^^^ [INFO] [stdout] 16 | pub right:L1Arm [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `L1` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Num`, `L1`, and `L2` are never constructed [INFO] [stdout] --> src/quiz_structure.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub enum L1Arm{ [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 20 | Num(i16), [INFO] [stdout] | ^^^ [INFO] [stdout] 21 | L1(Box), [INFO] [stdout] | ^^ [INFO] [stdout] 22 | L2(L2) [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `L1Arm` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Num` and `L2` are never constructed [INFO] [stdout] --> src/quiz_structure.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 30 | pub enum L2Arm{ [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 31 | Num(i16), [INFO] [stdout] | ^^^ [INFO] [stdout] 32 | L2(Box) [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `L2Arm` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `op`, `left`, and `right` are never read [INFO] [stdout] --> src/quiz_structure.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct L2{ [INFO] [stdout] | -- fields in this struct [INFO] [stdout] 37 | pub op:L2Ops, [INFO] [stdout] | ^^ [INFO] [stdout] 38 | pub left:L2Arm, [INFO] [stdout] | ^^^^ [INFO] [stdout] 39 | pub right:L2Arm [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `L2` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.20s [INFO] running `Command { std: "docker" "inspect" "a31a6415c64f284c311089f251ad0c187f6aca8789fc5db1526a34b8ad17a16b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a31a6415c64f284c311089f251ad0c187f6aca8789fc5db1526a34b8ad17a16b", kill_on_drop: false }` [INFO] [stdout] a31a6415c64f284c311089f251ad0c187f6aca8789fc5db1526a34b8ad17a16b