[INFO] fetching crate ydev 0.1.1... [INFO] checking ydev-0.1.1 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate ydev 0.1.1 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate ydev 0.1.1 [INFO] finished tweaking crates.io crate ydev 0.1.1 [INFO] tweaked toml for crates.io crate ydev 0.1.1 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate ydev 0.1.1 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 ydev 0.1.1 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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] bfdcde3ae023ee7139ab3dfb110325a0b67b7fb90d7dbf8f710f20e5e28a0058 [INFO] running `Command { std: "docker" "start" "-a" "bfdcde3ae023ee7139ab3dfb110325a0b67b7fb90d7dbf8f710f20e5e28a0058", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bfdcde3ae023ee7139ab3dfb110325a0b67b7fb90d7dbf8f710f20e5e28a0058", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bfdcde3ae023ee7139ab3dfb110325a0b67b7fb90d7dbf8f710f20e5e28a0058", kill_on_drop: false }` [INFO] [stdout] bfdcde3ae023ee7139ab3dfb110325a0b67b7fb90d7dbf8f710f20e5e28a0058 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 4084dbe5eb848d6a9cda2c06e642c1ce54f5b4b90e121352caa50e45d3bd56f1 [INFO] running `Command { std: "docker" "start" "-a" "4084dbe5eb848d6a9cda2c06e642c1ce54f5b4b90e121352caa50e45d3bd56f1", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.102 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling syn v1.0.76 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Checking textwrap v0.15.0 [INFO] [stderr] Checking regex-syntax v0.6.26 [INFO] [stderr] Checking os_str_bytes v6.0.0 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking regex v1.5.6 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking jlogger v0.1.5 [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 ydev v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | / /// Log file name [INFO] [stdout] 30 | | #[clap(short = 'l', long = "log-file")] [INFO] [stdout] 31 | | log_file: 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: Result [INFO] [stdout] --> src/main.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | / /// Build directory [INFO] [stdout] 45 | | #[clap(short='b', long="build-dir", default_value_t= String::from("build"))] [INFO] [stdout] 46 | | build_dir: String, [INFO] [stdout] | |_________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | / /// Yocto recipes top directory. [INFO] [stdout] 49 | | #[clap(short = 'y')] [INFO] [stdout] 50 | | yocto_top_dir: Option, [INFO] [stdout] | |_____________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | / /// Default config file directory. [INFO] [stdout] 53 | | #[clap(short = 'd')] [INFO] [stdout] 54 | | default_config_file_dir: Option, [INFO] [stdout] | |_______________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | / /// Machine name. [INFO] [stdout] 57 | | #[clap(short = 'm', long)] [INFO] [stdout] 58 | | machine: Option, [INFO] [stdout] | |_______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | / /// Features to enable. [INFO] [stdout] 61 | | features: Vec, [INFO] [stdout] | |_____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | / /// Information of a specific module. [INFO] [stdout] 67 | | #[clap(short = 'r')] [INFO] [stdout] 68 | | recipe: String, [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | / /// Yocto recipes top directory, if specified show all recipes in the layers under this [INFO] [stdout] 71 | | /// directory. [INFO] [stdout] 72 | | /// Otherwise only show recipes of layers used in the current build directory. [INFO] [stdout] 73 | | #[clap(short = 'y')] [INFO] [stdout] 74 | | yocto_top_dir: Option, [INFO] [stdout] | |_____________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | / #[clap(short = 'v')] [INFO] [stdout] 80 | | version: Option, [INFO] [stdout] | |_______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ydev` (bin "ydev" test) due to 9 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:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | / /// Log file name [INFO] [stdout] 30 | | #[clap(short = 'l', long = "log-file")] [INFO] [stdout] 31 | | log_file: 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: Result [INFO] [stdout] --> src/main.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | / /// Build directory [INFO] [stdout] 45 | | #[clap(short='b', long="build-dir", default_value_t= String::from("build"))] [INFO] [stdout] 46 | | build_dir: String, [INFO] [stdout] | |_________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | / /// Yocto recipes top directory. [INFO] [stdout] 49 | | #[clap(short = 'y')] [INFO] [stdout] 50 | | yocto_top_dir: Option, [INFO] [stdout] | |_____________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | / /// Default config file directory. [INFO] [stdout] 53 | | #[clap(short = 'd')] [INFO] [stdout] 54 | | default_config_file_dir: Option, [INFO] [stdout] | |_______________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | / /// Machine name. [INFO] [stdout] 57 | | #[clap(short = 'm', long)] [INFO] [stdout] 58 | | machine: Option, [INFO] [stdout] | |_______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | / /// Features to enable. [INFO] [stdout] 61 | | features: Vec, [INFO] [stdout] | |_____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | / /// Information of a specific module. [INFO] [stdout] 67 | | #[clap(short = 'r')] [INFO] [stdout] 68 | | recipe: String, [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | / /// Yocto recipes top directory, if specified show all recipes in the layers under this [INFO] [stdout] 71 | | /// directory. [INFO] [stdout] 72 | | /// Otherwise only show recipes of layers used in the current build directory. [INFO] [stdout] 73 | | #[clap(short = 'y')] [INFO] [stdout] 74 | | yocto_top_dir: Option, [INFO] [stdout] | |_____________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | / #[clap(short = 'v')] [INFO] [stdout] 80 | | version: Option, [INFO] [stdout] | |_______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ydev` (bin "ydev") due to 9 previous errors [INFO] running `Command { std: "docker" "inspect" "4084dbe5eb848d6a9cda2c06e642c1ce54f5b4b90e121352caa50e45d3bd56f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4084dbe5eb848d6a9cda2c06e642c1ce54f5b4b90e121352caa50e45d3bd56f1", kill_on_drop: false }` [INFO] [stdout] 4084dbe5eb848d6a9cda2c06e642c1ce54f5b4b90e121352caa50e45d3bd56f1