[INFO] fetching crate tl-types 0.1.0... [INFO] testing tl-types-0.1.0 against 1.60.0 for beta-1.61-1 [INFO] extracting crate tl-types 0.1.0 into /workspace/builds/worker-23/source [INFO] validating manifest of crates.io crate tl-types 0.1.0 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate tl-types 0.1.0 [INFO] finished tweaking crates.io crate tl-types 0.1.0 [INFO] tweaked toml for crates.io crate tl-types 0.1.0 written to /workspace/builds/worker-23/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c126d3eec21bd0a58ac0e1cb305beedbf30b1dfc52b74b93b236a103aabd1ea8 [INFO] running `Command { std: "docker" "start" "-a" "c126d3eec21bd0a58ac0e1cb305beedbf30b1dfc52b74b93b236a103aabd1ea8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c126d3eec21bd0a58ac0e1cb305beedbf30b1dfc52b74b93b236a103aabd1ea8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c126d3eec21bd0a58ac0e1cb305beedbf30b1dfc52b74b93b236a103aabd1ea8", kill_on_drop: false }` [INFO] [stdout] c126d3eec21bd0a58ac0e1cb305beedbf30b1dfc52b74b93b236a103aabd1ea8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0a362a0b7f26ebdd26eae1b3cb80c1c20fc4156bb89e85910bdf926b24e3bd50 [INFO] running `Command { std: "docker" "start" "-a" "0a362a0b7f26ebdd26eae1b3cb80c1c20fc4156bb89e85910bdf926b24e3bd50", kill_on_drop: false }` [INFO] [stderr] Compiling tl-types v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.96s [INFO] running `Command { std: "docker" "inspect" "0a362a0b7f26ebdd26eae1b3cb80c1c20fc4156bb89e85910bdf926b24e3bd50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a362a0b7f26ebdd26eae1b3cb80c1c20fc4156bb89e85910bdf926b24e3bd50", kill_on_drop: false }` [INFO] [stdout] 0a362a0b7f26ebdd26eae1b3cb80c1c20fc4156bb89e85910bdf926b24e3bd50 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ebd567ff83ac79d4511ccb6a354a05e80ac68bd4eef2b3d8ed2b3edc32c7cab7 [INFO] running `Command { std: "docker" "start" "-a" "ebd567ff83ac79d4511ccb6a354a05e80ac68bd4eef2b3d8ed2b3edc32c7cab7", kill_on_drop: false }` [INFO] [stderr] Compiling tl-types v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.47s [INFO] running `Command { std: "docker" "inspect" "ebd567ff83ac79d4511ccb6a354a05e80ac68bd4eef2b3d8ed2b3edc32c7cab7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ebd567ff83ac79d4511ccb6a354a05e80ac68bd4eef2b3d8ed2b3edc32c7cab7", kill_on_drop: false }` [INFO] [stdout] ebd567ff83ac79d4511ccb6a354a05e80ac68bd4eef2b3d8ed2b3edc32c7cab7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d4cfbe0622a00ef8d9f37a31bc53fd6bc6356a586ad1f217c8b3e03b064b1635 [INFO] running `Command { std: "docker" "start" "-a" "d4cfbe0622a00ef8d9f37a31bc53fd6bc6356a586ad1f217c8b3e03b064b1635", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/tl_types-eb222a2b244a67d5) [INFO] [stdout] [INFO] [stderr] Doc-tests tl-types [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 24 tests [INFO] [stdout] test src/serialize.rs - serialize::u32::serialize (line 75) ... FAILED [INFO] [stdout] test src/serialize.rs - serialize::i64::serialize (line 96) ... FAILED [INFO] [stdout] test src/serialize.rs - serialize::i32::serialize (line 53) ... FAILED [INFO] [stdout] test src/serialize.rs - serialize::crate::RawVec::serialize (line 203) ... FAILED [INFO] [stdout] test src/deserialize.rs - deserialize::[u8;32]::deserialize (line 246) ... FAILED [INFO] [stdout] test src/deserialize.rs - deserialize::String::deserialize (line 343) ... FAILED [INFO] [stdout] test src/deserialize.rs - deserialize::Deserializable::from_bytes (line 107) ... FAILED [INFO] [stdout] test src/deserialize.rs - deserialize::[u8;16]::deserialize (line 224) ... FAILED [INFO] [stdout] test src/serialize.rs - serialize::Vec::serialize (line 265) ... FAILED [INFO] [stdout] test src/serialize.rs - serialize::Vec::serialize (line 180) ... FAILED [INFO] [stdout] test src/deserialize.rs - deserialize::bool::deserialize (line 128) ... FAILED [INFO] [stdout] test src/serialize.rs - serialize::f64::serialize (line 157) ... FAILED [INFO] [stdout] test src/deserialize.rs - deserialize::i64::deserialize (line 200) ... FAILED [INFO] [stdout] test src/serialize.rs - serialize::[u8;16]::serialize (line 117) ... FAILED [INFO] [stdout] test src/serialize.rs - serialize::bool::serialize (line 33) ... FAILED [INFO] [stdout] test src/serialize.rs - serialize::[u8;32]::serialize (line 136) ... FAILED [INFO] [stdout] test src/deserialize.rs - deserialize::crate::RawVec::deserialize (line 320) ... FAILED [INFO] [stdout] test src/deserialize.rs - deserialize::Vec::deserialize (line 294) ... FAILED [INFO] [stdout] test src/serialize.rs - serialize::&'_[u8]::serialize (line 283) ... FAILED [INFO] [stdout] test src/serialize.rs - serialize::String::serialize (line 222) ... FAILED [INFO] [stdout] test src/deserialize.rs - deserialize::i32::deserialize (line 153) ... FAILED [INFO] [stdout] test src/deserialize.rs - deserialize::f64::deserialize (line 269) ... FAILED [INFO] [stdout] test src/deserialize.rs - deserialize::u32::deserialize (line 177) ... FAILED [INFO] [stdout] test src/deserialize.rs - deserialize::Vec::deserialize (line 386) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/serialize.rs - serialize::u32::serialize (line 75) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `gramme_types` [INFO] [stdout] --> src/serialize.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 3 | use gramme_types::Serializable; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `gramme_types` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_bytes` found for type `u32` in the current scope [INFO] [stdout] --> src/serialize.rs:78:17 [INFO] [stdout] | [INFO] [stdout] 5 | assert_eq!(0u32.to_bytes(), [0x00, 0x00, 0x00, 0x00]); [INFO] [stdout] | ^^^^^^^^ method not found in `u32` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/serialize.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | fn to_bytes(&self) -> Vec { [INFO] [stdout] | -------- the method is available for `u32` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 2 | use tl_types::Serializable; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_bytes` found for type `u32` in the current scope [INFO] [stdout] --> src/serialize.rs:79:17 [INFO] [stdout] | [INFO] [stdout] 6 | assert_eq!(1u32.to_bytes(), [0x01, 0x00, 0x00, 0x00]); [INFO] [stdout] | ^^^^^^^^ method not found in `u32` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/serialize.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | fn to_bytes(&self) -> Vec { [INFO] [stdout] | -------- the method is available for `u32` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 2 | use tl_types::Serializable; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_bytes` found for type `u32` in the current scope [INFO] [stdout] --> src/serialize.rs:80:29 [INFO] [stdout] | [INFO] [stdout] 7 | assert_eq!(u32::max_value().to_bytes(), [0xff, 0xff, 0xff, 0xff]); [INFO] [stdout] | ^^^^^^^^ method not found in `u32` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/serialize.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | fn to_bytes(&self) -> Vec { [INFO] [stdout] | -------- the method is available for `u32` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 2 | use tl_types::Serializable; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_bytes` found for type `u32` in the current scope [INFO] [stdout] --> src/serialize.rs:81:29 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(u32::min_value().to_bytes(), [0x00, 0x00, 0x00, 0x00]); [INFO] [stdout] | ^^^^^^^^ method not found in `u32` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/serialize.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | fn to_bytes(&self) -> Vec { [INFO] [stdout] | -------- the method is available for `u32` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 2 | use tl_types::Serializable; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/serialize.rs - serialize::i64::serialize (line 96) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `gramme_types` [INFO] [stdout] --> src/serialize.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 3 | use gramme_types::Serializable; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `gramme_types` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_bytes` found for type `i64` in the current scope [INFO] [stdout] --> src/serialize.rs:99:17 [INFO] [stdout] | [INFO] [stdout] 5 | assert_eq!(0i64.to_bytes(), [0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0]); [INFO] [stdout] | ^^^^^^^^ method not found in `i64` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/serialize.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | fn to_bytes(&self) -> Vec { [INFO] [stdout] | -------- the method is available for `i64` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 2 | use tl_types::Serializable; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_bytes` found for type `i64` in the current scope [INFO] [stdout] --> src/serialize.rs:100:17 [INFO] [stdout] | [INFO] [stdout] 6 | assert_eq!(1i64.to_bytes(), [0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0]); [INFO] [stdout] | ^^^^^^^^ method not found in `i64` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/serialize.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | fn to_bytes(&self) -> Vec { [INFO] [stdout] | -------- the method is available for `i64` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 2 | use tl_types::Serializable; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_bytes` found for type `i64` in the current scope [INFO] [stdout] --> src/serialize.rs:101:20 [INFO] [stdout] | [INFO] [stdout] 7 | assert_eq!((-1i64).to_bytes(), [0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff]); [INFO] [stdout] | ^^^^^^^^ method not found in `i64` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/serialize.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | fn to_bytes(&self) -> Vec { [INFO] [stdout] | -------- the method is available for `i64` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 2 | use tl_types::Serializable; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_bytes` found for type `i64` in the current scope [INFO] [stdout] --> src/serialize.rs:102:29 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(i64::max_value().to_bytes(), [0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x7f]); [INFO] [stdout] | ^^^^^^^^ method not found in `i64` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/serialize.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | fn to_bytes(&self) -> Vec { [INFO] [stdout] | -------- the method is available for `i64` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 2 | use tl_types::Serializable; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_bytes` found for type `i64` in the current scope [INFO] [stdout] --> src/serialize.rs:103:29 [INFO] [stdout] | [INFO] [stdout] 9 | assert_eq!(i64::min_value().to_bytes(), [0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x80]); [INFO] [stdout] | ^^^^^^^^ method not found in `i64` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/serialize.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | fn to_bytes(&self) -> Vec { [INFO] [stdout] | -------- the method is available for `i64` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 2 | use tl_types::Serializable; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/serialize.rs - serialize::i32::serialize (line 53) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `gramme_types` [INFO] [stdout] --> src/serialize.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 3 | use gramme_types::Serializable; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `gramme_types` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_bytes` found for type `i32` in the current scope [INFO] [stdout] --> src/serialize.rs:56:17 [INFO] [stdout] | [INFO] [stdout] 5 | assert_eq!(0i32.to_bytes(), [0x00, 0x00, 0x00, 0x00]); [INFO] [stdout] | ^^^^^^^^ method not found in `i32` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/serialize.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | fn to_bytes(&self) -> Vec { [INFO] [stdout] | -------- the method is available for `i32` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 2 | use tl_types::Serializable; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_bytes` found for type `i32` in the current scope [INFO] [stdout] --> src/serialize.rs:57:17 [INFO] [stdout] | [INFO] [stdout] 6 | assert_eq!(1i32.to_bytes(), [0x01, 0x00, 0x00, 0x00]); [INFO] [stdout] | ^^^^^^^^ method not found in `i32` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/serialize.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | fn to_bytes(&self) -> Vec { [INFO] [stdout] | -------- the method is available for `i32` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 2 | use tl_types::Serializable; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_bytes` found for type `i32` in the current scope [INFO] [stdout] --> src/serialize.rs:58:20 [INFO] [stdout] | [INFO] [stdout] 7 | assert_eq!((-1i32).to_bytes(), [0xff, 0xff, 0xff, 0xff]); [INFO] [stdout] | ^^^^^^^^ method not found in `i32` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/serialize.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | fn to_bytes(&self) -> Vec { [INFO] [stdout] | -------- the method is available for `i32` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 2 | use tl_types::Serializable; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_bytes` found for type `i32` in the current scope [INFO] [stdout] --> src/serialize.rs:59:29 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(i32::max_value().to_bytes(), [0xff, 0xff, 0xff, 0x7f]); [INFO] [stdout] | ^^^^^^^^ method not found in `i32` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/serialize.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | fn to_bytes(&self) -> Vec { [INFO] [stdout] | -------- the method is available for `i32` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 2 | use tl_types::Serializable; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_bytes` found for type `i32` in the current scope [INFO] [stdout] --> src/serialize.rs:60:29 [INFO] [stdout] | [INFO] [stdout] 9 | assert_eq!(i32::min_value().to_bytes(), [0x00, 0x00, 0x00, 0x80]); [INFO] [stdout] | ^^^^^^^^ method not found in `i32` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/serialize.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | fn to_bytes(&self) -> Vec { [INFO] [stdout] | -------- the method is available for `i32` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 2 | use tl_types::Serializable; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/serialize.rs - serialize::crate::RawVec::serialize (line 203) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `gramme_types` [INFO] [stdout] --> src/serialize.rs:204:5 [INFO] [stdout] | [INFO] [stdout] 3 | use gramme_types::{RawVec, Serializable}; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `gramme_types` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/deserialize.rs - deserialize::[u8;32]::deserialize (line 246) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `gramme_types` [INFO] [stdout] --> src/deserialize.rs:247:5 [INFO] [stdout] | [INFO] [stdout] 3 | use gramme_types::Deserializable; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `gramme_types` [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_bytes` found for array `[u8; 32]` in the current scope [INFO] [stdout] --> src/deserialize.rs:252:24 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(<[u8; 32]>::from_bytes(&data).unwrap(), data); [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `[u8; 32]` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 2 | use tl_types::Deserializable; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/deserialize.rs - deserialize::String::deserialize (line 343) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `gramme_types` [INFO] [stdout] --> src/deserialize.rs:344:5 [INFO] [stdout] | [INFO] [stdout] 3 | use gramme_types::Deserializable; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `gramme_types` [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_bytes` found for struct `String` in the current scope [INFO] [stdout] --> src/deserialize.rs:355:23 [INFO] [stdout] | [INFO] [stdout] 14 | assert_eq!(String::from_bytes(&bytes).unwrap(), expected); [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `String` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 2 | use tl_types::Deserializable; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/deserialize.rs - deserialize::Deserializable::from_bytes (line 107) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `gramme_types` [INFO] [stdout] --> src/deserialize.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 3 | use gramme_types::Deserializable as _; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `gramme_types` [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_bytes` found for type `bool` in the current scope [INFO] [stdout] --> src/deserialize.rs:110:18 [INFO] [stdout] | [INFO] [stdout] 5 | assert_eq!(bool::from_bytes(&[0x37, 0x97, 0x79, 0xbc]).unwrap(), false); [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `bool` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 2 | use tl_types::Deserializable; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/deserialize.rs - deserialize::[u8;16]::deserialize (line 224) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `gramme_types` [INFO] [stdout] --> src/deserialize.rs:225:5 [INFO] [stdout] | [INFO] [stdout] 3 | use gramme_types::Deserializable; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `gramme_types` [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_bytes` found for array `[u8; 16]` in the current scope [INFO] [stdout] --> src/deserialize.rs:229:24 [INFO] [stdout] | [INFO] [stdout] 7 | assert_eq!(<[u8; 16]>::from_bytes(&data).unwrap(), data); [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `[u8; 16]` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 2 | use tl_types::Deserializable; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/serialize.rs - serialize::Vec::serialize (line 265) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `gramme_types` [INFO] [stdout] --> src/serialize.rs:266:5 [INFO] [stdout] | [INFO] [stdout] 3 | use gramme_types::Serializable; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `gramme_types` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_bytes` found for struct `Vec` in the current scope [INFO] [stdout] --> src/serialize.rs:268:29 [INFO] [stdout] | [INFO] [stdout] 5 | assert_eq!(Vec::::new().to_bytes(), &[0x00, 0x00, 0x00, 0x00]); [INFO] [stdout] | ^^^^^^^^ method not found in `Vec` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/serialize.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | fn to_bytes(&self) -> Vec { [INFO] [stdout] | -------- the method is available for `Vec` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 2 | use tl_types::Serializable; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_bytes` found for struct `Vec` in the current scope [INFO] [stdout] --> src/serialize.rs:269:26 [INFO] [stdout] | [INFO] [stdout] 6 | assert_eq!(vec![0x7f_u8].to_bytes(), &[0x01, 0x7f, 0x00, 0x00]); [INFO] [stdout] | ^^^^^^^^ method not found in `Vec` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/serialize.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | fn to_bytes(&self) -> Vec { [INFO] [stdout] | -------- the method is available for `Vec` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 2 | use tl_types::Serializable; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/serialize.rs - serialize::Vec::serialize (line 180) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `gramme_types` [INFO] [stdout] --> src/serialize.rs:181:5 [INFO] [stdout] | [INFO] [stdout] 3 | use gramme_types::Serializable; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `gramme_types` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_bytes` found for struct `Vec` in the current scope [INFO] [stdout] --> src/serialize.rs:183:30 [INFO] [stdout] | [INFO] [stdout] 5 | assert_eq!(Vec::::new().to_bytes(), [0x15, 0xc4, 0xb5, 0x1c, 0x0, 0x0, 0x0, 0x0]); [INFO] [stdout] | ^^^^^^^^ method not found in `Vec` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/serialize.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | fn to_bytes(&self) -> Vec { [INFO] [stdout] | -------- the method is available for `Vec` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 2 | use tl_types::Serializable; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_bytes` found for struct `Vec` in the current scope [INFO] [stdout] --> src/serialize.rs:184:27 [INFO] [stdout] | [INFO] [stdout] 6 | assert_eq!(vec![0x7f_i32].to_bytes(), [INFO] [stdout] | ^^^^^^^^ method not found in `Vec` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/serialize.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | fn to_bytes(&self) -> Vec { [INFO] [stdout] | -------- the method is available for `Vec` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 2 | use tl_types::Serializable; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/deserialize.rs - deserialize::bool::deserialize (line 128) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `gramme_types` [INFO] [stdout] --> src/deserialize.rs:129:5 [INFO] [stdout] | [INFO] [stdout] 3 | use gramme_types::Deserializable; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `gramme_types` [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_bytes` found for type `bool` in the current scope [INFO] [stdout] --> src/deserialize.rs:131:18 [INFO] [stdout] | [INFO] [stdout] 5 | assert_eq!(bool::from_bytes(&[0xb5, 0x75, 0x72, 0x99]).unwrap(), true); [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `bool` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 2 | use tl_types::Deserializable; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_bytes` found for type `bool` in the current scope [INFO] [stdout] --> src/deserialize.rs:132:18 [INFO] [stdout] | [INFO] [stdout] 6 | assert_eq!(bool::from_bytes(&[0x37, 0x97, 0x79, 0xbc]).unwrap(), false); [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `bool` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 2 | use tl_types::Deserializable; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/serialize.rs - serialize::f64::serialize (line 157) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `gramme_types` [INFO] [stdout] --> src/serialize.rs:159:5 [INFO] [stdout] | [INFO] [stdout] 4 | use gramme_types::Serializable; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `gramme_types` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_bytes` found for type `f64` in the current scope [INFO] [stdout] --> src/serialize.rs:161:17 [INFO] [stdout] | [INFO] [stdout] 6 | assert_eq!(0f64.to_bytes(), [0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0]); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/serialize.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | fn to_bytes(&self) -> Vec { [INFO] [stdout] | -------- the method is available for `f64` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 2 | use tl_types::Serializable; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function with a similar name [INFO] [stdout] | [INFO] [stdout] 6 | assert_eq!(0f64.to_bits(), [0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0]); [INFO] [stdout] | ~~~~~~~ [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_bytes` found for type `f64` in the current scope [INFO] [stdout] --> src/serialize.rs:162:19 [INFO] [stdout] | [INFO] [stdout] 7 | assert_eq!(1.5f64.to_bytes(), [0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xf8, 0x3f]); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/serialize.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | fn to_bytes(&self) -> Vec { [INFO] [stdout] | -------- the method is available for `f64` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 2 | use tl_types::Serializable; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function with a similar name [INFO] [stdout] | [INFO] [stdout] 7 | assert_eq!(1.5f64.to_bits(), [0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xf8, 0x3f]); [INFO] [stdout] | ~~~~~~~ [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_bytes` found for type `f64` in the current scope [INFO] [stdout] --> src/serialize.rs:163:22 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!((-1.5f64).to_bytes(), [0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xf8, 0xbf]); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/serialize.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | fn to_bytes(&self) -> Vec { [INFO] [stdout] | -------- the method is available for `f64` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 2 | use tl_types::Serializable; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function with a similar name [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!((-1.5f64).to_bits(), [0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xf8, 0xbf]); [INFO] [stdout] | ~~~~~~~ [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_bytes` found for type `f64` in the current scope [INFO] [stdout] --> src/serialize.rs:164:26 [INFO] [stdout] | [INFO] [stdout] 9 | assert_eq!(f64::INFINITY.to_bytes(), [0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xf0, 0x7f]); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/serialize.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | fn to_bytes(&self) -> Vec { [INFO] [stdout] | -------- the method is available for `f64` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 2 | use tl_types::Serializable; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function with a similar name [INFO] [stdout] | [INFO] [stdout] 9 | assert_eq!(f64::INFINITY.to_bits(), [0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xf0, 0x7f]); [INFO] [stdout] | ~~~~~~~ [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_bytes` found for type `f64` in the current scope [INFO] [stdout] --> src/serialize.rs:165:30 [INFO] [stdout] | [INFO] [stdout] 10 | assert_eq!(f64::NEG_INFINITY.to_bytes(), [0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xf0, 0xff]); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/serialize.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | fn to_bytes(&self) -> Vec { [INFO] [stdout] | -------- the method is available for `f64` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 2 | use tl_types::Serializable; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function with a similar name [INFO] [stdout] | [INFO] [stdout] 10 | assert_eq!(f64::NEG_INFINITY.to_bits(), [0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xf0, 0xff]); [INFO] [stdout] | ~~~~~~~ [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/deserialize.rs - deserialize::i64::deserialize (line 200) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `gramme_types` [INFO] [stdout] --> src/deserialize.rs:201:5 [INFO] [stdout] | [INFO] [stdout] 3 | use gramme_types::Deserializable; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `gramme_types` [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_bytes` found for type `i64` in the current scope [INFO] [stdout] --> src/deserialize.rs:203:17 [INFO] [stdout] | [INFO] [stdout] 5 | assert_eq!(i64::from_bytes(&[0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0]).unwrap(), 0i64); [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `i64` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 2 | use tl_types::Deserializable; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function with a similar name [INFO] [stdout] | [INFO] [stdout] 5 | assert_eq!(i64::from_be(&[0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0]).unwrap(), 0i64); [INFO] [stdout] | ~~~~~~~ [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_bytes` found for type `i64` in the current scope [INFO] [stdout] --> src/deserialize.rs:204:17 [INFO] [stdout] | [INFO] [stdout] 6 | assert_eq!(i64::from_bytes(&[0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0]).unwrap(), 1i64); [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `i64` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 2 | use tl_types::Deserializable; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function with a similar name [INFO] [stdout] | [INFO] [stdout] 6 | assert_eq!(i64::from_be(&[0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0]).unwrap(), 1i64); [INFO] [stdout] | ~~~~~~~ [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_bytes` found for type `i64` in the current scope [INFO] [stdout] --> src/deserialize.rs:205:17 [INFO] [stdout] | [INFO] [stdout] 7 | assert_eq!(i64::from_bytes(&[0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff]).unwrap(), (-1i64)); [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `i64` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 2 | use tl_types::Deserializable; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function with a similar name [INFO] [stdout] | [INFO] [stdout] 7 | assert_eq!(i64::from_be(&[0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff]).unwrap(), (-1i64)); [INFO] [stdout] | ~~~~~~~ [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_bytes` found for type `i64` in the current scope [INFO] [stdout] --> src/deserialize.rs:206:17 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(i64::from_bytes(&[0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x7f]).unwrap(), i64::max_value()); [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `i64` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 2 | use tl_types::Deserializable; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function with a similar name [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(i64::from_be(&[0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0x7f]).unwrap(), i64::max_value()); [INFO] [stdout] | ~~~~~~~ [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_bytes` found for type `i64` in the current scope [INFO] [stdout] --> src/deserialize.rs:207:17 [INFO] [stdout] | [INFO] [stdout] 9 | assert_eq!(i64::from_bytes(&[0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x80]).unwrap(), i64::min_value()); [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `i64` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 2 | use tl_types::Deserializable; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function with a similar name [INFO] [stdout] | [INFO] [stdout] 9 | assert_eq!(i64::from_be(&[0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x80]).unwrap(), i64::min_value()); [INFO] [stdout] | ~~~~~~~ [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/serialize.rs - serialize::[u8;16]::serialize (line 117) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `gramme_types` [INFO] [stdout] --> src/serialize.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 3 | use gramme_types::Serializable; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `gramme_types` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_bytes` found for array `[{integer}; 16]` in the current scope [INFO] [stdout] --> src/serialize.rs:122:17 [INFO] [stdout] | [INFO] [stdout] 7 | assert_eq!(data.to_bytes(), data); [INFO] [stdout] | ^^^^^^^^ method not found in `[{integer}; 16]` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/serialize.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | fn to_bytes(&self) -> Vec { [INFO] [stdout] | -------- the method is available for `[{integer}; 16]` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 2 | use tl_types::Serializable; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/serialize.rs - serialize::bool::serialize (line 33) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `gramme_types` [INFO] [stdout] --> src/serialize.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 3 | use gramme_types::Serializable; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `gramme_types` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_bytes` found for type `bool` in the current scope [INFO] [stdout] --> src/serialize.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 5 | assert_eq!(true.to_bytes(), [0xb5, 0x75, 0x72, 0x99]); [INFO] [stdout] | ^^^^^^^^ method not found in `bool` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/serialize.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | fn to_bytes(&self) -> Vec { [INFO] [stdout] | -------- the method is available for `bool` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 2 | use tl_types::Serializable; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_bytes` found for type `bool` in the current scope [INFO] [stdout] --> src/serialize.rs:37:18 [INFO] [stdout] | [INFO] [stdout] 6 | assert_eq!(false.to_bytes(), [0x37, 0x97, 0x79, 0xbc]); [INFO] [stdout] | ^^^^^^^^ method not found in `bool` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/serialize.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | fn to_bytes(&self) -> Vec { [INFO] [stdout] | -------- the method is available for `bool` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 2 | use tl_types::Serializable; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/serialize.rs - serialize::[u8;32]::serialize (line 136) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `gramme_types` [INFO] [stdout] --> src/serialize.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 3 | use gramme_types::Serializable; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `gramme_types` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_bytes` found for array `[{integer}; 32]` in the current scope [INFO] [stdout] --> src/serialize.rs:142:17 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(data.to_bytes(), data); [INFO] [stdout] | ^^^^^^^^ method not found in `[{integer}; 32]` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/serialize.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | fn to_bytes(&self) -> Vec { [INFO] [stdout] | -------- the method is available for `[{integer}; 32]` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 2 | use tl_types::Serializable; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/deserialize.rs - deserialize::crate::RawVec::deserialize (line 320) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `gramme_types` [INFO] [stdout] --> src/deserialize.rs:321:5 [INFO] [stdout] | [INFO] [stdout] 3 | use gramme_types::{RawVec, Deserializable}; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `gramme_types` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/deserialize.rs - deserialize::Vec::deserialize (line 294) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `gramme_types` [INFO] [stdout] --> src/deserialize.rs:295:5 [INFO] [stdout] | [INFO] [stdout] 3 | use gramme_types::Deserializable; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `gramme_types` [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_bytes` found for struct `Vec` in the current scope [INFO] [stdout] --> src/deserialize.rs:297:24 [INFO] [stdout] | [INFO] [stdout] 5 | assert_eq!(Vec::::from_bytes(&[0x15, 0xc4, 0xb5, 0x1c, 0x0, 0x0, 0x0, 0x0]).unwrap(), Vec::new()); [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `Vec` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 2 | use tl_types::Deserializable; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_bytes` found for struct `Vec` in the current scope [INFO] [stdout] --> src/deserialize.rs:298:24 [INFO] [stdout] | [INFO] [stdout] 6 | assert_eq!(Vec::::from_bytes(&[0x15, 0xc4, 0xb5, 0x1c, 0x1, 0x0, 0x0, 0x0, 0x7f, 0x0, 0x0, 0x0]).unwrap(), [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `Vec` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 2 | use tl_types::Deserializable; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/serialize.rs - serialize::&'_[u8]::serialize (line 283) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `gramme_types` [INFO] [stdout] --> src/serialize.rs:284:5 [INFO] [stdout] | [INFO] [stdout] 3 | use gramme_types::Serializable; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `gramme_types` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_bytes` found for reference `&[u8]` in the current scope [INFO] [stdout] --> src/serialize.rs:286:29 [INFO] [stdout] | [INFO] [stdout] 5 | assert_eq!((&[0x7f_u8][..]).to_bytes(), &[0x01, 0x7f, 0x00, 0x00]); [INFO] [stdout] | ^^^^^^^^ method not found in `&[u8]` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/serialize.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | fn to_bytes(&self) -> Vec { [INFO] [stdout] | -------- the method is available for `&[u8]` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 2 | use tl_types::Serializable; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/serialize.rs - serialize::String::serialize (line 222) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `gramme_types` [INFO] [stdout] --> src/serialize.rs:223:5 [INFO] [stdout] | [INFO] [stdout] 3 | use gramme_types::Serializable; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `gramme_types` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_bytes` found for struct `String` in the current scope [INFO] [stdout] --> src/serialize.rs:226:34 [INFO] [stdout] | [INFO] [stdout] 6 | let bytes = string.to_owned().to_bytes(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/serialize.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | fn to_bytes(&self) -> Vec { [INFO] [stdout] | -------- the method is available for `String` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 2 | use tl_types::Serializable; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function with a similar name [INFO] [stdout] | [INFO] [stdout] 6 | let bytes = string.to_owned().as_bytes(); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/deserialize.rs - deserialize::i32::deserialize (line 153) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `gramme_types` [INFO] [stdout] --> src/deserialize.rs:154:5 [INFO] [stdout] | [INFO] [stdout] 3 | use gramme_types::Deserializable; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `gramme_types` [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_bytes` found for type `i32` in the current scope [INFO] [stdout] --> src/deserialize.rs:156:17 [INFO] [stdout] | [INFO] [stdout] 5 | assert_eq!(i32::from_bytes(&[0x00, 0x00, 0x00, 0x00]).unwrap(), 0i32); [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `i32` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 2 | use tl_types::Deserializable; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function with a similar name [INFO] [stdout] | [INFO] [stdout] 5 | assert_eq!(i32::from_be(&[0x00, 0x00, 0x00, 0x00]).unwrap(), 0i32); [INFO] [stdout] | ~~~~~~~ [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_bytes` found for type `i32` in the current scope [INFO] [stdout] --> src/deserialize.rs:157:17 [INFO] [stdout] | [INFO] [stdout] 6 | assert_eq!(i32::from_bytes(&[0x01, 0x00, 0x00, 0x00]).unwrap(), 1i32); [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `i32` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 2 | use tl_types::Deserializable; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function with a similar name [INFO] [stdout] | [INFO] [stdout] 6 | assert_eq!(i32::from_be(&[0x01, 0x00, 0x00, 0x00]).unwrap(), 1i32); [INFO] [stdout] | ~~~~~~~ [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_bytes` found for type `i32` in the current scope [INFO] [stdout] --> src/deserialize.rs:158:17 [INFO] [stdout] | [INFO] [stdout] 7 | assert_eq!(i32::from_bytes(&[0xff, 0xff, 0xff, 0xff]).unwrap(), -1i32); [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `i32` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 2 | use tl_types::Deserializable; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function with a similar name [INFO] [stdout] | [INFO] [stdout] 7 | assert_eq!(i32::from_be(&[0xff, 0xff, 0xff, 0xff]).unwrap(), -1i32); [INFO] [stdout] | ~~~~~~~ [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_bytes` found for type `i32` in the current scope [INFO] [stdout] --> src/deserialize.rs:159:17 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(i32::from_bytes(&[0xff, 0xff, 0xff, 0x7f]).unwrap(), i32::max_value()); [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `i32` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 2 | use tl_types::Deserializable; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function with a similar name [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(i32::from_be(&[0xff, 0xff, 0xff, 0x7f]).unwrap(), i32::max_value()); [INFO] [stdout] | ~~~~~~~ [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_bytes` found for type `i32` in the current scope [INFO] [stdout] --> src/deserialize.rs:160:17 [INFO] [stdout] | [INFO] [stdout] 9 | assert_eq!(i32::from_bytes(&[0x00, 0x00, 0x00, 0x80]).unwrap(), i32::min_value()); [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `i32` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 2 | use tl_types::Deserializable; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function with a similar name [INFO] [stdout] | [INFO] [stdout] 9 | assert_eq!(i32::from_be(&[0x00, 0x00, 0x00, 0x80]).unwrap(), i32::min_value()); [INFO] [stdout] | ~~~~~~~ [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/deserialize.rs - deserialize::f64::deserialize (line 269) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `gramme_types` [INFO] [stdout] --> src/deserialize.rs:271:5 [INFO] [stdout] | [INFO] [stdout] 4 | use gramme_types::Deserializable; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `gramme_types` [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_bytes` found for type `f64` in the current scope [INFO] [stdout] --> src/deserialize.rs:273:17 [INFO] [stdout] | [INFO] [stdout] 6 | assert_eq!(f64::from_bytes(&[0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0]).unwrap(), 0f64); [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `f64` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 2 | use tl_types::Deserializable; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function with a similar name [INFO] [stdout] | [INFO] [stdout] 6 | assert_eq!(f64::from_bits(&[0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0]).unwrap(), 0f64); [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_bytes` found for type `f64` in the current scope [INFO] [stdout] --> src/deserialize.rs:274:17 [INFO] [stdout] | [INFO] [stdout] 7 | assert_eq!(f64::from_bytes(&[0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xf8, 0x3f]).unwrap(), 1.5f64); [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `f64` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 2 | use tl_types::Deserializable; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function with a similar name [INFO] [stdout] | [INFO] [stdout] 7 | assert_eq!(f64::from_bits(&[0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xf8, 0x3f]).unwrap(), 1.5f64); [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_bytes` found for type `f64` in the current scope [INFO] [stdout] --> src/deserialize.rs:275:17 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(f64::from_bytes(&[0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xf8, 0xbf]).unwrap(), -1.5f64); [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `f64` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 2 | use tl_types::Deserializable; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function with a similar name [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(f64::from_bits(&[0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xf8, 0xbf]).unwrap(), -1.5f64); [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_bytes` found for type `f64` in the current scope [INFO] [stdout] --> src/deserialize.rs:276:17 [INFO] [stdout] | [INFO] [stdout] 9 | assert_eq!(f64::from_bytes(&[0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xf0, 0x7f]).unwrap(), f64::INFINITY); [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `f64` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 2 | use tl_types::Deserializable; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function with a similar name [INFO] [stdout] | [INFO] [stdout] 9 | assert_eq!(f64::from_bits(&[0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xf0, 0x7f]).unwrap(), f64::INFINITY); [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_bytes` found for type `f64` in the current scope [INFO] [stdout] --> src/deserialize.rs:277:17 [INFO] [stdout] | [INFO] [stdout] 10 | assert_eq!(f64::from_bytes(&[0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xf0, 0xff]).unwrap(), f64::NEG_INFINITY); [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `f64` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 2 | use tl_types::Deserializable; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function with a similar name [INFO] [stdout] | [INFO] [stdout] 10 | assert_eq!(f64::from_bits(&[0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xf0, 0xff]).unwrap(), f64::NEG_INFINITY); [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/deserialize.rs - deserialize::u32::deserialize (line 177) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `gramme_types` [INFO] [stdout] --> src/deserialize.rs:178:5 [INFO] [stdout] | [INFO] [stdout] 3 | use gramme_types::Deserializable; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `gramme_types` [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_bytes` found for type `u32` in the current scope [INFO] [stdout] --> src/deserialize.rs:180:17 [INFO] [stdout] | [INFO] [stdout] 5 | assert_eq!(u32::from_bytes(&[0x00, 0x00, 0x00, 0x00]).unwrap(), 0u32); [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `u32` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 2 | use tl_types::Deserializable; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function with a similar name [INFO] [stdout] | [INFO] [stdout] 5 | assert_eq!(u32::from_be(&[0x00, 0x00, 0x00, 0x00]).unwrap(), 0u32); [INFO] [stdout] | ~~~~~~~ [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_bytes` found for type `u32` in the current scope [INFO] [stdout] --> src/deserialize.rs:181:17 [INFO] [stdout] | [INFO] [stdout] 6 | assert_eq!(u32::from_bytes(&[0x01, 0x00, 0x00, 0x00]).unwrap(), 1u32); [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `u32` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 2 | use tl_types::Deserializable; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function with a similar name [INFO] [stdout] | [INFO] [stdout] 6 | assert_eq!(u32::from_be(&[0x01, 0x00, 0x00, 0x00]).unwrap(), 1u32); [INFO] [stdout] | ~~~~~~~ [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_bytes` found for type `u32` in the current scope [INFO] [stdout] --> src/deserialize.rs:182:17 [INFO] [stdout] | [INFO] [stdout] 7 | assert_eq!(u32::from_bytes(&[0xff, 0xff, 0xff, 0xff]).unwrap(), u32::max_value()); [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `u32` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 2 | use tl_types::Deserializable; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function with a similar name [INFO] [stdout] | [INFO] [stdout] 7 | assert_eq!(u32::from_be(&[0xff, 0xff, 0xff, 0xff]).unwrap(), u32::max_value()); [INFO] [stdout] | ~~~~~~~ [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_bytes` found for type `u32` in the current scope [INFO] [stdout] --> src/deserialize.rs:183:17 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(u32::from_bytes(&[0x00, 0x00, 0x00, 0x00]).unwrap(), u32::min_value()); [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `u32` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 2 | use tl_types::Deserializable; [INFO] [stdout] | [INFO] [stdout] help: there is an associated function with a similar name [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(u32::from_be(&[0x00, 0x00, 0x00, 0x00]).unwrap(), u32::min_value()); [INFO] [stdout] | ~~~~~~~ [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/deserialize.rs - deserialize::Vec::deserialize (line 386) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `gramme_types` [INFO] [stdout] --> src/deserialize.rs:387:5 [INFO] [stdout] | [INFO] [stdout] 3 | use gramme_types::{Deserializable}; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `gramme_types` [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_bytes` found for struct `Vec` in the current scope [INFO] [stdout] --> src/deserialize.rs:389:23 [INFO] [stdout] | [INFO] [stdout] 5 | assert_eq!(Vec::::from_bytes(&[0x00, 0x00, 0x00, 0x00]).unwrap(), Vec::new()); [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `Vec` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 2 | use tl_types::Deserializable; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_bytes` found for struct `Vec` in the current scope [INFO] [stdout] --> src/deserialize.rs:390:23 [INFO] [stdout] | [INFO] [stdout] 6 | assert_eq!(Vec::::from_bytes(&[0x01, 0x7f, 0x00, 0x00]).unwrap(), vec![0x7f_u8]); [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `Vec` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 2 | use tl_types::Deserializable; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/deserialize.rs - deserialize::Deserializable::from_bytes (line 107) [INFO] [stdout] src/deserialize.rs - deserialize::String::deserialize (line 343) [INFO] [stdout] src/deserialize.rs - deserialize::Vec::deserialize (line 294) [INFO] [stdout] src/deserialize.rs - deserialize::Vec::deserialize (line 386) [INFO] [stdout] src/deserialize.rs - deserialize::[u8;16]::deserialize (line 224) [INFO] [stdout] src/deserialize.rs - deserialize::[u8;32]::deserialize (line 246) [INFO] [stdout] src/deserialize.rs - deserialize::bool::deserialize (line 128) [INFO] [stdout] src/deserialize.rs - deserialize::crate::RawVec::deserialize (line 320) [INFO] [stdout] src/deserialize.rs - deserialize::f64::deserialize (line 269) [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] [stdout] src/deserialize.rs - deserialize::i32::deserialize (line 153) [INFO] [stdout] src/deserialize.rs - deserialize::i64::deserialize (line 200) [INFO] [stdout] src/deserialize.rs - deserialize::u32::deserialize (line 177) [INFO] [stdout] src/serialize.rs - serialize::&'_[u8]::serialize (line 283) [INFO] [stdout] src/serialize.rs - serialize::String::serialize (line 222) [INFO] [stdout] src/serialize.rs - serialize::Vec::serialize (line 180) [INFO] [stdout] src/serialize.rs - serialize::Vec::serialize (line 265) [INFO] [stdout] src/serialize.rs - serialize::[u8;16]::serialize (line 117) [INFO] [stdout] src/serialize.rs - serialize::[u8;32]::serialize (line 136) [INFO] [stdout] src/serialize.rs - serialize::bool::serialize (line 33) [INFO] [stdout] src/serialize.rs - serialize::crate::RawVec::serialize (line 203) [INFO] [stdout] src/serialize.rs - serialize::f64::serialize (line 157) [INFO] [stdout] src/serialize.rs - serialize::i32::serialize (line 53) [INFO] [stdout] src/serialize.rs - serialize::i64::serialize (line 96) [INFO] [stdout] src/serialize.rs - serialize::u32::serialize (line 75) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 24 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.41s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "d4cfbe0622a00ef8d9f37a31bc53fd6bc6356a586ad1f217c8b3e03b064b1635", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d4cfbe0622a00ef8d9f37a31bc53fd6bc6356a586ad1f217c8b3e03b064b1635", kill_on_drop: false }` [INFO] [stdout] d4cfbe0622a00ef8d9f37a31bc53fd6bc6356a586ad1f217c8b3e03b064b1635