[INFO] fetching crate sm-ext 0.3.0... [INFO] checking sm-ext-0.3.0 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate sm-ext 0.3.0 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate sm-ext 0.3.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate sm-ext 0.3.0 [INFO] tweaked toml for crates.io crate sm-ext 0.3.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate sm-ext 0.3.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 sm-ext 0.3.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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] b88e6956dcef487b3d9e221344066188f989a0a2869a713682e69b29c28d7ad8 [INFO] running `Command { std: "docker" "start" "-a" "b88e6956dcef487b3d9e221344066188f989a0a2869a713682e69b29c28d7ad8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b88e6956dcef487b3d9e221344066188f989a0a2869a713682e69b29c28d7ad8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b88e6956dcef487b3d9e221344066188f989a0a2869a713682e69b29c28d7ad8", kill_on_drop: false }` [INFO] [stdout] b88e6956dcef487b3d9e221344066188f989a0a2869a713682e69b29c28d7ad8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 80ce0c96d766d2b52c8a451e93e9f1ca1ed9b26464ce8cfe8eb87e596aade78d [INFO] running `Command { std: "docker" "start" "-a" "80ce0c96d766d2b52c8a451e93e9f1ca1ed9b26464ce8cfe8eb87e596aade78d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.8 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling syn v1.0.13 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling memchr v2.3.0 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking futures-core v0.3.1 [INFO] [stderr] Compiling proc-macro-nested v0.1.3 [INFO] [stderr] Checking futures-io v0.3.1 [INFO] [stderr] Checking futures-sink v0.3.1 [INFO] [stderr] Checking pin-utils v0.1.0-alpha.4 [INFO] [stderr] Checking futures-task v0.3.1 [INFO] [stderr] Checking scopeguard v1.0.0 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Checking futures-timer v2.0.2 [INFO] [stderr] Checking pin-project-lite v0.1.2 [INFO] [stderr] Checking c_str_macro v1.0.2 [INFO] [stderr] Checking once_cell v1.3.1 [INFO] [stderr] Checking futures-channel v0.3.1 [INFO] [stderr] Checking kv-log-macro v1.0.4 [INFO] [stderr] Compiling crossbeam-utils v0.7.0 [INFO] [stderr] Compiling crossbeam-epoch v0.8.0 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking num_cpus v1.12.0 [INFO] [stderr] Checking async-task v1.2.1 [INFO] [stderr] Checking mio v0.6.21 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking crossbeam-channel v0.4.0 [INFO] [stderr] Checking crossbeam-deque v0.7.2 [INFO] [stderr] Checking mio-uds v0.6.7 [INFO] [stderr] Checking async-std v1.4.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.11 [INFO] [stderr] Compiling sm-ext-derive v0.3.0 [INFO] [stderr] Compiling futures-macro v0.3.1 [INFO] [stderr] Checking sm-ext v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> src/lib.rs:868:54 [INFO] [stdout] | [INFO] [stdout] 868 | pub struct IPluginFunction<'ctx>(IPluginFunctionPtr, &'ctx IPluginContext); [INFO] [stdout] | --------------- field in this struct ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `IPluginFunction` 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:463:23 [INFO] [stdout] | [INFO] [stdout] 463 | pub fn is_running(&self) -> Result<(), IsRunningError> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 463 | pub fn is_running(&self) -> Result<(), IsRunningError<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:824:31 [INFO] [stdout] | [INFO] [stdout] 824 | pub fn get_function_by_id(&self, func_id: u32) -> Result { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 824 | pub fn get_function_by_id(&self, func_id: u32) -> Result, GetFunctionError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking futures-util v0.3.1 [INFO] [stderr] Checking futures-executor v0.3.1 [INFO] [stderr] Checking futures v0.3.1 [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> examples/forwards.rs:40:44 [INFO] [stdout] | [INFO] [stdout] 40 | fn test_native_call(_ctx: &IPluginContext, a: i32, b: i32) -> Result { [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] --> examples/forwards.rs:40:52 [INFO] [stdout] | [INFO] [stdout] 40 | fn test_native_call(_ctx: &IPluginContext, a: i32, b: i32) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sm-ext` (example "async") due to 2 previous errors [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> examples/forwards.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | #[native] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `native` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> examples/natives.rs:21:43 [INFO] [stdout] | [INFO] [stdout] 21 | fn test_native_add(_ctx: &IPluginContext, a: i32, b: i32) -> i32 { [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] --> examples/natives.rs:21:51 [INFO] [stdout] | [INFO] [stdout] 21 | fn test_native_add(_ctx: &IPluginContext, a: i32, b: i32) -> i32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> examples/natives.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | #[native] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `native` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> examples/natives.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | #[native] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `native` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> examples/natives.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | #[native] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `native` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> examples/natives.rs:56:38 [INFO] [stdout] | [INFO] [stdout] 56 | fn test_native(ctx: &IPluginContext, a: i32, b: f32, c: &CStr, d: &mut i32, e: &mut f32, f: Option, g: Option, h: Option<&str>)... [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> examples/natives.rs:56:46 [INFO] [stdout] | [INFO] [stdout] 56 | fn test_native(ctx: &IPluginContext, a: i32, b: f32, c: &CStr, d: &mut i32, e: &mut f32, f: Option, g: Option, h: Option<&str>)... [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> examples/natives.rs:56:90 [INFO] [stdout] | [INFO] [stdout] 56 | fn test_native(ctx: &IPluginContext, a: i32, b: f32, c: &CStr, d: &mut i32, e: &mut f32, f: Option, g: Option, h: Option<&str>)... [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> examples/natives.rs:56:106 [INFO] [stdout] | [INFO] [stdout] 56 | fn test_native(ctx: &IPluginContext, a: i32, b: f32, c: &CStr, d: &mut i32, e: &mut f32, f: Option, g: Option, h: Option<&str>)... [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> examples/natives.rs:54:1 [INFO] [stdout] | [INFO] [stdout] 54 | #[native] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `native` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> examples/async.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | #[native] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] = note: this error originates in the attribute macro `native` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> examples/async.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | #[native] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `native` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> examples/data.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | #[native] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] = note: this error originates in the attribute macro `native` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sm-ext` (example "forwards") due to 3 previous errors [INFO] [stderr] error: could not compile `sm-ext` (example "data") due to 1 previous error [INFO] [stderr] error: could not compile `sm-ext` (example "natives") due to 10 previous errors [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> examples/handles.rs:52:76 [INFO] [stdout] | [INFO] [stdout] 52 | fn native_obj_add(_ctx: &IPluginContext, mut this: HandleRef, number: i32) { [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] --> examples/handles.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | #[native] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `native` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> examples/handles.rs:58:1 [INFO] [stdout] | [INFO] [stdout] 58 | #[native] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `native` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sm-ext` (example "handles") due to 3 previous errors [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> src/lib.rs:868:54 [INFO] [stdout] | [INFO] [stdout] 868 | pub struct IPluginFunction<'ctx>(IPluginFunctionPtr, &'ctx IPluginContext); [INFO] [stdout] | --------------- field in this struct ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `IPluginFunction` 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:463:23 [INFO] [stdout] | [INFO] [stdout] 463 | pub fn is_running(&self) -> Result<(), IsRunningError> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 463 | pub fn is_running(&self) -> Result<(), IsRunningError<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:824:31 [INFO] [stdout] | [INFO] [stdout] 824 | pub fn get_function_by_id(&self, func_id: u32) -> Result { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 824 | pub fn get_function_by_id(&self, func_id: u32) -> Result, GetFunctionError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "80ce0c96d766d2b52c8a451e93e9f1ca1ed9b26464ce8cfe8eb87e596aade78d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "80ce0c96d766d2b52c8a451e93e9f1ca1ed9b26464ce8cfe8eb87e596aade78d", kill_on_drop: false }` [INFO] [stdout] 80ce0c96d766d2b52c8a451e93e9f1ca1ed9b26464ce8cfe8eb87e596aade78d