[INFO] fetching crate spl-collections 0.1.1... [INFO] testing spl-collections-0.1.1 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-2 [INFO] extracting crate spl-collections 0.1.1 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate spl-collections 0.1.1 [INFO] finished tweaking crates.io crate spl-collections 0.1.1 [INFO] tweaked toml for crates.io crate spl-collections 0.1.1 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate spl-collections 0.1.1 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate spl-collections 0.1.1 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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b5581bf6bdc96fa83a5fe11a8f2f09e2cd1c9182f2585de8eb330ba433bf81e0 [INFO] running `Command { std: "docker" "start" "-a" "b5581bf6bdc96fa83a5fe11a8f2f09e2cd1c9182f2585de8eb330ba433bf81e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b5581bf6bdc96fa83a5fe11a8f2f09e2cd1c9182f2585de8eb330ba433bf81e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b5581bf6bdc96fa83a5fe11a8f2f09e2cd1c9182f2585de8eb330ba433bf81e0", kill_on_drop: false }` [INFO] [stdout] b5581bf6bdc96fa83a5fe11a8f2f09e2cd1c9182f2585de8eb330ba433bf81e0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 295d3f48b0fd8cd0b926f991651b7c88d6b0f04df7c353a17bab7cb9a0ecca79 [INFO] running `Command { std: "docker" "start" "-a" "295d3f48b0fd8cd0b926f991651b7c88d6b0f04df7c353a17bab7cb9a0ecca79", kill_on_drop: false }` [INFO] [stderr] Compiling spl-collections v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `from_utf8` [INFO] [stdout] --> src/str.rs:25:15 [INFO] [stdout] | [INFO] [stdout] 25 | str::{from_utf8, from_utf8_unchecked}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.25s [INFO] running `Command { std: "docker" "inspect" "295d3f48b0fd8cd0b926f991651b7c88d6b0f04df7c353a17bab7cb9a0ecca79", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "295d3f48b0fd8cd0b926f991651b7c88d6b0f04df7c353a17bab7cb9a0ecca79", kill_on_drop: false }` [INFO] [stdout] 295d3f48b0fd8cd0b926f991651b7c88d6b0f04df7c353a17bab7cb9a0ecca79 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 62ebf193ceb3db044d51b0bb6fb01f70514d6c58e317632fd45d1eea96d2fd8e [INFO] running `Command { std: "docker" "start" "-a" "62ebf193ceb3db044d51b0bb6fb01f70514d6c58e317632fd45d1eea96d2fd8e", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `from_utf8` [INFO] [stdout] --> src/str.rs:25:15 [INFO] [stdout] | [INFO] [stdout] 25 | str::{from_utf8, from_utf8_unchecked}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling spl-collections v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: cannot find module or crate `borsh` in this scope [INFO] [stdout] --> src/str.rs:233:9 [INFO] [stdout] | [INFO] [stdout] 233 | borsh::{io::ErrorKind, BorshDeserialize, BorshSerialize}, [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `borsh` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `borsh`, use `cargo add borsh` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `borsh`, `wincode` [INFO] [stdout] --> src/str.rs:233:9 [INFO] [stdout] | [INFO] [stdout] 233 | borsh::{io::ErrorKind, BorshDeserialize, BorshSerialize}, [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `borsh` [INFO] [stdout] 234 | core::mem::size_of, [INFO] [stdout] 235 | wincode::WriteError, [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `wincode` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `borsh`, use `cargo add borsh` to add it to your `Cargo.toml` [INFO] [stdout] = help: if you wanted to use a crate named `wincode`, use `cargo add wincode` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `borsh` [INFO] [stdout] --> src/vec.rs:346:9 [INFO] [stdout] | [INFO] [stdout] 346 | use borsh::{BorshDeserialize, BorshSerialize}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `borsh` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `borsh`, use `cargo add borsh` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `wincode` [INFO] [stdout] --> src/vec.rs:348:9 [INFO] [stdout] | [INFO] [stdout] 348 | use wincode::WriteError; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `wincode` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wincode`, use `cargo add wincode` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `from_utf8` [INFO] [stdout] --> src/str.rs:25:15 [INFO] [stdout] | [INFO] [stdout] 25 | str::{from_utf8, from_utf8_unchecked}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `serialize` found for struct `str::TrailingStr` in the current scope [INFO] [stdout] --> src/str.rs:248:18 [INFO] [stdout] | [INFO] [stdout] 88 | pub struct TrailingStr(TrailingVec); [INFO] [stdout] | ---------------------- method `serialize` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 248 | original.serialize(&mut bytes.as_mut_slice()).unwrap(); [INFO] [stdout] | ^^^^^^^^^ method not found in `str::TrailingStr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `try_from_slice` found for struct `str::TrailingStr` in the current scope [INFO] [stdout] --> src/str.rs:250:39 [INFO] [stdout] | [INFO] [stdout] 88 | pub struct TrailingStr(TrailingVec); [INFO] [stdout] | ---------------------- function or associated item `try_from_slice` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 250 | let serialized = TrailingStr::try_from_slice(&bytes).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `str::TrailingStr` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `try_from` with a similar name [INFO] [stdout] | [INFO] [stdout] 250 - let serialized = TrailingStr::try_from_slice(&bytes).unwrap(); [INFO] [stdout] 250 + let serialized = TrailingStr::try_from(&bytes).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `wincode` in this scope [INFO] [stdout] --> src/str.rs:264:9 [INFO] [stdout] | [INFO] [stdout] 264 | wincode::serialize_into(bytes.as_mut_slice(), &original).unwrap(); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `wincode` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wincode`, use `cargo add wincode` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `wincode` in this scope [INFO] [stdout] --> src/str.rs:266:26 [INFO] [stdout] | [INFO] [stdout] 266 | let serialized = wincode::deserialize::(&bytes).unwrap(); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `wincode` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wincode`, use `cargo add wincode` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `borsh` in this scope [INFO] [stdout] --> src/str.rs:279:21 [INFO] [stdout] | [INFO] [stdout] 279 | let bytes = borsh::to_vec(&original).unwrap(); [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `borsh` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `borsh`, use `cargo add borsh` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `try_from_slice` found for struct `str::U8PrefixedStr` in the current scope [INFO] [stdout] --> src/str.rs:284:37 [INFO] [stdout] | [INFO] [stdout] 157 | pub struct $name($container_type); [INFO] [stdout] | -------------------------------------- function or associated item `try_from_slice` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 284 | let string = U8PrefixedStr::try_from_slice(&bytes).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `str::U8PrefixedStr` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `try_from` with a similar name [INFO] [stdout] | [INFO] [stdout] 284 - let string = U8PrefixedStr::try_from_slice(&bytes).unwrap(); [INFO] [stdout] 284 + let string = U8PrefixedStr::try_from(&bytes).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `borsh` in this scope [INFO] [stdout] --> src/str.rs:291:21 [INFO] [stdout] | [INFO] [stdout] 291 | let bytes = borsh::to_vec(&original).unwrap(); [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `borsh` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `borsh`, use `cargo add borsh` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `try_from_slice` found for struct `str::U16PrefixedStr` in the current scope [INFO] [stdout] --> src/str.rs:299:38 [INFO] [stdout] | [INFO] [stdout] 157 | pub struct $name($container_type); [INFO] [stdout] | -------------------------------------- function or associated item `try_from_slice` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 299 | let string = U16PrefixedStr::try_from_slice(&bytes).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `str::U16PrefixedStr` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `try_from` with a similar name [INFO] [stdout] | [INFO] [stdout] 299 - let string = U16PrefixedStr::try_from_slice(&bytes).unwrap(); [INFO] [stdout] 299 + let string = U16PrefixedStr::try_from(&bytes).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `borsh` in this scope [INFO] [stdout] --> src/str.rs:306:21 [INFO] [stdout] | [INFO] [stdout] 306 | let bytes = borsh::to_vec(&original).unwrap(); [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `borsh` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `borsh`, use `cargo add borsh` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `try_from_slice` found for struct `str::U32PrefixedStr` in the current scope [INFO] [stdout] --> src/str.rs:314:38 [INFO] [stdout] | [INFO] [stdout] 157 | pub struct $name($container_type); [INFO] [stdout] | -------------------------------------- function or associated item `try_from_slice` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 314 | let string = U32PrefixedStr::try_from_slice(&bytes).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `str::U32PrefixedStr` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `try_from` with a similar name [INFO] [stdout] | [INFO] [stdout] 314 - let string = U32PrefixedStr::try_from_slice(&bytes).unwrap(); [INFO] [stdout] 314 + let string = U32PrefixedStr::try_from(&bytes).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `borsh` in this scope [INFO] [stdout] --> src/str.rs:321:21 [INFO] [stdout] | [INFO] [stdout] 321 | let bytes = borsh::to_vec(&original).unwrap(); [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `borsh` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `borsh`, use `cargo add borsh` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `try_from_slice` found for struct `str::U64PrefixedStr` in the current scope [INFO] [stdout] --> src/str.rs:329:38 [INFO] [stdout] | [INFO] [stdout] 157 | pub struct $name($container_type); [INFO] [stdout] | -------------------------------------- function or associated item `try_from_slice` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 329 | let string = U64PrefixedStr::try_from_slice(&bytes).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `str::U64PrefixedStr` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `try_from` with a similar name [INFO] [stdout] | [INFO] [stdout] 329 - let string = U64PrefixedStr::try_from_slice(&bytes).unwrap(); [INFO] [stdout] 329 + let string = U64PrefixedStr::try_from(&bytes).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `wincode` in this scope [INFO] [stdout] --> src/str.rs:342:9 [INFO] [stdout] | [INFO] [stdout] 342 | wincode::serialize_into(bytes.as_mut_slice(), &original).unwrap(); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `wincode` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wincode`, use `cargo add wincode` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `wincode` in this scope [INFO] [stdout] --> src/str.rs:347:26 [INFO] [stdout] | [INFO] [stdout] 347 | let serialized = wincode::deserialize::(&bytes).unwrap(); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `wincode` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wincode`, use `cargo add wincode` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `wincode` in this scope [INFO] [stdout] --> src/str.rs:356:9 [INFO] [stdout] | [INFO] [stdout] 356 | wincode::serialize_into(bytes.as_mut_slice(), &original).unwrap(); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `wincode` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wincode`, use `cargo add wincode` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `wincode` in this scope [INFO] [stdout] --> src/str.rs:364:26 [INFO] [stdout] | [INFO] [stdout] 364 | let serialized = wincode::deserialize::(&bytes).unwrap(); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `wincode` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wincode`, use `cargo add wincode` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `wincode` in this scope [INFO] [stdout] --> src/str.rs:373:9 [INFO] [stdout] | [INFO] [stdout] 373 | wincode::serialize_into(bytes.as_mut_slice(), &original).unwrap(); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `wincode` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wincode`, use `cargo add wincode` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `wincode` in this scope [INFO] [stdout] --> src/str.rs:381:26 [INFO] [stdout] | [INFO] [stdout] 381 | let serialized = wincode::deserialize::(&bytes).unwrap(); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `wincode` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wincode`, use `cargo add wincode` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `wincode` in this scope [INFO] [stdout] --> src/str.rs:390:9 [INFO] [stdout] | [INFO] [stdout] 390 | wincode::serialize_into(bytes.as_mut_slice(), &original).unwrap(); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `wincode` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wincode`, use `cargo add wincode` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `wincode` in this scope [INFO] [stdout] --> src/str.rs:398:26 [INFO] [stdout] | [INFO] [stdout] 398 | let serialized = wincode::deserialize::(&bytes).unwrap(); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `wincode` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wincode`, use `cargo add wincode` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `borsh` in this scope [INFO] [stdout] --> src/str.rs:412:22 [INFO] [stdout] | [INFO] [stdout] 412 | let result = borsh::to_vec(&original); [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `borsh` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `borsh`, use `cargo add borsh` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `wincode` in this scope [INFO] [stdout] --> src/str.rs:418:22 [INFO] [stdout] | [INFO] [stdout] 418 | let result = wincode::serialize(&original); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `wincode` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wincode`, use `cargo add wincode` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `deserialize` found for struct `str::U8PrefixedStr` in the current scope [INFO] [stdout] --> src/str.rs:438:41 [INFO] [stdout] | [INFO] [stdout] 157 | pub struct $name($container_type); [INFO] [stdout] | -------------------------------------- function or associated item `deserialize` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 438 | let serialized = U8PrefixedStr::deserialize(&mut reader).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ function or associated item not found in `str::U8PrefixedStr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `wincode` in this scope [INFO] [stdout] --> src/str.rs:454:26 [INFO] [stdout] | [INFO] [stdout] 454 | let serialized = wincode::deserialize::(&bytes).unwrap(); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `wincode` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wincode`, use `cargo add wincode` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `deserialize` found for struct `str::TrailingStr` in the current scope [INFO] [stdout] --> src/str.rs:468:47 [INFO] [stdout] | [INFO] [stdout] 88 | pub struct TrailingStr(TrailingVec); [INFO] [stdout] | ---------------------- function or associated item `deserialize` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 468 | let maybe_deserialized = TrailingStr::deserialize(&mut reader); [INFO] [stdout] | ^^^^^^^^^^^ function or associated item not found in `str::TrailingStr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `deserialize` found for struct `str::U8PrefixedStr` in the current scope [INFO] [stdout] --> src/str.rs:475:49 [INFO] [stdout] | [INFO] [stdout] 157 | pub struct $name($container_type); [INFO] [stdout] | -------------------------------------- function or associated item `deserialize` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 475 | let maybe_deserialized = U8PrefixedStr::deserialize(&mut reader); [INFO] [stdout] | ^^^^^^^^^^^ function or associated item not found in `str::U8PrefixedStr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `wincode` in this scope [INFO] [stdout] --> src/str.rs:487:34 [INFO] [stdout] | [INFO] [stdout] 487 | let maybe_deserialized = wincode::deserialize::(&bytes[1..]); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `wincode` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wincode`, use `cargo add wincode` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `wincode` in this scope [INFO] [stdout] --> src/str.rs:493:34 [INFO] [stdout] | [INFO] [stdout] 493 | let maybe_deserialized = wincode::deserialize::(&bytes); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `wincode` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wincode`, use `cargo add wincode` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `serialize` found for struct `vec::TrailingVec` in the current scope [INFO] [stdout] --> src/vec.rs:360:18 [INFO] [stdout] | [INFO] [stdout] 80 | pub struct TrailingVec(Vec); [INFO] [stdout] | ------------------------- method `serialize` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 360 | original.serialize(&mut bytes.as_mut_slice()).unwrap(); [INFO] [stdout] | ^^^^^^^^^ method not found in `vec::TrailingVec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `try_from_slice` found for struct `vec::TrailingVec<_>` in the current scope [INFO] [stdout] --> src/vec.rs:362:39 [INFO] [stdout] | [INFO] [stdout] 80 | pub struct TrailingVec(Vec); [INFO] [stdout] | ------------------------- function or associated item `try_from_slice` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 362 | let serialized = TrailingVec::try_from_slice(&bytes).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `vec::TrailingVec<_>` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `try_from` with a similar name [INFO] [stdout] | [INFO] [stdout] 362 - let serialized = TrailingVec::try_from_slice(&bytes).unwrap(); [INFO] [stdout] 362 + let serialized = TrailingVec::try_from(&bytes).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `wincode` in this scope [INFO] [stdout] --> src/vec.rs:377:9 [INFO] [stdout] | [INFO] [stdout] 377 | wincode::serialize_into(bytes.as_mut_slice(), &original).unwrap(); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `wincode` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wincode`, use `cargo add wincode` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `wincode` in this scope [INFO] [stdout] --> src/vec.rs:379:26 [INFO] [stdout] | [INFO] [stdout] 379 | let serialized = wincode::deserialize::>(&bytes).unwrap(); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `wincode` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wincode`, use `cargo add wincode` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `borsh` in this scope [INFO] [stdout] --> src/vec.rs:392:21 [INFO] [stdout] | [INFO] [stdout] 392 | let bytes = borsh::to_vec(&original).unwrap(); [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `borsh` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `borsh`, use `cargo add borsh` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `try_from_slice` found for struct `vec::U8PrefixedVec<_>` in the current scope [INFO] [stdout] --> src/vec.rs:394:41 [INFO] [stdout] | [INFO] [stdout] 195 | pub struct $name(Vec); [INFO] [stdout] | ---------------------------- function or associated item `try_from_slice` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 394 | let serialized = U8PrefixedVec::try_from_slice(&bytes).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `vec::U8PrefixedVec<_>` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `try_from` with a similar name [INFO] [stdout] | [INFO] [stdout] 394 - let serialized = U8PrefixedVec::try_from_slice(&bytes).unwrap(); [INFO] [stdout] 394 + let serialized = U8PrefixedVec::try_from(&bytes).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `borsh` in this scope [INFO] [stdout] --> src/vec.rs:402:21 [INFO] [stdout] | [INFO] [stdout] 402 | let bytes = borsh::to_vec(&original).unwrap(); [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `borsh` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `borsh`, use `cargo add borsh` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `try_from_slice` found for struct `vec::U16PrefixedVec<_>` in the current scope [INFO] [stdout] --> src/vec.rs:404:42 [INFO] [stdout] | [INFO] [stdout] 195 | pub struct $name(Vec); [INFO] [stdout] | ---------------------------- function or associated item `try_from_slice` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 404 | let serialized = U16PrefixedVec::try_from_slice(&bytes).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `vec::U16PrefixedVec<_>` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `try_from` with a similar name [INFO] [stdout] | [INFO] [stdout] 404 - let serialized = U16PrefixedVec::try_from_slice(&bytes).unwrap(); [INFO] [stdout] 404 + let serialized = U16PrefixedVec::try_from(&bytes).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `borsh` in this scope [INFO] [stdout] --> src/vec.rs:412:21 [INFO] [stdout] | [INFO] [stdout] 412 | let bytes = borsh::to_vec(&original).unwrap(); [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `borsh` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `borsh`, use `cargo add borsh` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `try_from_slice` found for struct `vec::U64PrefixedVec<_>` in the current scope [INFO] [stdout] --> src/vec.rs:414:42 [INFO] [stdout] | [INFO] [stdout] 195 | pub struct $name(Vec); [INFO] [stdout] | ---------------------------- function or associated item `try_from_slice` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 414 | let serialized = U64PrefixedVec::try_from_slice(&bytes).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `vec::U64PrefixedVec<_>` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `try_from` with a similar name [INFO] [stdout] | [INFO] [stdout] 414 - let serialized = U64PrefixedVec::try_from_slice(&bytes).unwrap(); [INFO] [stdout] 414 + let serialized = U64PrefixedVec::try_from(&bytes).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `wincode` in this scope [INFO] [stdout] --> src/vec.rs:428:9 [INFO] [stdout] | [INFO] [stdout] 428 | wincode::serialize_into(bytes.as_mut_slice(), &original).unwrap(); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `wincode` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wincode`, use `cargo add wincode` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `wincode` in this scope [INFO] [stdout] --> src/vec.rs:430:26 [INFO] [stdout] | [INFO] [stdout] 430 | let serialized = wincode::deserialize::>(&bytes).unwrap(); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `wincode` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wincode`, use `cargo add wincode` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `wincode` in this scope [INFO] [stdout] --> src/vec.rs:439:9 [INFO] [stdout] | [INFO] [stdout] 439 | wincode::serialize_into(bytes.as_mut_slice(), &original).unwrap(); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `wincode` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wincode`, use `cargo add wincode` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `wincode` in this scope [INFO] [stdout] --> src/vec.rs:441:26 [INFO] [stdout] | [INFO] [stdout] 441 | let serialized = wincode::deserialize::>(&bytes).unwrap(); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `wincode` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wincode`, use `cargo add wincode` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `wincode` in this scope [INFO] [stdout] --> src/vec.rs:450:9 [INFO] [stdout] | [INFO] [stdout] 450 | wincode::serialize_into(bytes.as_mut_slice(), &original).unwrap(); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `wincode` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wincode`, use `cargo add wincode` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `wincode` in this scope [INFO] [stdout] --> src/vec.rs:452:26 [INFO] [stdout] | [INFO] [stdout] 452 | let serialized = wincode::deserialize::>(&bytes).unwrap(); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `wincode` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wincode`, use `cargo add wincode` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `wincode` in this scope [INFO] [stdout] --> src/vec.rs:461:9 [INFO] [stdout] | [INFO] [stdout] 461 | wincode::serialize_into(bytes.as_mut_slice(), &original).unwrap(); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `wincode` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wincode`, use `cargo add wincode` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `wincode` in this scope [INFO] [stdout] --> src/vec.rs:463:26 [INFO] [stdout] | [INFO] [stdout] 463 | let serialized = wincode::deserialize::>(&bytes).unwrap(); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `wincode` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wincode`, use `cargo add wincode` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `borsh` in this scope [INFO] [stdout] --> src/vec.rs:477:22 [INFO] [stdout] | [INFO] [stdout] 477 | let result = borsh::to_vec(&original); [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `borsh` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `borsh`, use `cargo add borsh` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `ErrorKind` in this scope [INFO] [stdout] --> src/vec.rs:480:48 [INFO] [stdout] | [INFO] [stdout] 480 | assert_eq!(result.unwrap_err().kind(), ErrorKind::InvalidData); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `ErrorKind` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/str.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[cfg(feature = "borsh")] [INFO] [stdout] | ----------------- the item is gated behind the `borsh` feature [INFO] [stdout] 16 | use borsh::{ [INFO] [stdout] 17 | io::{ErrorKind, Read}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/vec.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[cfg(feature = "borsh")] [INFO] [stdout] | ----------------- the item is gated behind the `borsh` feature [INFO] [stdout] 16 | use borsh::{ [INFO] [stdout] 17 | io::{ErrorKind, Read, Write}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `wincode` in this scope [INFO] [stdout] --> src/vec.rs:483:22 [INFO] [stdout] | [INFO] [stdout] 483 | let result = wincode::serialize(&original); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `wincode` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wincode`, use `cargo add wincode` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `deserialize` found for struct `vec::U8PrefixedVec` in the current scope [INFO] [stdout] --> src/vec.rs:500:48 [INFO] [stdout] | [INFO] [stdout] 195 | pub struct $name(Vec); [INFO] [stdout] | ---------------------------- function or associated item `deserialize` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 500 | let serialized = U8PrefixedVec::::deserialize(&mut reader).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ function or associated item not found in `vec::U8PrefixedVec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `wincode` in this scope [INFO] [stdout] --> src/vec.rs:513:26 [INFO] [stdout] | [INFO] [stdout] 513 | let serialized = wincode::deserialize::>(&bytes).unwrap(); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `wincode` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wincode`, use `cargo add wincode` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `spl-collections` (lib test) due to 55 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "62ebf193ceb3db044d51b0bb6fb01f70514d6c58e317632fd45d1eea96d2fd8e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "62ebf193ceb3db044d51b0bb6fb01f70514d6c58e317632fd45d1eea96d2fd8e", kill_on_drop: false }` [INFO] [stdout] 62ebf193ceb3db044d51b0bb6fb01f70514d6c58e317632fd45d1eea96d2fd8e