[INFO] cloning repository https://github.com/Ryan1729/file_tgf [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Ryan1729/file_tgf" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRyan1729%2Ffile_tgf", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRyan1729%2Ffile_tgf'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 957cc095893e081cd2e206defc569fb8afd6dbaa [INFO] checking Ryan1729/file_tgf 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%2FRyan1729%2Ffile_tgf" "/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/Ryan1729/file_tgf [INFO] finished tweaking git repo https://github.com/Ryan1729/file_tgf [INFO] tweaked toml for git repo https://github.com/Ryan1729/file_tgf written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Ryan1729/file_tgf 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/Ryan1729/file_tgf 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] 1b347ed59ec72e2c8490988180d4ca636da940ffbfb756b5620ad768d24c1f26 [INFO] running `Command { std: "docker" "start" "-a" "1b347ed59ec72e2c8490988180d4ca636da940ffbfb756b5620ad768d24c1f26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1b347ed59ec72e2c8490988180d4ca636da940ffbfb756b5620ad768d24c1f26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b347ed59ec72e2c8490988180d4ca636da940ffbfb756b5620ad768d24c1f26", kill_on_drop: false }` [INFO] [stdout] 1b347ed59ec72e2c8490988180d4ca636da940ffbfb756b5620ad768d24c1f26 [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] 506c0242c3867cd4616f1b79c1cb63cb499e739f50dee35a7452c42be5423fc9 [INFO] running `Command { std: "docker" "start" "-a" "506c0242c3867cd4616f1b79c1cb63cb499e739f50dee35a7452c42be5423fc9", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Compiling libc v0.2.45 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling memchr v2.1.2 [INFO] [stderr] Checking cfg-if v0.1.6 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking unicode-width v0.1.5 [INFO] [stderr] Compiling unicode-segmentation v1.2.1 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking ucd-util v0.1.3 [INFO] [stderr] Checking bitflags v1.0.4 [INFO] [stderr] Compiling regex v1.1.0 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking utf8-ranges v1.0.2 [INFO] [stderr] Checking walkdir v2.2.7 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking pretty_assertions v0.6.1 [INFO] [stderr] Checking regex-syntax v0.6.4 [INFO] [stderr] Compiling proc-macro-error-attr v0.4.12 [INFO] [stderr] Compiling proc-macro-error v0.4.12 [INFO] [stderr] Compiling heck v0.3.0 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking aho-corasick v0.6.9 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling syn-mid v0.5.0 [INFO] [stderr] Compiling structopt-derive v0.4.5 [INFO] [stderr] Checking structopt v0.3.12 [INFO] [stderr] Checking file_tgf v2.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | / /// A regex to extract the node names from within the file. [INFO] [stdout] 17 | | extract_regex: String, [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:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | / /// A replacement regex applied to the result of the extract-find regex. [INFO] [stdout] 20 | | #[structopt(long)] [INFO] [stdout] 21 | | extract_replace_regex: Option, [INFO] [stdout] | |_________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | / /// The string the matches of extraction replace regex will be replaced with. [INFO] [stdout] 24 | | /// Defaults to "". [INFO] [stdout] 25 | | #[structopt(long)] [INFO] [stdout] 26 | | extract_replace_string: Option, [INFO] [stdout] | |__________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | / /// A regex to extract the node names from the path of the files. [INFO] [stdout] 29 | | /// If not specified, the file stem is used. (ex: `/dir/foo.txt` becomes `foo`) [INFO] [stdout] 30 | | #[structopt(long)] [INFO] [stdout] 31 | | path_regex: Option, [INFO] [stdout] | |______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | / /// A replacement regex applied to the result of the path regex. [INFO] [stdout] 34 | | #[structopt(long)] [INFO] [stdout] 35 | | path_replace_regex: Option, [INFO] [stdout] | |______________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | / /// The string the matches of path replace regex will be replaced with. [INFO] [stdout] 38 | | /// Defaults to "". [INFO] [stdout] 39 | | #[structopt(long)] [INFO] [stdout] 40 | | path_replace_string: Option, [INFO] [stdout] | |_______________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | / /// A regex which filenames must match to be included in the scan. [INFO] [stdout] 51 | | /// If not specified, all files in the directory are used. [INFO] [stdout] 52 | | /// Note that only the file stem and extension are matched agains this regex. [INFO] [stdout] 53 | | /// So ".*e.*" matches `file_tgf/src/pair_store.rs` but not `file_tgf/src/main.rs`, [INFO] [stdout] 54 | | /// and ".*c.*" would match neither of them. [INFO] [stdout] 55 | | #[structopt(long, short)] [INFO] [stdout] 56 | | filename_regex: Option, [INFO] [stdout] | |__________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | / /// A regex to extract the node names from within the file. [INFO] [stdout] 17 | | extract_regex: String, [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:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | / /// A replacement regex applied to the result of the extract-find regex. [INFO] [stdout] 20 | | #[structopt(long)] [INFO] [stdout] 21 | | extract_replace_regex: Option, [INFO] [stdout] | |_________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `file_tgf` (bin "file_tgf" test) due to 7 previous errors [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | / /// The string the matches of extraction replace regex will be replaced with. [INFO] [stdout] 24 | | /// Defaults to "". [INFO] [stdout] 25 | | #[structopt(long)] [INFO] [stdout] 26 | | extract_replace_string: Option, [INFO] [stdout] | |__________________________________________^ [INFO] [stdout] [INFO] [stdout] [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:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | / /// A regex to extract the node names from the path of the files. [INFO] [stdout] 29 | | /// If not specified, the file stem is used. (ex: `/dir/foo.txt` becomes `foo`) [INFO] [stdout] 30 | | #[structopt(long)] [INFO] [stdout] 31 | | path_regex: Option, [INFO] [stdout] | |______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | / /// A replacement regex applied to the result of the path regex. [INFO] [stdout] 34 | | #[structopt(long)] [INFO] [stdout] 35 | | path_replace_regex: Option, [INFO] [stdout] | |______________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | / /// The string the matches of path replace regex will be replaced with. [INFO] [stdout] 38 | | /// Defaults to "". [INFO] [stdout] 39 | | #[structopt(long)] [INFO] [stdout] 40 | | path_replace_string: Option, [INFO] [stdout] | |_______________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | / /// A regex which filenames must match to be included in the scan. [INFO] [stdout] 51 | | /// If not specified, all files in the directory are used. [INFO] [stdout] 52 | | /// Note that only the file stem and extension are matched agains this regex. [INFO] [stdout] 53 | | /// So ".*e.*" matches `file_tgf/src/pair_store.rs` but not `file_tgf/src/main.rs`, [INFO] [stdout] 54 | | /// and ".*c.*" would match neither of them. [INFO] [stdout] 55 | | #[structopt(long, short)] [INFO] [stdout] 56 | | filename_regex: Option, [INFO] [stdout] | |__________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `file_tgf` (bin "file_tgf") due to 7 previous errors [INFO] running `Command { std: "docker" "inspect" "506c0242c3867cd4616f1b79c1cb63cb499e739f50dee35a7452c42be5423fc9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "506c0242c3867cd4616f1b79c1cb63cb499e739f50dee35a7452c42be5423fc9", kill_on_drop: false }` [INFO] [stdout] 506c0242c3867cd4616f1b79c1cb63cb499e739f50dee35a7452c42be5423fc9