[INFO] cloning repository https://github.com/David-G96/anon-lang [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/David-G96/anon-lang" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDavid-G96%2Fanon-lang", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDavid-G96%2Fanon-lang'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f734e77a7cc91c39dde805b4a1460775bcf0fa31 [INFO] checking David-G96/anon-lang against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDavid-G96%2Fanon-lang" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/David-G96/anon-lang [INFO] finished tweaking git repo https://github.com/David-G96/anon-lang [INFO] tweaked toml for git repo https://github.com/David-G96/anon-lang written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/David-G96/anon-lang on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/David-G96/anon-lang 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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4095a67c9b1e8ce09c1ea33ba3c2b8c19ce8b709b2010a3c2687598796345177 [INFO] running `Command { std: "docker" "start" "-a" "4095a67c9b1e8ce09c1ea33ba3c2b8c19ce8b709b2010a3c2687598796345177", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4095a67c9b1e8ce09c1ea33ba3c2b8c19ce8b709b2010a3c2687598796345177", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4095a67c9b1e8ce09c1ea33ba3c2b8c19ce8b709b2010a3c2687598796345177", kill_on_drop: false }` [INFO] [stdout] 4095a67c9b1e8ce09c1ea33ba3c2b8c19ce8b709b2010a3c2687598796345177 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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 -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 138b3daeb97e4bb4e99575049711c3fb6abb93d457356982fead391c362e1e74 [INFO] running `Command { std: "docker" "start" "-a" "138b3daeb97e4bb4e99575049711c3fb6abb93d457356982fead391c362e1e74", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling unicode-ident v1.0.20 [INFO] [stderr] Checking colored v3.0.0 [INFO] [stderr] Checking hashbrown v0.15.5 [INFO] [stderr] Checking pest v2.8.3 [INFO] [stderr] Compiling pest_meta v2.8.3 [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Checking anon-cli v0.1.0 (/opt/rustwide/workdir/crates/anon-cli) [INFO] [stdout] warning: struct `Cli` is never constructed [INFO] [stdout] --> crates/anon-cli/src/cli.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Cli { [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 items `new` and `run` are never used [INFO] [stdout] --> crates/anon-cli/src/cli.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Cli { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 11 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn run(&self, args: Vec) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Command` is never constructed [INFO] [stdout] --> crates/anon-cli/src/cli.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Command { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `process` and `help` are never used [INFO] [stdout] --> crates/anon-cli/src/cli.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 35 | impl Command { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 36 | pub fn process(&self, args: &Vec) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn help() -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `option` are never read [INFO] [stdout] --> crates/anon-cli/src/cli.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Command { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 30 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 31 | pub option: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Checking string-interner v0.19.0 [INFO] [stderr] Compiling syn v2.0.108 [INFO] [stderr] Checking anon-core v0.1.0 (/opt/rustwide/workdir/crates/anon-core) [INFO] [stdout] warning: field `bag` is never read [INFO] [stdout] --> crates/anon-core/src/diagnostic.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 101 | pub struct DiagnosticCollector { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 102 | bag: Vec>, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DiagnosticCollector` 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] [stderr] Checking anon-ast v0.1.0 (/opt/rustwide/workdir/crates/anon-ast) [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> crates/anon-ast/src/sig.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | fn from_str(s: &str) -> Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `constraints`, and `arrow` are never read [INFO] [stdout] --> crates/anon-ast/src/sig.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Sig { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 13 | name: Symbol, [INFO] [stdout] | ^^^^ [INFO] [stdout] 14 | constraints: HashMap>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 15 | arrow: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Sig` 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] error: this type will no longer be must used: Result [INFO] [stdout] --> crates/anon-ast/src/sig.rs:23:53 [INFO] [stdout] | [INFO] [stdout] 23 | fn from_str(s: &str) -> Result { [INFO] [stdout] | _____________________________________________________^ [INFO] [stdout] 24 | | unimplemented!() [INFO] [stdout] 25 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `anon-ast` (lib) due to 1 previous error; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> crates/anon-ast/src/sig.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | fn from_str(s: &str) -> Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `constraints`, and `arrow` are never read [INFO] [stdout] --> crates/anon-ast/src/sig.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Sig { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 13 | name: Symbol, [INFO] [stdout] | ^^^^ [INFO] [stdout] 14 | constraints: HashMap>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 15 | arrow: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Sig` 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] error: this type will no longer be must used: Result [INFO] [stdout] --> crates/anon-ast/src/sig.rs:23:53 [INFO] [stdout] | [INFO] [stdout] 23 | fn from_str(s: &str) -> Result { [INFO] [stdout] | _____________________________________________________^ [INFO] [stdout] 24 | | unimplemented!() [INFO] [stdout] 25 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `bag` is never read [INFO] [stdout] --> crates/anon-core/src/diagnostic.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 101 | pub struct DiagnosticCollector { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 102 | bag: Vec>, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DiagnosticCollector` 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] [stderr] error: could not compile `anon-ast` (lib test) due to 1 previous error; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "138b3daeb97e4bb4e99575049711c3fb6abb93d457356982fead391c362e1e74", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "138b3daeb97e4bb4e99575049711c3fb6abb93d457356982fead391c362e1e74", kill_on_drop: false }` [INFO] [stdout] 138b3daeb97e4bb4e99575049711c3fb6abb93d457356982fead391c362e1e74