[INFO] cloning repository https://github.com/Egggggg/factory-thing [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Egggggg/factory-thing" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEgggggg%2Ffactory-thing", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEgggggg%2Ffactory-thing'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e6a0fee8de75b24a00f50016a3135e0444a4c34d [INFO] checking Egggggg/factory-thing/e6a0fee8de75b24a00f50016a3135e0444a4c34d against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEgggggg%2Ffactory-thing" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Egggggg/factory-thing on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Egggggg/factory-thing [INFO] finished tweaking git repo https://github.com/Egggggg/factory-thing [INFO] tweaked toml for git repo https://github.com/Egggggg/factory-thing written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Egggggg/factory-thing 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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded chumsky v0.9.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 60579b60e4ceb945c7af617472ed6c867c64d3192c7866d260169aa99cab82ac [INFO] running `Command { std: "docker" "start" "-a" "60579b60e4ceb945c7af617472ed6c867c64d3192c7866d260169aa99cab82ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "60579b60e4ceb945c7af617472ed6c867c64d3192c7866d260169aa99cab82ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "60579b60e4ceb945c7af617472ed6c867c64d3192c7866d260169aa99cab82ac", kill_on_drop: false }` [INFO] [stdout] 60579b60e4ceb945c7af617472ed6c867c64d3192c7866d260169aa99cab82ac [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 30bddaa601d6700af49ba5578b11292a4f48781f73b55bf01953f8909868ad36 [INFO] running `Command { std: "docker" "start" "-a" "30bddaa601d6700af49ba5578b11292a4f48781f73b55bf01953f8909868ad36", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.90 [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Checking allocator-api2 v0.2.16 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling psm v0.1.21 [INFO] [stderr] Compiling stacker v0.1.15 [INFO] [stderr] Compiling syn v2.0.53 [INFO] [stderr] Checking chumsky v0.9.3 [INFO] [stderr] Compiling logos-codegen v0.14.0 [INFO] [stderr] Compiling logos-derive v0.14.0 [INFO] [stderr] Checking logos v0.14.0 [INFO] [stderr] Checking factory v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `cmp::Ordering` [INFO] [stdout] --> src/main.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{cell::RefCell, cmp::Ordering, collections::HashMap, fmt::Display, fs::{read_dir, read_to_string}, path::Path, rc::Rc, thread::s... [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `lang::parser::Expr` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use lang::parser::Expr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cmp::Ordering` [INFO] [stdout] --> src/main.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{cell::RefCell, cmp::Ordering, collections::HashMap, fmt::Display, fs::{read_dir, read_to_string}, path::Path, rc::Rc, thread::s... [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `lang::parser::Expr` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use lang::parser::Expr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module` [INFO] [stdout] --> src/factory.rs:423:72 [INFO] [stdout] | [INFO] [stdout] 423 | fn register_knowledge(&mut self, name: &str, outputs: Vec, module: &str) -> Result<(), FactoryError> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_module` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `old_next` [INFO] [stdout] --> src/factory.rs:642:17 [INFO] [stdout] | [INFO] [stdout] 642 | let old_next = next; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_old_next` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `successful` [INFO] [stdout] --> src/factory.rs:663:21 [INFO] [stdout] | [INFO] [stdout] 663 | let mut successful = false; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_successful` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/factory.rs:663:17 [INFO] [stdout] | [INFO] [stdout] 663 | let mut successful = false; [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: `module` [INFO] [stdout] --> src/factory.rs:423:72 [INFO] [stdout] | [INFO] [stdout] 423 | fn register_knowledge(&mut self, name: &str, outputs: Vec, module: &str) -> Result<(), FactoryError> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_module` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Product`, `Recipe`, `Stream`, and `Knowledge` are never constructed [INFO] [stdout] --> src/factory.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 38 | pub enum Object { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] 39 | Product, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 40 | Recipe, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 41 | Stream, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 42 | Knowledge, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Object` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/factory.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 88 | Exists(String), [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `FactoryError` has derived impls for the traits `Debug` and `Clone`, but these are 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] 88 | Exists(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `LexerError` is never used [INFO] [stdout] --> src/lang/lexer.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum LexerError { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LexerError` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `UnexpectedToken` and `UnknownToken` are never constructed [INFO] [stdout] --> src/lang/parser.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub enum ParseError { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 24 | UnexpectedToken{ expected: Token, found: Token, span: Span }, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 25 | UnknownToken(Span), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParseError` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Partial` is never constructed [INFO] [stdout] --> src/lang/parser.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 88 | pub enum Expr { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 100 | Partial { lhs: Box, portion: f64 }, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Expr` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `old_next` [INFO] [stdout] --> src/factory.rs:642:17 [INFO] [stdout] | [INFO] [stdout] 642 | let old_next = next; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_old_next` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `successful` [INFO] [stdout] --> src/factory.rs:663:21 [INFO] [stdout] | [INFO] [stdout] 663 | let mut successful = false; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_successful` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/factory.rs:663:17 [INFO] [stdout] | [INFO] [stdout] 663 | let mut successful = false; [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: variants `Product`, `Recipe`, `Stream`, and `Knowledge` are never constructed [INFO] [stdout] --> src/factory.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 38 | pub enum Object { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] 39 | Product, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 40 | Recipe, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 41 | Stream, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 42 | Knowledge, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Object` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/factory.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 88 | Exists(String), [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `FactoryError` has derived impls for the traits `Debug` and `Clone`, but these are 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] 88 | Exists(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `LexerError` is never used [INFO] [stdout] --> src/lang/lexer.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum LexerError { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LexerError` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `UnexpectedToken` and `UnknownToken` are never constructed [INFO] [stdout] --> src/lang/parser.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub enum ParseError { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 24 | UnexpectedToken{ expected: Token, found: Token, span: Span }, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 25 | UnknownToken(Span), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParseError` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Partial` is never constructed [INFO] [stdout] --> src/lang/parser.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 88 | pub enum Expr { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 100 | Partial { lhs: Box, portion: f64 }, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Expr` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.79s [INFO] running `Command { std: "docker" "inspect" "30bddaa601d6700af49ba5578b11292a4f48781f73b55bf01953f8909868ad36", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "30bddaa601d6700af49ba5578b11292a4f48781f73b55bf01953f8909868ad36", kill_on_drop: false }` [INFO] [stdout] 30bddaa601d6700af49ba5578b11292a4f48781f73b55bf01953f8909868ad36