[INFO] fetching crate super-spotify-core 0.0.1... [INFO] testing super-spotify-core-0.0.1 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-8 [INFO] extracting crate super-spotify-core 0.0.1 into /workspace/builds/worker-5-tc1/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-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate super-spotify-core 0.0.1 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded vergen v8.3.2 [INFO] [stderr] Downloaded shannon v0.2.0 [INFO] [stderr] Downloaded dns-sd v0.1.3 [INFO] [stderr] Downloaded priority-queue v1.4.0 [INFO] [stderr] Downloaded protobuf-parse v3.7.2 [INFO] [stderr] Downloaded protobuf-codegen v3.7.2 [INFO] [stderr] Downloaded rsa v0.9.9 [INFO] [stderr] Downloaded num-bigint-dig v0.8.6 [INFO] [stderr] Downloaded quick-xml v0.29.0 [INFO] [stderr] Downloaded governor v0.5.1 [INFO] [stderr] Downloaded super-spotify-protocol v0.0.1 [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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9ad97fe6ac3336f9a45d5a13468d9fc7e3b1abf27a0d1193222c0dd2d2972b56 [INFO] running `Command { std: "docker" "start" "-a" "9ad97fe6ac3336f9a45d5a13468d9fc7e3b1abf27a0d1193222c0dd2d2972b56", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9ad97fe6ac3336f9a45d5a13468d9fc7e3b1abf27a0d1193222c0dd2d2972b56", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ad97fe6ac3336f9a45d5a13468d9fc7e3b1abf27a0d1193222c0dd2d2972b56", kill_on_drop: false }` [INFO] [stdout] 9ad97fe6ac3336f9a45d5a13468d9fc7e3b1abf27a0d1193222c0dd2d2972b56 [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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9a3aa972311d93b253dad3eddef0a6ff5a41c9c8f120cca05d75dd5e44cd0690 [INFO] running `Command { std: "docker" "start" "-a" "9a3aa972311d93b253dad3eddef0a6ff5a41c9c8f120cca05d75dd5e44cd0690", 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 ring v0.17.14 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling backtrace v0.3.76 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [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 aho-corasick v1.1.4 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling protobuf-support v3.7.2 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling base64ct v1.8.0 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling vergen v8.3.2 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling num_threads v0.1.7 [INFO] [stderr] Compiling time v0.3.44 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling der v0.7.10 [INFO] [stderr] Compiling num-bigint-dig v0.8.6 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rustls-native-certs v0.6.3 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling headers-core v0.2.0 [INFO] [stderr] Compiling inout v0.1.4 [INFO] [stderr] Compiling priority-queue v1.4.0 [INFO] [stderr] Compiling headers v0.3.9 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sct v0.6.1 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling rustls v0.19.1 [INFO] [stderr] Compiling tempfile v3.23.0 [INFO] [stderr] Compiling ct-logs v0.8.0 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling no-std-compat v0.4.1 [INFO] [stderr] Compiling nonzero_ext v0.3.0 [INFO] [stderr] Compiling uuid v1.18.1 [INFO] [stderr] Compiling pbkdf2 v0.12.2 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling shannon v0.2.0 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling pkcs1 v0.7.5 [INFO] [stderr] Compiling num-bigint v0.4.6 [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] Compiling rustls-native-certs v0.5.0 [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 futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling governor v0.5.1 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling protobuf-parse v3.7.2 [INFO] [stderr] Compiling protobuf-codegen v3.7.2 [INFO] [stderr] Compiling tokio-util v0.7.17 [INFO] [stderr] Compiling tokio-rustls v0.22.0 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling super-spotify-protocol v0.0.1 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling tungstenite v0.20.1 [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 20s [INFO] running `Command { std: "docker" "inspect" "9a3aa972311d93b253dad3eddef0a6ff5a41c9c8f120cca05d75dd5e44cd0690", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a3aa972311d93b253dad3eddef0a6ff5a41c9c8f120cca05d75dd5e44cd0690", kill_on_drop: false }` [INFO] [stdout] 9a3aa972311d93b253dad3eddef0a6ff5a41c9c8f120cca05d75dd5e44cd0690 [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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 25f6043edc14b49423f18b6837acdb814c0f3076459597df4a93d25e1a40bee0 [INFO] running `Command { std: "docker" "start" "-a" "25f6043edc14b49423f18b6837acdb814c0f3076459597df4a93d25e1a40bee0", kill_on_drop: false }` [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling rustls v0.19.1 [INFO] [stderr] Compiling protobuf-parse v3.7.2 [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 rustls-native-certs v0.5.0 [INFO] [stderr] Compiling tokio-rustls v0.22.0 [INFO] [stderr] Compiling hyper-rustls v0.22.1 [INFO] [stderr] Compiling hyper-proxy v0.9.1 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling env_logger v0.10.2 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling tungstenite v0.20.1 [INFO] [stderr] Compiling hyper-rustls v0.24.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" "25f6043edc14b49423f18b6837acdb814c0f3076459597df4a93d25e1a40bee0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "25f6043edc14b49423f18b6837acdb814c0f3076459597df4a93d25e1a40bee0", kill_on_drop: false }` [INFO] [stdout] 25f6043edc14b49423f18b6837acdb814c0f3076459597df4a93d25e1a40bee0