[INFO] fetching crate super-spotify-core 0.0.1... [INFO] testing super-spotify-core-0.0.1 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-8 [INFO] extracting crate super-spotify-core 0.0.1 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate super-spotify-core 0.0.1 [INFO] finished tweaking crates.io crate super-spotify-core 0.0.1 [INFO] tweaked toml for crates.io crate super-spotify-core 0.0.1 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate super-spotify-core 0.0.1 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 267 packages to latest compatible versions [INFO] [stderr] Adding base64 v0.21.7 (available: v0.22.1) [INFO] [stderr] Adding env_logger v0.10.2 (available: v0.11.8) [INFO] [stderr] Adding generic-array v0.14.7 (available: v0.14.9) [INFO] [stderr] Adding governor v0.5.1 (available: v0.10.2) [INFO] [stderr] Adding http v0.2.12 (available: v1.3.1) [INFO] [stderr] Adding hyper v0.14.32 (available: v1.8.1) [INFO] [stderr] Adding hyper-rustls v0.24.2 (available: v0.27.7) [INFO] [stderr] Adding num-derive v0.3.3 (available: v0.4.2) [INFO] [stderr] Adding priority-queue v1.4.0 (available: v2.7.0) [INFO] [stderr] Adding quick-xml v0.29.0 (available: v0.38.4) [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.2) [INFO] [stderr] Adding super-spotify-protocol v0.0.1 (available: v0.0.2) [INFO] [stderr] Adding sysinfo v0.29.11 (available: v0.37.2) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.17) [INFO] [stderr] Adding tokio-tungstenite v0.20.1 (available: v0.28.0) [INFO] [stderr] Adding vergen v8.3.2 (available: v9.0.6) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 010407d0f29c1df5d338bfd44c01522a420a03d5c2bf97d70927088342e8982c [INFO] running `Command { std: "docker" "start" "-a" "010407d0f29c1df5d338bfd44c01522a420a03d5c2bf97d70927088342e8982c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "010407d0f29c1df5d338bfd44c01522a420a03d5c2bf97d70927088342e8982c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "010407d0f29c1df5d338bfd44c01522a420a03d5c2bf97d70927088342e8982c", kill_on_drop: false }` [INFO] [stdout] 010407d0f29c1df5d338bfd44c01522a420a03d5c2bf97d70927088342e8982c [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" "-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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a914531fe03741961a15dfdc89062a32dcda0e86ed0639ade12ff4b21a3122e8 [INFO] running `Command { std: "docker" "start" "-a" "a914531fe03741961a15dfdc89062a32dcda0e86ed0639ade12ff4b21a3122e8", kill_on_drop: false }` [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling backtrace v0.3.76 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling protobuf v3.7.2 [INFO] [stderr] Compiling protobuf-support v3.7.2 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling base64ct v1.8.0 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling vergen v8.3.2 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling num_threads v0.1.7 [INFO] [stderr] Compiling pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling time v0.3.44 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling num-bigint-dig v0.8.6 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling rustls-native-certs v0.6.3 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling der v0.7.10 [INFO] [stderr] Compiling headers-core v0.2.0 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling priority-queue v1.4.0 [INFO] [stderr] Compiling inout v0.1.4 [INFO] [stderr] Compiling headers v0.3.9 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling sct v0.6.1 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling ct-logs v0.8.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling rustls v0.19.1 [INFO] [stderr] Compiling nonzero_ext v0.3.0 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling no-std-compat v0.4.1 [INFO] [stderr] Compiling pbkdf2 v0.12.2 [INFO] [stderr] Compiling uuid v1.18.1 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling shannon v0.2.0 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling tempfile v3.23.0 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling pkcs1 v0.7.5 [INFO] [stderr] Compiling quick-xml v0.29.0 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling sysinfo v0.29.11 [INFO] [stderr] Compiling rsa v0.9.9 [INFO] [stderr] Compiling super-spotify-core v0.0.1 (/opt/rustwide/workdir) [INFO] [stderr] warning: super-spotify-core@0.0.1: not within a suitable 'git' worktree! [INFO] [stderr] warning: super-spotify-core@0.0.1: VERGEN_GIT_COMMIT_DATE set to default [INFO] [stderr] warning: super-spotify-core@0.0.1: VERGEN_GIT_SHA set to default [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling rustls-native-certs v0.5.0 [INFO] [stderr] Compiling protobuf-parse v3.7.2 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling governor v0.5.1 [INFO] [stderr] Compiling protobuf-codegen v3.7.2 [INFO] [stderr] Compiling tungstenite v0.20.1 [INFO] [stderr] Compiling super-spotify-protocol v0.0.1 [INFO] [stderr] Compiling tokio-util v0.7.17 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling tokio-rustls v0.22.0 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling tokio-tungstenite v0.20.1 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper-rustls v0.22.1 [INFO] [stderr] Compiling hyper-rustls v0.24.2 [INFO] [stderr] Compiling hyper-proxy v0.9.1 [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/packet.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Copy, Clone, FromPrimitive, ToPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_PacketType` [INFO] [stdout] 6 | pub enum PacketType { [INFO] [stdout] | ---------- `PacketType` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/packet.rs:5:45 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Copy, Clone, FromPrimitive, ToPrimitive)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_PacketType` [INFO] [stdout] 6 | pub enum PacketType { [INFO] [stdout] | ---------- `PacketType` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 19s [INFO] running `Command { std: "docker" "inspect" "a914531fe03741961a15dfdc89062a32dcda0e86ed0639ade12ff4b21a3122e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a914531fe03741961a15dfdc89062a32dcda0e86ed0639ade12ff4b21a3122e8", kill_on_drop: false }` [INFO] [stdout] a914531fe03741961a15dfdc89062a32dcda0e86ed0639ade12ff4b21a3122e8 [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" "-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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dec2cea2d10f3a25173fe9ac1b3a59242e982f0530c46789af8570936d7edc06 [INFO] running `Command { std: "docker" "start" "-a" "dec2cea2d10f3a25173fe9ac1b3a59242e982f0530c46789af8570936d7edc06", kill_on_drop: false }` [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling protobuf-parse v3.7.2 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling rustls v0.19.1 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] warning: super-spotify-core@0.0.1: not within a suitable 'git' worktree! [INFO] [stderr] warning: super-spotify-core@0.0.1: VERGEN_GIT_COMMIT_DATE set to default [INFO] [stderr] warning: super-spotify-core@0.0.1: VERGEN_GIT_SHA set to default [INFO] [stderr] Compiling tokio-rustls v0.22.0 [INFO] [stderr] Compiling rustls-native-certs v0.5.0 [INFO] [stderr] Compiling hyper-rustls v0.22.1 [INFO] [stderr] Compiling hyper-proxy v0.9.1 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling tungstenite v0.20.1 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling hyper-rustls v0.24.2 [INFO] [stderr] Compiling env_logger v0.10.2 [INFO] [stderr] Compiling tokio-tungstenite v0.20.1 [INFO] [stderr] Compiling protobuf-codegen v3.7.2 [INFO] [stderr] Compiling super-spotify-protocol v0.0.1 [INFO] [stderr] Compiling super-spotify-core v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/packet.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Copy, Clone, FromPrimitive, ToPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_PacketType` [INFO] [stdout] 6 | pub enum PacketType { [INFO] [stdout] | ---------- `PacketType` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/packet.rs:5:45 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Copy, Clone, FromPrimitive, ToPrimitive)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_PacketType` [INFO] [stdout] 6 | pub enum PacketType { [INFO] [stdout] | ---------- `PacketType` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `librespot_core` [INFO] [stdout] --> tests/connect.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use librespot_core::{authentication::Credentials, config::SessionConfig, session::Session}; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `librespot_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `librespot_core`, use `cargo add librespot_core` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `Result<_, _>` [INFO] [stdout] --> tests/connect.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | let result = Session::new(SessionConfig::default(), None) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | Err(e) => assert!(!e.to_string().is_empty()), // there should be some error message [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `result` an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 10 | let result: Result = Session::new(SessionConfig::default(), None) [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/connect.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | / timeout(Duration::from_secs(30), async { [INFO] [stdout] 10 | | let result = Session::new(SessionConfig::default(), None) [INFO] [stdout] 11 | | .connect(Credentials::with_password("test", "test"), false) [INFO] [stdout] 12 | | .await; [INFO] [stdout] ... | [INFO] [stdout] 18 | | }) [INFO] [stdout] 19 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] warning: super-spotify-core@0.0.1: not within a suitable 'git' worktree! [INFO] [stderr] warning: super-spotify-core@0.0.1: VERGEN_GIT_COMMIT_DATE set to default [INFO] [stderr] warning: super-spotify-core@0.0.1: VERGEN_GIT_SHA set to default [INFO] [stderr] error: could not compile `super-spotify-core` (test "connect") due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/packet.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Copy, Clone, FromPrimitive, ToPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_PacketType` [INFO] [stdout] 6 | pub enum PacketType { [INFO] [stdout] | ---------- `PacketType` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/packet.rs:5:45 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Copy, Clone, FromPrimitive, ToPrimitive)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_PacketType` [INFO] [stdout] 6 | pub enum PacketType { [INFO] [stdout] | ---------- `PacketType` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "dec2cea2d10f3a25173fe9ac1b3a59242e982f0530c46789af8570936d7edc06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dec2cea2d10f3a25173fe9ac1b3a59242e982f0530c46789af8570936d7edc06", kill_on_drop: false }` [INFO] [stdout] dec2cea2d10f3a25173fe9ac1b3a59242e982f0530c46789af8570936d7edc06