[INFO] cloning repository https://github.com/kildevaeld/gerning-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kildevaeld/gerning-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkildevaeld%2Fgerning-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkildevaeld%2Fgerning-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] be36abea128f446e2dd1113443261ac28eabd2c1 [INFO] checking kildevaeld/gerning-rs against master#642c19bfc3a5c1de985bf5d0cc8207ac9d22708a for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkildevaeld%2Fgerning-rs" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/kildevaeld/gerning-rs [INFO] finished tweaking git repo https://github.com/kildevaeld/gerning-rs [INFO] tweaked toml for git repo https://github.com/kildevaeld/gerning-rs written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/kildevaeld/gerning-rs on toolchain 642c19bfc3a5c1de985bf5d0cc8207ac9d22708a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/kildevaeld/gerning-rs 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" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/kildevaeld/avagarden` [INFO] [stderr] Updating git repository `https://github.com/kildevaeld/locket-rs` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded event-listener v4.0.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 837d5b78057d3657f2f58a18498f876f047c36321a1f96c0fcdb397fe6ee5ad5 [INFO] running `Command { std: "docker" "start" "-a" "837d5b78057d3657f2f58a18498f876f047c36321a1f96c0fcdb397fe6ee5ad5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "837d5b78057d3657f2f58a18498f876f047c36321a1f96c0fcdb397fe6ee5ad5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "837d5b78057d3657f2f58a18498f876f047c36321a1f96c0fcdb397fe6ee5ad5", kill_on_drop: false }` [INFO] [stdout] 837d5b78057d3657f2f58a18498f876f047c36321a1f96c0fcdb397fe6ee5ad5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "-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" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8b849985a28b8c4101c3c0d3b0967669f85bcc428f0f33b42d6cf6f2088127b1 [INFO] running `Command { std: "docker" "start" "-a" "8b849985a28b8c4101c3c0d3b0967669f85bcc428f0f33b42d6cf6f2088127b1", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-utils v0.8.18 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling syn v2.0.43 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking avagarden v0.1.0 (https://github.com/kildevaeld/avagarden#f4125f56) [INFO] [stderr] Checking ahash v0.8.11 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking concurrent-queue v2.4.0 [INFO] [stderr] Checking event-listener v4.0.2 [INFO] [stderr] Checking event-listener-strategy v0.4.0 [INFO] [stderr] Checking async-lock v3.2.0 [INFO] [stderr] Checking locket v0.1.0 (https://github.com/kildevaeld/locket-rs#76ca6215) [INFO] [stderr] Checking gerning v0.1.0 (/opt/rustwide/workdir/gerning) [INFO] [stdout] warning: unexpected `cfg` condition value: `tokio` [INFO] [stdout] --> gerning/src/callable.rs:91:7 [INFO] [stdout] | [INFO] [stdout] 91 | #[cfg(feature = "tokio")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `async`, `async-lock`, `default`, `futures-core`, `hashbrown`, `locket`, `pin-project-lite`, `serde`, `service`, and `std` [INFO] [stdout] = help: consider adding `tokio` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `tokio` [INFO] [stdout] --> gerning/src/callable.rs:94:7 [INFO] [stdout] | [INFO] [stdout] 94 | #[cfg(feature = "tokio")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `async`, `async-lock`, `default`, `futures-core`, `hashbrown`, `locket`, `pin-project-lite`, `serde`, `service`, and `std` [INFO] [stdout] = help: consider adding `tokio` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `smol` [INFO] [stdout] --> gerning/src/callable.rs:104:7 [INFO] [stdout] | [INFO] [stdout] 104 | #[cfg(feature = "smol")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `async`, `async-lock`, `default`, `futures-core`, `hashbrown`, `locket`, `pin-project-lite`, `serde`, `service`, and `std` [INFO] [stdout] = help: consider adding `smol` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `smol` [INFO] [stdout] --> gerning/src/callable.rs:107:7 [INFO] [stdout] | [INFO] [stdout] 107 | #[cfg(feature = "smol")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `async`, `async-lock`, `default`, `futures-core`, `hashbrown`, `locket`, `pin-project-lite`, `serde`, `service`, and `std` [INFO] [stdout] = help: consider adding `smol` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `signature` [INFO] [stdout] --> gerning/src/service/boxed.rs:6:66 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::{arguments::Arguments, service::ServiceSignature, signature, Error, Value}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stdout] warning: unused import: `SendState` [INFO] [stdout] --> gerning/examples/funcs.rs:7:80 [INFO] [stdout] | [INFO] [stdout] 7 | AsyncMethodCallable, AsyncMethodCallableExt, AsyncService, AsyncState, SendState, Service, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Func` [INFO] [stdout] --> gerning/examples/funcs.rs:10:80 [INFO] [stdout] | [INFO] [stdout] 10 | AsyncCallable, AsyncCallableExt, AsyncFunc, Callable, CallableFunc, Error, Func, FuncExt, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AsyncMethodCallableExt` [INFO] [stdout] --> gerning/examples/funcs.rs:7:30 [INFO] [stdout] | [INFO] [stdout] 7 | AsyncMethodCallable, AsyncMethodCallableExt, AsyncService, AsyncState, SendState, Service, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> gerning/examples/funcs.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | fn from(value: ()) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> gerning/examples/funcs.rs:120:16 [INFO] [stdout] | [INFO] [stdout] 120 | fn test<'a, C>(ctx: &'a mut C, _test: String) -> Result> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> gerning/examples/funcs.rs:124:21 [INFO] [stdout] | [INFO] [stdout] 124 | async fn test_async(ctx: &mut (), _test: String) -> Result> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> gerning/examples/funcs.rs:156:20 [INFO] [stdout] | [INFO] [stdout] 156 | fn call(&self, ctx: &mut C, name: &str, args: Arguments) -> Result> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> gerning/examples/funcs.rs:156:45 [INFO] [stdout] | [INFO] [stdout] 156 | fn call(&self, ctx: &mut C, name: &str, args: Arguments) -> Result> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> gerning/examples/funcs.rs:195:46 [INFO] [stdout] | [INFO] [stdout] 195 | |this: &mut BTreeMap, ctx: &mut (), args: Arguments| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> gerning/examples/funcs.rs:188:46 [INFO] [stdout] | [INFO] [stdout] 188 | |this: &mut BTreeMap, ctx: &mut (), args: Arguments| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> gerning/examples/funcs.rs:188:60 [INFO] [stdout] | [INFO] [stdout] 188 | |this: &mut BTreeMap, ctx: &mut (), args: Arguments| { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> gerning/examples/funcs.rs:177:37 [INFO] [stdout] | [INFO] [stdout] 177 | let action = CallableFunc::new(|ctx: &mut (), person: String| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> gerning/examples/funcs.rs:285:9 [INFO] [stdout] | [INFO] [stdout] 285 | ctx: &'a mut C, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> gerning/examples/funcs.rs:286:9 [INFO] [stdout] | [INFO] [stdout] 286 | args: Arguments, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_async` is never used [INFO] [stdout] --> gerning/examples/funcs.rs:124:10 [INFO] [stdout] | [INFO] [stdout] 124 | async fn test_async(ctx: &mut (), _test: String) -> Result> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `method` is never used [INFO] [stdout] --> gerning/examples/funcs.rs:128:10 [INFO] [stdout] | [INFO] [stdout] 128 | async fn method>(func: F) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `tokio` [INFO] [stdout] --> gerning/src/callable.rs:91:7 [INFO] [stdout] | [INFO] [stdout] 91 | #[cfg(feature = "tokio")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `async`, `async-lock`, `default`, `futures-core`, `hashbrown`, `locket`, `pin-project-lite`, `serde`, `service`, and `std` [INFO] [stdout] = help: consider adding `tokio` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `tokio` [INFO] [stdout] --> gerning/src/callable.rs:94:7 [INFO] [stdout] | [INFO] [stdout] 94 | #[cfg(feature = "tokio")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `async`, `async-lock`, `default`, `futures-core`, `hashbrown`, `locket`, `pin-project-lite`, `serde`, `service`, and `std` [INFO] [stdout] = help: consider adding `tokio` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `smol` [INFO] [stdout] --> gerning/src/callable.rs:104:7 [INFO] [stdout] | [INFO] [stdout] 104 | #[cfg(feature = "smol")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `async`, `async-lock`, `default`, `futures-core`, `hashbrown`, `locket`, `pin-project-lite`, `serde`, `service`, and `std` [INFO] [stdout] = help: consider adding `smol` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `smol` [INFO] [stdout] --> gerning/src/callable.rs:107:7 [INFO] [stdout] | [INFO] [stdout] 107 | #[cfg(feature = "smol")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `async`, `async-lock`, `default`, `futures-core`, `hashbrown`, `locket`, `pin-project-lite`, `serde`, `service`, and `std` [INFO] [stdout] = help: consider adding `smol` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `signature` [INFO] [stdout] --> gerning/src/service/boxed.rs:6:66 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::{arguments::Arguments, service::ServiceSignature, signature, Error, Value}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused pinned boxed `futures_core::Future` trait object that must be used [INFO] [stdout] --> gerning/examples/funcs.rs:182:5 [INFO] [stdout] | [INFO] [stdout] 182 | action.call_async(&mut (), Arguments::default()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: futures do nothing unless you `.await` or poll them [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.50s [INFO] running `Command { std: "docker" "inspect" "8b849985a28b8c4101c3c0d3b0967669f85bcc428f0f33b42d6cf6f2088127b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b849985a28b8c4101c3c0d3b0967669f85bcc428f0f33b42d6cf6f2088127b1", kill_on_drop: false }` [INFO] [stdout] 8b849985a28b8c4101c3c0d3b0967669f85bcc428f0f33b42d6cf6f2088127b1