[INFO] cloning repository https://github.com/sebschmi/codegen-course [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sebschmi/codegen-course" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsebschmi%2Fcodegen-course", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsebschmi%2Fcodegen-course'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4b405f7d651ffeca80a3c2349a492de0e8af5853 [INFO] checking sebschmi/codegen-course 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%2Fsebschmi%2Fcodegen-course" "/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/sebschmi/codegen-course [INFO] finished tweaking git repo https://github.com/sebschmi/codegen-course [INFO] tweaked toml for git repo https://github.com/sebschmi/codegen-course written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/sebschmi/codegen-course 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/sebschmi/codegen-course 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] 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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 99fd9a60afc9b55139209de6b15f99cb24b3bf617a62c7fa5b0277c0555cb23f [INFO] running `Command { std: "docker" "start" "-a" "99fd9a60afc9b55139209de6b15f99cb24b3bf617a62c7fa5b0277c0555cb23f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "99fd9a60afc9b55139209de6b15f99cb24b3bf617a62c7fa5b0277c0555cb23f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "99fd9a60afc9b55139209de6b15f99cb24b3bf617a62c7fa5b0277c0555cb23f", kill_on_drop: false }` [INFO] [stdout] 99fd9a60afc9b55139209de6b15f99cb24b3bf617a62c7fa5b0277c0555cb23f [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 -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] 111a838ac745cedc6c7050b0b396fc52cc1dfb96b8dc465d7831ebba8369c27c [INFO] running `Command { std: "docker" "start" "-a" "111a838ac745cedc6c7050b0b396fc52cc1dfb96b8dc465d7831ebba8369c27c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.120 [INFO] [stderr] Compiling quote v1.0.16 [INFO] [stderr] Compiling syn v1.0.89 [INFO] [stderr] Checking num_threads v0.1.6 [INFO] [stderr] Compiling time-macros v0.2.4 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Checking textwrap v0.15.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking time v0.3.9 [INFO] [stderr] Checking simplelog v0.12.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling clap_derive v3.1.4 [INFO] [stderr] Checking clap v3.1.6 [INFO] [stderr] Checking codegen-course v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `kind` and `interval` are never read [INFO] [stdout] --> src/error/mod.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct ScannerError { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 11 | /// The error kind. [INFO] [stdout] 12 | kind: ScannerErrorKind, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | interval: ScanInterval, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ScannerError` 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 `kind` and `interval` are never read [INFO] [stdout] --> src/error/mod.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct ParserError { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 43 | /// The error kind. [INFO] [stdout] 44 | kind: ParserErrorKind, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | interval: ScanInterval, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParserError` 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 `kind` and `interval` are never read [INFO] [stdout] --> src/error/mod.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 83 | pub struct StaticError { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 84 | /// The error kind. [INFO] [stdout] 85 | kind: StaticErrorKind, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | interval: ScanInterval, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StaticError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/main.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | / /// The input file to compile. [INFO] [stdout] 42 | | #[clap(index = 1)] [INFO] [stdout] 43 | | input: PathBuf, [INFO] [stdout] | |__________________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/main.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | / /// The output file for the intermediate representation (restricted C). [INFO] [stdout] 46 | | #[clap(index = 2)] [INFO] [stdout] 47 | | output: PathBuf, [INFO] [stdout] | |___________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `codegen-course` (bin "codegen-course") due to 2 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: fields `kind` and `interval` are never read [INFO] [stdout] --> src/error/mod.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct ScannerError { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 11 | /// The error kind. [INFO] [stdout] 12 | kind: ScannerErrorKind, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | interval: ScanInterval, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ScannerError` 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 `kind` and `interval` are never read [INFO] [stdout] --> src/error/mod.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct ParserError { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 43 | /// The error kind. [INFO] [stdout] 44 | kind: ParserErrorKind, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | interval: ScanInterval, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParserError` 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 `kind` and `interval` are never read [INFO] [stdout] --> src/error/mod.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 83 | pub struct StaticError { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 84 | /// The error kind. [INFO] [stdout] 85 | kind: StaticErrorKind, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | interval: ScanInterval, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StaticError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NullWriter` is never constructed [INFO] [stdout] --> src/tests.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct NullWriter; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/main.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | / /// The input file to compile. [INFO] [stdout] 42 | | #[clap(index = 1)] [INFO] [stdout] 43 | | input: PathBuf, [INFO] [stdout] | |__________________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/main.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | / /// The output file for the intermediate representation (restricted C). [INFO] [stdout] 46 | | #[clap(index = 2)] [INFO] [stdout] 47 | | output: PathBuf, [INFO] [stdout] | |___________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `codegen-course` (bin "codegen-course" test) due to 2 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "111a838ac745cedc6c7050b0b396fc52cc1dfb96b8dc465d7831ebba8369c27c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "111a838ac745cedc6c7050b0b396fc52cc1dfb96b8dc465d7831ebba8369c27c", kill_on_drop: false }` [INFO] [stdout] 111a838ac745cedc6c7050b0b396fc52cc1dfb96b8dc465d7831ebba8369c27c