[INFO] fetching crate platform-path 0.1.0... [INFO] checking platform-path-0.1.0 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate platform-path 0.1.0 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate platform-path 0.1.0 [INFO] finished tweaking crates.io crate platform-path 0.1.0 [INFO] tweaked toml for crates.io crate platform-path 0.1.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate platform-path 0.1.0 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 crates.io crate platform-path 0.1.0 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 3ee182cc60b3249213cea300347e906f54f4ff81acc539fc72db62b814582996 [INFO] running `Command { std: "docker" "start" "-a" "3ee182cc60b3249213cea300347e906f54f4ff81acc539fc72db62b814582996", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3ee182cc60b3249213cea300347e906f54f4ff81acc539fc72db62b814582996", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3ee182cc60b3249213cea300347e906f54f4ff81acc539fc72db62b814582996", kill_on_drop: false }` [INFO] [stdout] 3ee182cc60b3249213cea300347e906f54f4ff81acc539fc72db62b814582996 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 46edf5e8529bad912585abcb6ec482c298f82c9ad9471731bc0a77af87679129 [INFO] running `Command { std: "docker" "start" "-a" "46edf5e8529bad912585abcb6ec482c298f82c9ad9471731bc0a77af87679129", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.90 [INFO] [stderr] Compiling rustversion v1.0.6 [INFO] [stderr] Compiling anyhow v1.0.56 [INFO] [stderr] Compiling camino v1.0.7 [INFO] [stderr] Checking directories v4.0.1 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling strum_macros v0.24.0 [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Checking structopt v0.3.26 [INFO] [stderr] Checking strum v0.24.0 [INFO] [stderr] Checking platform-path v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/command/print.rs:12:3 [INFO] [stdout] | [INFO] [stdout] 12 | / #[structopt(long, help = "alternate path to use in case of errors")] [INFO] [stdout] 13 | | default: Option, [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/platform/path/project.rs:47:3 [INFO] [stdout] | [INFO] [stdout] 47 | / #[structopt( [INFO] [stdout] 48 | | long = "project-qualifier", [INFO] [stdout] 49 | | env = "PROJECT_QUALIFIER", [INFO] [stdout] 50 | | value_name = "string", [INFO] [stdout] 51 | | help = "The reverse domain name notation of the application, excluding the organization or application name itself." [INFO] [stdout] 52 | | )] [INFO] [stdout] 53 | | pub qualifier: Option, [INFO] [stdout] | |_______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/platform/path/project.rs:54:3 [INFO] [stdout] | [INFO] [stdout] 54 | / #[structopt( [INFO] [stdout] 55 | | long = "project-organization", [INFO] [stdout] 56 | | env = "PROJECT_ORGANIZATION", [INFO] [stdout] 57 | | value_name = "string", [INFO] [stdout] 58 | | help = "The name of the organization that develops this application, or for which the application is developed." [INFO] [stdout] 59 | | )] [INFO] [stdout] 60 | | pub organization: Option, [INFO] [stdout] | |__________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/platform/path/project.rs:61:3 [INFO] [stdout] | [INFO] [stdout] 61 | / #[structopt( [INFO] [stdout] 62 | | long = "project-application", [INFO] [stdout] 63 | | env = "PROJECT_APPLICATION", [INFO] [stdout] 64 | | value_name = "string", [INFO] [stdout] 65 | | help = "The name of the application itself." [INFO] [stdout] 66 | | )] [INFO] [stdout] 67 | | pub application: String, [INFO] [stdout] | |_________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/command/print.rs:12:3 [INFO] [stdout] | [INFO] [stdout] 12 | / #[structopt(long, help = "alternate path to use in case of errors")] [INFO] [stdout] 13 | | default: Option, [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/platform/path/project.rs:47:3 [INFO] [stdout] | [INFO] [stdout] 47 | / #[structopt( [INFO] [stdout] 48 | | long = "project-qualifier", [INFO] [stdout] 49 | | env = "PROJECT_QUALIFIER", [INFO] [stdout] 50 | | value_name = "string", [INFO] [stdout] 51 | | help = "The reverse domain name notation of the application, excluding the organization or application name itself." [INFO] [stdout] 52 | | )] [INFO] [stdout] 53 | | pub qualifier: Option, [INFO] [stdout] | |_______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/platform/path/project.rs:54:3 [INFO] [stdout] | [INFO] [stdout] 54 | / #[structopt( [INFO] [stdout] 55 | | long = "project-organization", [INFO] [stdout] 56 | | env = "PROJECT_ORGANIZATION", [INFO] [stdout] 57 | | value_name = "string", [INFO] [stdout] 58 | | help = "The name of the organization that develops this application, or for which the application is developed." [INFO] [stdout] 59 | | )] [INFO] [stdout] 60 | | pub organization: Option, [INFO] [stdout] | |__________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/platform/path/project.rs:61:3 [INFO] [stdout] | [INFO] [stdout] 61 | / #[structopt( [INFO] [stdout] 62 | | long = "project-application", [INFO] [stdout] 63 | | env = "PROJECT_APPLICATION", [INFO] [stdout] 64 | | value_name = "string", [INFO] [stdout] 65 | | help = "The name of the application itself." [INFO] [stdout] 66 | | )] [INFO] [stdout] 67 | | pub application: String, [INFO] [stdout] | |_________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `platform-path` (lib) due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `platform-path` (lib test) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "46edf5e8529bad912585abcb6ec482c298f82c9ad9471731bc0a77af87679129", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "46edf5e8529bad912585abcb6ec482c298f82c9ad9471731bc0a77af87679129", kill_on_drop: false }` [INFO] [stdout] 46edf5e8529bad912585abcb6ec482c298f82c9ad9471731bc0a77af87679129