[INFO] fetching crate collum 0.1.0... [INFO] testing collum-0.1.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate collum 0.1.0 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate collum 0.1.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate collum 0.1.0 [INFO] tweaked toml for crates.io crate collum 0.1.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate collum 0.1.0 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate collum 0.1.0 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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded collum-derive v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 47402bbbbf53218ff48f92f12d8436561b8574c623e26f92115249b8e400a996 [INFO] running `Command { std: "docker" "start" "-a" "47402bbbbf53218ff48f92f12d8436561b8574c623e26f92115249b8e400a996", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "47402bbbbf53218ff48f92f12d8436561b8574c623e26f92115249b8e400a996", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "47402bbbbf53218ff48f92f12d8436561b8574c623e26f92115249b8e400a996", kill_on_drop: false }` [INFO] [stdout] 47402bbbbf53218ff48f92f12d8436561b8574c623e26f92115249b8e400a996 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 40034703243cbf9a87b477ffd30f9a7e60df554e1a26eabff4ede1e6a3464ba6 [INFO] running `Command { std: "docker" "start" "-a" "40034703243cbf9a87b477ffd30f9a7e60df554e1a26eabff4ede1e6a3464ba6", kill_on_drop: false }` [INFO] [stderr] Compiling collum v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.33s [INFO] running `Command { std: "docker" "inspect" "40034703243cbf9a87b477ffd30f9a7e60df554e1a26eabff4ede1e6a3464ba6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "40034703243cbf9a87b477ffd30f9a7e60df554e1a26eabff4ede1e6a3464ba6", kill_on_drop: false }` [INFO] [stdout] 40034703243cbf9a87b477ffd30f9a7e60df554e1a26eabff4ede1e6a3464ba6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] e09c4695ba60d3e5afe20619eb44dc82e96134684a0a04f0e38cd2d3aaf0e1b8 [INFO] running `Command { std: "docker" "start" "-a" "e09c4695ba60d3e5afe20619eb44dc82e96134684a0a04f0e38cd2d3aaf0e1b8", kill_on_drop: false }` [INFO] [stderr] Compiling collum v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `collum_derive` [INFO] [stdout] --> examples/u2.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use collum_derive::{Collum, Sized}; [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `collum_derive` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `collum_derive`, use `cargo add collum_derive` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `collum_derive` [INFO] [stdout] --> src/lib.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | use collum_derive::{Collum, Sized}; [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `collum_derive` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `collum_derive`, use `cargo add collum_derive` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `collum` in this scope [INFO] [stdout] --> src/lib.rs:94:11 [INFO] [stdout] | [INFO] [stdout] 94 | #[collum(endian = "big")] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `collum` is imported here, but it is a module, not an attribute [INFO] [stdout] --> src/lib.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | extern crate self as collum; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_bytes` found for struct `U2` in the current scope [INFO] [stdout] --> examples/u2.rs:12:20 [INFO] [stdout] | [INFO] [stdout] 9 | struct U2(bool, bool); [INFO] [stdout] | --------- function or associated item `from_bytes` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 12 | assert_eq!(U2::from_bytes(&[1, 2, 3]), Some(U2(false, false))); [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `U2` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `from_bytes`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Collum` [INFO] [stdout] candidate #2: `OsStrExt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_bytes` found for struct `U2` in the current scope [INFO] [stdout] --> examples/u2.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 9 | struct U2(bool, bool); [INFO] [stdout] | --------- function or associated item `from_bytes` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 13 | assert_eq!(U2::from_bytes(&[0b11111111, 0]), Some(U2(true, true))); [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `U2` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `from_bytes`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Collum` [INFO] [stdout] candidate #2: `OsStrExt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_bytes` found for struct `U2` in the current scope [INFO] [stdout] --> examples/u2.rs:14:20 [INFO] [stdout] | [INFO] [stdout] 9 | struct U2(bool, bool); [INFO] [stdout] | --------- function or associated item `from_bytes` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 14 | assert_eq!(U2::from_bytes(&[0b10000000, 0]), Some(U2(true, false))); [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `U2` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `from_bytes`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Collum` [INFO] [stdout] candidate #2: `OsStrExt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `from_bytes` exists for array `[U2; 10]`, but its trait bounds were not satisfied [INFO] [stdout] --> examples/u2.rs:17:21 [INFO] [stdout] | [INFO] [stdout] 9 | struct U2(bool, bool); [INFO] [stdout] | --------- doesn't satisfy `U2: Collum` [INFO] [stdout] ... [INFO] [stdout] 17 | <[U2; 10]>::from_bytes(&[0b00000001, 0b00000010, 0b00000011]), [INFO] [stdout] | ^^^^^^^^^^ function or associated item cannot be called on `[U2; 10]` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `U2: Collum` [INFO] [stdout] which is required by `[U2; 10]: Collum` [INFO] [stdout] note: the trait `Collum` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:58:1 [INFO] [stdout] | [INFO] [stdout] 58 | pub trait Collum: crate::Sized + core::marker::Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `from_bytes` exists for array `[U2; 4]`, but its trait bounds were not satisfied [INFO] [stdout] --> examples/u2.rs:32:20 [INFO] [stdout] | [INFO] [stdout] 9 | struct U2(bool, bool); [INFO] [stdout] | --------- doesn't satisfy `U2: Collum` [INFO] [stdout] ... [INFO] [stdout] 32 | <[U2; 4]>::from_bytes(&[0b11111111]), [INFO] [stdout] | ^^^^^^^^^^ function or associated item cannot be called on `[U2; 4]` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `U2: Collum` [INFO] [stdout] which is required by `[U2; 4]: Collum` [INFO] [stdout] note: the trait `Collum` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:58:1 [INFO] [stdout] | [INFO] [stdout] 58 | pub trait Collum: crate::Sized + core::marker::Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `from_bytes` exists for array `[U2; 5]`, but its trait bounds were not satisfied [INFO] [stdout] --> examples/u2.rs:35:27 [INFO] [stdout] | [INFO] [stdout] 9 | struct U2(bool, bool); [INFO] [stdout] | --------- doesn't satisfy `U2: Collum` [INFO] [stdout] ... [INFO] [stdout] 35 | assert_eq!(<[U2; 5]>::from_bytes(&[0b11000110]), None); [INFO] [stdout] | ^^^^^^^^^^ function or associated item cannot be called on `[U2; 5]` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `U2: Collum` [INFO] [stdout] which is required by `[U2; 5]: Collum` [INFO] [stdout] note: the trait `Collum` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:58:1 [INFO] [stdout] | [INFO] [stdout] 58 | pub trait Collum: crate::Sized + core::marker::Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `from_bytes` exists for array `[U2; 4]`, but its trait bounds were not satisfied [INFO] [stdout] --> examples/u2.rs:37:20 [INFO] [stdout] | [INFO] [stdout] 9 | struct U2(bool, bool); [INFO] [stdout] | --------- doesn't satisfy `U2: Collum` [INFO] [stdout] ... [INFO] [stdout] 37 | <[U2; 4]>::from_bytes(&[0b11000110]), [INFO] [stdout] | ^^^^^^^^^^ function or associated item cannot be called on `[U2; 4]` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `U2: Collum` [INFO] [stdout] which is required by `[U2; 4]: Collum` [INFO] [stdout] note: the trait `Collum` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:58:1 [INFO] [stdout] | [INFO] [stdout] 58 | pub trait Collum: crate::Sized + core::marker::Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `take_from_bit_slice` exists for array `[U2; 5]`, but its trait bounds were not satisfied [INFO] [stdout] --> examples/u2.rs:47:20 [INFO] [stdout] | [INFO] [stdout] 9 | struct U2(bool, bool); [INFO] [stdout] | --------- doesn't satisfy `U2: Collum` [INFO] [stdout] ... [INFO] [stdout] 47 | <[U2; 5]>::take_from_bit_slice((&[0b11000110, 0b10011100]).into()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ function or associated item cannot be called on `[U2; 5]` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `U2: Collum` [INFO] [stdout] which is required by `[U2; 5]: Collum` [INFO] [stdout] note: the trait `Collum` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:58:1 [INFO] [stdout] | [INFO] [stdout] 58 | pub trait Collum: crate::Sized + core::marker::Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `collum` (example "u2") due to 9 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no function or associated item named `bits` found for struct `UdpHeader` in the current scope [INFO] [stdout] --> src/lib.rs:129:31 [INFO] [stdout] | [INFO] [stdout] 95 | struct UdpHeader { [INFO] [stdout] | ---------------- function or associated item `bits` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 129 | assert_eq!(UdpHeader::bits(), 8 * 8); [INFO] [stdout] | ^^^^ function or associated item not found in `UdpHeader` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `sized::Sized` defines an item `bits`, perhaps you need to implement it [INFO] [stdout] --> src/sized.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_bytes` found for struct `UdpHeader` in the current scope [INFO] [stdout] --> src/lib.rs:132:24 [INFO] [stdout] | [INFO] [stdout] 95 | struct UdpHeader { [INFO] [stdout] | ---------------- function or associated item `from_bytes` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 132 | UdpHeader::from_bytes(&[0x01, 0xbb, 0xbf, 0xe5, 0x00, 0x21, 0x00, 0x00]), [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `UdpHeader` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `from_bytes`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Collum` [INFO] [stdout] candidate #2: `OsStrExt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_bytes` found for struct `tests::parse_u2_derived::U2` in the current scope [INFO] [stdout] --> src/lib.rs:207:24 [INFO] [stdout] | [INFO] [stdout] 205 | struct U2(bool, bool); [INFO] [stdout] | --------- function or associated item `from_bytes` not found for this struct [INFO] [stdout] 206 | [INFO] [stdout] 207 | assert_eq!(U2::from_bytes(&[1, 2, 3]), Some(U2(false, false))); [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `tests::parse_u2_derived::U2` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `from_bytes`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Collum` [INFO] [stdout] candidate #2: `OsStrExt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_bytes` found for struct `tests::parse_u2_derived::U2` in the current scope [INFO] [stdout] --> src/lib.rs:208:24 [INFO] [stdout] | [INFO] [stdout] 205 | struct U2(bool, bool); [INFO] [stdout] | --------- function or associated item `from_bytes` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 208 | assert_eq!(U2::from_bytes(&[0b11111111, 0]), Some(U2(true, true))); [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `tests::parse_u2_derived::U2` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `from_bytes`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Collum` [INFO] [stdout] candidate #2: `OsStrExt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_bytes` found for struct `tests::parse_u2_derived::U2` in the current scope [INFO] [stdout] --> src/lib.rs:209:24 [INFO] [stdout] | [INFO] [stdout] 205 | struct U2(bool, bool); [INFO] [stdout] | --------- function or associated item `from_bytes` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 209 | assert_eq!(U2::from_bytes(&[0b10000000, 0]), Some(U2(true, false))); [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `tests::parse_u2_derived::U2` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `from_bytes`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Collum` [INFO] [stdout] candidate #2: `OsStrExt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `from_bytes` exists for array `[tests::parse_u2_derived::U2; 10]`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:212:25 [INFO] [stdout] | [INFO] [stdout] 205 | struct U2(bool, bool); [INFO] [stdout] | --------- doesn't satisfy `tests::parse_u2_derived::U2: Collum` [INFO] [stdout] ... [INFO] [stdout] 212 | <[U2; 10]>::from_bytes(&[0b00000001, 0b00000010, 0b00000011]), [INFO] [stdout] | ^^^^^^^^^^ function or associated item cannot be called on `[tests::parse_u2_derived::U2; 10]` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `tests::parse_u2_derived::U2: Collum` was not satisfied [INFO] [stdout] --> src/impls.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 65 | impl Collum for [T; N] [INFO] [stdout] | ------ ------ [INFO] [stdout] 66 | where [INFO] [stdout] 67 | T: Collum, [INFO] [stdout] | ^^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] note: the trait `Collum` must be implemented [INFO] [stdout] --> src/lib.rs:58:1 [INFO] [stdout] | [INFO] [stdout] 58 | pub trait Collum: crate::Sized + core::marker::Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Collum` defines an item `from_bytes`, perhaps you need to implement it [INFO] [stdout] --> src/lib.rs:58:1 [INFO] [stdout] | [INFO] [stdout] 58 | pub trait Collum: crate::Sized + core::marker::Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `from_bytes` exists for array `[tests::parse_u2_derived::U2; 4]`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:227:24 [INFO] [stdout] | [INFO] [stdout] 205 | struct U2(bool, bool); [INFO] [stdout] | --------- doesn't satisfy `tests::parse_u2_derived::U2: Collum` [INFO] [stdout] ... [INFO] [stdout] 227 | <[U2; 4]>::from_bytes(&[0b11111111]), [INFO] [stdout] | ^^^^^^^^^^ function or associated item cannot be called on `[tests::parse_u2_derived::U2; 4]` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `tests::parse_u2_derived::U2: Collum` was not satisfied [INFO] [stdout] --> src/impls.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 65 | impl Collum for [T; N] [INFO] [stdout] | ------ ------ [INFO] [stdout] 66 | where [INFO] [stdout] 67 | T: Collum, [INFO] [stdout] | ^^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] note: the trait `Collum` must be implemented [INFO] [stdout] --> src/lib.rs:58:1 [INFO] [stdout] | [INFO] [stdout] 58 | pub trait Collum: crate::Sized + core::marker::Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Collum` defines an item `from_bytes`, perhaps you need to implement it [INFO] [stdout] --> src/lib.rs:58:1 [INFO] [stdout] | [INFO] [stdout] 58 | pub trait Collum: crate::Sized + core::marker::Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `from_bytes` exists for array `[tests::parse_u2_derived::U2; 5]`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:230:31 [INFO] [stdout] | [INFO] [stdout] 205 | struct U2(bool, bool); [INFO] [stdout] | --------- doesn't satisfy `tests::parse_u2_derived::U2: Collum` [INFO] [stdout] ... [INFO] [stdout] 230 | assert_eq!(<[U2; 5]>::from_bytes(&[0b11000110]), None); [INFO] [stdout] | ^^^^^^^^^^ function or associated item cannot be called on `[tests::parse_u2_derived::U2; 5]` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `tests::parse_u2_derived::U2: Collum` was not satisfied [INFO] [stdout] --> src/impls.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 65 | impl Collum for [T; N] [INFO] [stdout] | ------ ------ [INFO] [stdout] 66 | where [INFO] [stdout] 67 | T: Collum, [INFO] [stdout] | ^^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] note: the trait `Collum` must be implemented [INFO] [stdout] --> src/lib.rs:58:1 [INFO] [stdout] | [INFO] [stdout] 58 | pub trait Collum: crate::Sized + core::marker::Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Collum` defines an item `from_bytes`, perhaps you need to implement it [INFO] [stdout] --> src/lib.rs:58:1 [INFO] [stdout] | [INFO] [stdout] 58 | pub trait Collum: crate::Sized + core::marker::Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `from_bytes` exists for array `[tests::parse_u2_derived::U2; 4]`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:232:24 [INFO] [stdout] | [INFO] [stdout] 205 | struct U2(bool, bool); [INFO] [stdout] | --------- doesn't satisfy `tests::parse_u2_derived::U2: Collum` [INFO] [stdout] ... [INFO] [stdout] 232 | <[U2; 4]>::from_bytes(&[0b11000110]), [INFO] [stdout] | ^^^^^^^^^^ function or associated item cannot be called on `[tests::parse_u2_derived::U2; 4]` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `tests::parse_u2_derived::U2: Collum` was not satisfied [INFO] [stdout] --> src/impls.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 65 | impl Collum for [T; N] [INFO] [stdout] | ------ ------ [INFO] [stdout] 66 | where [INFO] [stdout] 67 | T: Collum, [INFO] [stdout] | ^^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] note: the trait `Collum` must be implemented [INFO] [stdout] --> src/lib.rs:58:1 [INFO] [stdout] | [INFO] [stdout] 58 | pub trait Collum: crate::Sized + core::marker::Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Collum` defines an item `from_bytes`, perhaps you need to implement it [INFO] [stdout] --> src/lib.rs:58:1 [INFO] [stdout] | [INFO] [stdout] 58 | pub trait Collum: crate::Sized + core::marker::Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `take_from_bit_slice` exists for array `[tests::parse_u2_derived::U2; 5]`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:242:24 [INFO] [stdout] | [INFO] [stdout] 205 | struct U2(bool, bool); [INFO] [stdout] | --------- doesn't satisfy `tests::parse_u2_derived::U2: Collum` [INFO] [stdout] ... [INFO] [stdout] 242 | <[U2; 5]>::take_from_bit_slice((&[0b11000110, 0b10011100]).into()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ function or associated item cannot be called on `[tests::parse_u2_derived::U2; 5]` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `tests::parse_u2_derived::U2: Collum` was not satisfied [INFO] [stdout] --> src/impls.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 65 | impl Collum for [T; N] [INFO] [stdout] | ------ ------ [INFO] [stdout] 66 | where [INFO] [stdout] 67 | T: Collum, [INFO] [stdout] | ^^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] note: the trait `Collum` must be implemented [INFO] [stdout] --> src/lib.rs:58:1 [INFO] [stdout] | [INFO] [stdout] 58 | pub trait Collum: crate::Sized + core::marker::Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `Collum` defines an item `take_from_bit_slice`, perhaps you need to implement it [INFO] [stdout] --> src/lib.rs:58:1 [INFO] [stdout] | [INFO] [stdout] 58 | pub trait Collum: crate::Sized + core::marker::Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `bits` found for struct `Unit` in the current scope [INFO] [stdout] --> src/lib.rs:264:26 [INFO] [stdout] | [INFO] [stdout] 262 | struct Unit; [INFO] [stdout] | ----------- function or associated item `bits` not found for this struct [INFO] [stdout] 263 | [INFO] [stdout] 264 | assert_eq!(Unit::bits(), 0); [INFO] [stdout] | ^^^^ function or associated item not found in `Unit` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `sized::Sized` defines an item `bits`, perhaps you need to implement it [INFO] [stdout] --> src/sized.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_bytes` found for struct `Unit` in the current scope [INFO] [stdout] --> src/lib.rs:265:26 [INFO] [stdout] | [INFO] [stdout] 262 | struct Unit; [INFO] [stdout] | ----------- function or associated item `from_bytes` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 265 | assert_eq!(Unit::from_bytes(&[1, 2, 3]), Some(Unit)); [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `Unit` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `from_bytes`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Collum` [INFO] [stdout] candidate #2: `OsStrExt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `collum` (lib test) due to 14 previous errors [INFO] running `Command { std: "docker" "inspect" "e09c4695ba60d3e5afe20619eb44dc82e96134684a0a04f0e38cd2d3aaf0e1b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e09c4695ba60d3e5afe20619eb44dc82e96134684a0a04f0e38cd2d3aaf0e1b8", kill_on_drop: false }` [INFO] [stdout] e09c4695ba60d3e5afe20619eb44dc82e96134684a0a04f0e38cd2d3aaf0e1b8