[INFO] cloning repository https://github.com/snaztoz/smiley [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/snaztoz/smiley" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsnaztoz%2Fsmiley", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsnaztoz%2Fsmiley'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 73163e19a5af2323edb31ad2674f846f95666acf [INFO] checking snaztoz/smiley 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%2Fsnaztoz%2Fsmiley" "/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/snaztoz/smiley [INFO] finished tweaking git repo https://github.com/snaztoz/smiley [INFO] tweaked toml for git repo https://github.com/snaztoz/smiley written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/snaztoz/smiley 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/snaztoz/smiley 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-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] 52aa12e8c73f9e7f96fa0dd12197274eb991737d89629084be1db90abf23650a [INFO] running `Command { std: "docker" "start" "-a" "52aa12e8c73f9e7f96fa0dd12197274eb991737d89629084be1db90abf23650a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "52aa12e8c73f9e7f96fa0dd12197274eb991737d89629084be1db90abf23650a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "52aa12e8c73f9e7f96fa0dd12197274eb991737d89629084be1db90abf23650a", kill_on_drop: false }` [INFO] [stdout] 52aa12e8c73f9e7f96fa0dd12197274eb991737d89629084be1db90abf23650a [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] 9fcb0e8038e35d1a805ceba4b3c73031dbc18941d8be7dd89f542f217b9fceb4 [INFO] running `Command { std: "docker" "start" "-a" "9fcb0e8038e35d1a805ceba4b3c73031dbc18941d8be7dd89f542f217b9fceb4", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling syn v1.0.85 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.6 [INFO] [stderr] Compiling quote v1.0.14 [INFO] [stderr] Checking textwrap v0.14.2 [INFO] [stderr] Checking predicates-core v1.0.2 [INFO] [stderr] Checking once_cell v1.9.0 [INFO] [stderr] Compiling unindent v0.1.7 [INFO] [stderr] Checking normalize-line-endings v0.3.0 [INFO] [stderr] Checking fastrand v1.6.0 [INFO] [stderr] Compiling indoc v1.0.3 [INFO] [stderr] Checking thread_local v1.1.3 [INFO] [stderr] Checking pest v2.1.3 [INFO] [stderr] Checking predicates-tree v1.0.4 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking bstr v0.2.17 [INFO] [stderr] Checking os_str_bytes v6.0.0 [INFO] [stderr] Checking float-cmp v0.9.0 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking tempfile v3.3.0 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking globset v0.4.8 [INFO] [stderr] Checking env_logger v0.9.0 [INFO] [stderr] Checking predicates v2.1.0 [INFO] [stderr] Checking ignore v0.4.18 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Checking assert_cmd v2.0.2 [INFO] [stderr] Checking globwalk v0.8.1 [INFO] [stderr] Checking assert_fs v1.0.6 [INFO] [stderr] Compiling clap_derive v3.0.5 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Checking clap v3.0.5 [INFO] [stderr] Checking clap-verbosity-flag v1.0.0 [INFO] [stderr] Checking smiley v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `SmileyParser` is never constructed [INFO] [stdout] --> src/parser.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct SmileyParser; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `content` is never read [INFO] [stdout] --> src/preprocessor/line.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Line { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 12 | pub content: Content, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Line` 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: field `0` is never read [INFO] [stdout] --> src/preprocessor/line.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 28 | Value(String), [INFO] [stdout] | ----- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Content` 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] 28 - Value(String), [INFO] [stdout] 28 + Value(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `content` is never read [INFO] [stdout] --> src/preprocessor/line.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Line { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 12 | pub content: Content, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Line` has derived impls for the traits `Debug` and `Clone`, but these are 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: field `0` is never read [INFO] [stdout] --> src/preprocessor/line.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 28 | Value(String), [INFO] [stdout] | ----- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Content` 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] 28 - Value(String), [INFO] [stdout] 28 + Value(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | / /// Root source file [INFO] [stdout] 21 | | src: 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: Result [INFO] [stdout] --> src/main.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | / /// Specify the output file path [INFO] [stdout] 28 | | #[clap(short, long)] [INFO] [stdout] 29 | | out: Option, [INFO] [stdout] | |________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `smiley` (bin "smiley" test) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | / /// Root source file [INFO] [stdout] 21 | | src: 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: Result [INFO] [stdout] --> src/main.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | / /// Specify the output file path [INFO] [stdout] 28 | | #[clap(short, long)] [INFO] [stdout] 29 | | out: Option, [INFO] [stdout] | |________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `smiley` (bin "smiley") due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "9fcb0e8038e35d1a805ceba4b3c73031dbc18941d8be7dd89f542f217b9fceb4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9fcb0e8038e35d1a805ceba4b3c73031dbc18941d8be7dd89f542f217b9fceb4", kill_on_drop: false }` [INFO] [stdout] 9fcb0e8038e35d1a805ceba4b3c73031dbc18941d8be7dd89f542f217b9fceb4