[INFO] cloning repository https://github.com/portal-co/pidl [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/portal-co/pidl" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fportal-co%2Fpidl", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fportal-co%2Fpidl'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fed5ec3a464697466caf179d261c43f12b32dcee [INFO] building portal-co/pidl against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fportal-co%2Fpidl" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/portal-co/pidl [INFO] finished tweaking git repo https://github.com/portal-co/pidl [INFO] tweaked toml for git repo https://github.com/portal-co/pidl written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/portal-co/pidl on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/portal-co/pidl 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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 93974c83aeebe8a08f8d8e269b449b2e1680a976595376b499338cfa05b7a844 [INFO] running `Command { std: "docker" "start" "-a" "93974c83aeebe8a08f8d8e269b449b2e1680a976595376b499338cfa05b7a844", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "93974c83aeebe8a08f8d8e269b449b2e1680a976595376b499338cfa05b7a844", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "93974c83aeebe8a08f8d8e269b449b2e1680a976595376b499338cfa05b7a844", kill_on_drop: false }` [INFO] [stdout] 93974c83aeebe8a08f8d8e269b449b2e1680a976595376b499338cfa05b7a844 [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" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 29d434ad687a17bfe9aeea02e2fde87fb6ce17ea389a96a4219a7b573375a23d [INFO] running `Command { std: "docker" "start" "-a" "29d434ad687a17bfe9aeea02e2fde87fb6ce17ea389a96a4219a7b573375a23d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling embedded-io-async v0.6.1 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling embedded-io v0.6.1 [INFO] [stderr] Compiling never-say-never v6.6.666 [INFO] [stderr] Compiling mutex_trait2 v0.3.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling higher-kinded-types v0.1.1 [INFO] [stderr] Compiling pidl-bud v0.1.1 (/opt/rustwide/workdir/pidl-bud) [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stdout] warning: unused import: `higher_kinded_types::ForLt` [INFO] [stdout] --> pidl-bud/src/lib.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use higher_kinded_types::ForLt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.76 [INFO] [stderr] Compiling weev v0.3.0 [INFO] [stderr] Compiling beem v0.1.1 (/opt/rustwide/workdir/beem) [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> beem/src/lib.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | async fn accept(&mut self, seed: &[u8]) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] = note: `#[warn(async_fn_in_trait)]` on by default [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 12 - async fn accept(&mut self, seed: &[u8]) -> Result; [INFO] [stdout] 12 + fn accept(&mut self, seed: &[u8]) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> beem/src/lib.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | async fn offer(&mut self) -> Result>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 13 - async fn offer(&mut self) -> Result>; [INFO] [stdout] 13 + fn offer(&mut self) -> impl std::future::Future>> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling quasiquote-proc-macro v0.1.0 [INFO] [stderr] Compiling quasiquote v0.1.1 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Compiling pidl-core v0.1.1 (/opt/rustwide/workdir/pidl-core) [INFO] [stdout] warning: unused imports: `alpha1`, `combinator::opt`, `error::Error`, `is_not`, and `take` [INFO] [stdout] --> pidl-core/src/lib.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | bytes::complete::{is_not, tag, take, take_while_m_n}, [INFO] [stdout] | ^^^^^^ ^^^^ [INFO] [stdout] 4 | character::complete::{alpha1, alphanumeric1, char, multispace0}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 5 | combinator::opt, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | error::Error, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> pidl-core/src/lib.rs:163:5 [INFO] [stdout] | [INFO] [stdout] 129 | / match a.strip_prefix("R") { [INFO] [stdout] 130 | | Some(b) => { [INFO] [stdout] ... | [INFO] [stdout] 162 | | } [INFO] [stdout] | |_____- any code following this `match` expression is unreachable, as all arms diverge [INFO] [stdout] 163 | todo!() [INFO] [stdout] | ^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `todo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> pidl-core/src/lib.rs:239:9 [INFO] [stdout] | [INFO] [stdout] 239 | write!(s, "{}", self); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 239 | let _ = write!(s, "{}", self); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling pidl-rust v0.1.1 (/opt/rustwide/workdir/pidl-rust) [INFO] [stdout] warning: unused variable: `ann` [INFO] [stdout] --> pidl-rust/src/lib.rs:39:27 [INFO] [stdout] | [INFO] [stdout] 39 | Arg::Prim { name, ann, params } => match name.as_str(){ [INFO] [stdout] | ^^^ help: try ignoring the field: `ann: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ann` [INFO] [stdout] --> pidl-rust/src/lib.rs:51:29 [INFO] [stdout] | [INFO] [stdout] 51 | Arg::Resource { ty, ann } => { [INFO] [stdout] | ^^^ help: try ignoring the field: `ann: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ann` [INFO] [stdout] --> pidl-rust/src/lib.rs:12:27 [INFO] [stdout] | [INFO] [stdout] 12 | Arg::Prim { name, ann, params } => match name.as_str() { [INFO] [stdout] | ^^^ help: try ignoring the field: `ann: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ann` [INFO] [stdout] --> pidl-rust/src/lib.rs:24:29 [INFO] [stdout] | [INFO] [stdout] 24 | Arg::Resource { ty, ann } => { [INFO] [stdout] | ^^^ help: try ignoring the field: `ann: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.20s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: higher-kinded-types v0.1.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "29d434ad687a17bfe9aeea02e2fde87fb6ce17ea389a96a4219a7b573375a23d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "29d434ad687a17bfe9aeea02e2fde87fb6ce17ea389a96a4219a7b573375a23d", kill_on_drop: false }` [INFO] [stdout] 29d434ad687a17bfe9aeea02e2fde87fb6ce17ea389a96a4219a7b573375a23d [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" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2ad345c443057eba50c057e58c5dbdb34dfdb23f4aae243778ad075dab42c982 [INFO] running `Command { std: "docker" "start" "-a" "2ad345c443057eba50c057e58c5dbdb34dfdb23f4aae243778ad075dab42c982", kill_on_drop: false }` [INFO] [stderr] Compiling pidl-bud v0.1.1 (/opt/rustwide/workdir/pidl-bud) [INFO] [stderr] Compiling beem v0.1.1 (/opt/rustwide/workdir/beem) [INFO] [stderr] Compiling pidl-core v0.1.1 (/opt/rustwide/workdir/pidl-core) [INFO] [stderr] Compiling pidl-rust v0.1.1 (/opt/rustwide/workdir/pidl-rust) [INFO] [stdout] warning: unused import: `higher_kinded_types::ForLt` [INFO] [stdout] --> pidl-bud/src/lib.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use higher_kinded_types::ForLt; [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 imports: `alpha1`, `combinator::opt`, `error::Error`, `is_not`, and `take` [INFO] [stdout] --> pidl-core/src/lib.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | bytes::complete::{is_not, tag, take, take_while_m_n}, [INFO] [stdout] | ^^^^^^ ^^^^ [INFO] [stdout] 4 | character::complete::{alpha1, alphanumeric1, char, multispace0}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 5 | combinator::opt, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | error::Error, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> pidl-core/src/lib.rs:163:5 [INFO] [stdout] | [INFO] [stdout] 129 | / match a.strip_prefix("R") { [INFO] [stdout] 130 | | Some(b) => { [INFO] [stdout] ... | [INFO] [stdout] 162 | | } [INFO] [stdout] | |_____- any code following this `match` expression is unreachable, as all arms diverge [INFO] [stdout] 163 | todo!() [INFO] [stdout] | ^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `todo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> pidl-core/src/lib.rs:239:9 [INFO] [stdout] | [INFO] [stdout] 239 | write!(s, "{}", self); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 239 | let _ = write!(s, "{}", self); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> beem/src/lib.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | async fn accept(&mut self, seed: &[u8]) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] = note: `#[warn(async_fn_in_trait)]` on by default [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 12 - async fn accept(&mut self, seed: &[u8]) -> Result; [INFO] [stdout] 12 + fn accept(&mut self, seed: &[u8]) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> beem/src/lib.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | async fn offer(&mut self) -> Result>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 13 - async fn offer(&mut self) -> Result>; [INFO] [stdout] 13 + fn offer(&mut self) -> impl std::future::Future>> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ann` [INFO] [stdout] --> pidl-rust/src/lib.rs:39:27 [INFO] [stdout] | [INFO] [stdout] 39 | Arg::Prim { name, ann, params } => match name.as_str(){ [INFO] [stdout] | ^^^ help: try ignoring the field: `ann: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ann` [INFO] [stdout] --> pidl-rust/src/lib.rs:51:29 [INFO] [stdout] | [INFO] [stdout] 51 | Arg::Resource { ty, ann } => { [INFO] [stdout] | ^^^ help: try ignoring the field: `ann: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ann` [INFO] [stdout] --> pidl-rust/src/lib.rs:12:27 [INFO] [stdout] | [INFO] [stdout] 12 | Arg::Prim { name, ann, params } => match name.as_str() { [INFO] [stdout] | ^^^ help: try ignoring the field: `ann: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ann` [INFO] [stdout] --> pidl-rust/src/lib.rs:24:29 [INFO] [stdout] | [INFO] [stdout] 24 | Arg::Resource { ty, ann } => { [INFO] [stdout] | ^^^ help: try ignoring the field: `ann: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `higher_kinded_types::ForLt` [INFO] [stdout] --> pidl-bud/src/lib.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use higher_kinded_types::ForLt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> beem/src/lib.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | async fn accept(&mut self, seed: &[u8]) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] = note: `#[warn(async_fn_in_trait)]` on by default [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 12 - async fn accept(&mut self, seed: &[u8]) -> Result; [INFO] [stdout] 12 + fn accept(&mut self, seed: &[u8]) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> beem/src/lib.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | async fn offer(&mut self) -> Result>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 13 - async fn offer(&mut self) -> Result>; [INFO] [stdout] 13 + fn offer(&mut self) -> impl std::future::Future>> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ann` [INFO] [stdout] --> pidl-rust/src/lib.rs:12:27 [INFO] [stdout] | [INFO] [stdout] 12 | Arg::Prim { name, ann, params } => match name.as_str() { [INFO] [stdout] | ^^^ help: try ignoring the field: `ann: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ann` [INFO] [stdout] --> pidl-rust/src/lib.rs:24:29 [INFO] [stdout] | [INFO] [stdout] 24 | Arg::Resource { ty, ann } => { [INFO] [stdout] | ^^^ help: try ignoring the field: `ann: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ann` [INFO] [stdout] --> pidl-rust/src/lib.rs:39:27 [INFO] [stdout] | [INFO] [stdout] 39 | Arg::Prim { name, ann, params } => match name.as_str(){ [INFO] [stdout] | ^^^ help: try ignoring the field: `ann: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ann` [INFO] [stdout] --> pidl-rust/src/lib.rs:51:29 [INFO] [stdout] | [INFO] [stdout] 51 | Arg::Resource { ty, ann } => { [INFO] [stdout] | ^^^ help: try ignoring the field: `ann: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `alpha1`, `combinator::opt`, `error::Error`, `is_not`, and `take` [INFO] [stdout] --> pidl-core/src/lib.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | bytes::complete::{is_not, tag, take, take_while_m_n}, [INFO] [stdout] | ^^^^^^ ^^^^ [INFO] [stdout] 4 | character::complete::{alpha1, alphanumeric1, char, multispace0}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 5 | combinator::opt, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | error::Error, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> pidl-core/src/lib.rs:163:5 [INFO] [stdout] | [INFO] [stdout] 129 | / match a.strip_prefix("R") { [INFO] [stdout] 130 | | Some(b) => { [INFO] [stdout] ... | [INFO] [stdout] 162 | | } [INFO] [stdout] | |_____- any code following this `match` expression is unreachable, as all arms diverge [INFO] [stdout] 163 | todo!() [INFO] [stdout] | ^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `todo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> pidl-core/src/lib.rs:239:9 [INFO] [stdout] | [INFO] [stdout] 239 | write!(s, "{}", self); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 239 | let _ = write!(s, "{}", self); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.91s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: higher-kinded-types v0.1.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "2ad345c443057eba50c057e58c5dbdb34dfdb23f4aae243778ad075dab42c982", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ad345c443057eba50c057e58c5dbdb34dfdb23f4aae243778ad075dab42c982", kill_on_drop: false }` [INFO] [stdout] 2ad345c443057eba50c057e58c5dbdb34dfdb23f4aae243778ad075dab42c982