[INFO] fetching crate microcrates-bytes 0.4.8... [INFO] checking microcrates-bytes-0.4.8 against master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] extracting crate microcrates-bytes 0.4.8 into /workspace/builds/worker-6-tc1/source [INFO] validating manifest of crates.io crate microcrates-bytes 0.4.8 on toolchain 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate microcrates-bytes 0.4.8 [INFO] finished tweaking crates.io crate microcrates-bytes 0.4.8 [INFO] tweaked toml for crates.io crate microcrates-bytes 0.4.8 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 11 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b470a58fe0c3d61736b1aabf8feb0a3e533a1a05f15b6e23950e46e759257e0e [INFO] running `Command { std: "docker" "start" "-a" "b470a58fe0c3d61736b1aabf8feb0a3e533a1a05f15b6e23950e46e759257e0e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b470a58fe0c3d61736b1aabf8feb0a3e533a1a05f15b6e23950e46e759257e0e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b470a58fe0c3d61736b1aabf8feb0a3e533a1a05f15b6e23950e46e759257e0e", kill_on_drop: false }` [INFO] [stdout] b470a58fe0c3d61736b1aabf8feb0a3e533a1a05f15b6e23950e46e759257e0e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8fb435f1e989e5f106db49dc6064e0e778591107d00b9c6a8ed98cbcb1484545 [INFO] running `Command { std: "docker" "start" "-a" "8fb435f1e989e5f106db49dc6064e0e778591107d00b9c6a8ed98cbcb1484545", kill_on_drop: false }` [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking serde_test v1.0.176 [INFO] [stderr] Checking microcrates-bytes v0.4.8 (/opt/rustwide/workdir) [INFO] [stdout] error[E0635]: unknown feature `read_initializer` [INFO] [stdout] --> src/lib.rs:74:49 [INFO] [stdout] | [INFO] [stdout] 74 | #![cfg_attr(feature = "nightly", feature(alloc, read_initializer, try_from))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0635`. [INFO] [stdout] [INFO] [stderr] error: could not compile `microcrates-bytes` (lib) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: maybe a missing crate `std`? [INFO] [stdout] --> src/buf/cursor.rs:333:9 [INFO] [stdout] | [INFO] [stdout] 333 | use std::io::{Read, Seek, SeekFrom, Write}; [INFO] [stdout] | ^^^ maybe a missing crate `std`? [INFO] [stdout] | [INFO] [stdout] = help: consider adding `extern crate std` to use the `std` crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `vec` in this scope [INFO] [stdout] --> src/buf/cursor.rs:650:33 [INFO] [stdout] | [INFO] [stdout] 650 | let mut r = Cursor::new(vec![10].into_boxed_slice()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 330 + use alloc::vec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `vec` in this scope [INFO] [stdout] --> src/buf/cursor.rs:643:33 [INFO] [stdout] | [INFO] [stdout] 643 | let mut r = Cursor::new(vec![10]); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 330 + use alloc::vec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `vec` in this scope [INFO] [stdout] --> src/buf/cursor.rs:628:33 [INFO] [stdout] | [INFO] [stdout] 628 | let mut r = Cursor::new(vec![10].into_boxed_slice()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 330 + use alloc::vec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `vec` in this scope [INFO] [stdout] --> src/buf/cursor.rs:611:33 [INFO] [stdout] | [INFO] [stdout] 611 | let mut r = Cursor::new(vec![10]); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 330 + use alloc::vec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `vec` in this scope [INFO] [stdout] --> src/buf/cursor.rs:595:33 [INFO] [stdout] | [INFO] [stdout] 595 | let mut r = Cursor::new(vec![10].into_boxed_slice()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 330 + use alloc::vec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `vec` in this scope [INFO] [stdout] --> src/buf/cursor.rs:586:33 [INFO] [stdout] | [INFO] [stdout] 586 | let mut r = Cursor::new(vec![10]); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 330 + use alloc::vec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `vec` in this scope [INFO] [stdout] --> src/buf/cursor.rs:539:22 [INFO] [stdout] | [INFO] [stdout] 539 | let in_buf = vec![0, 1, 2, 3, 4, 5, 6, 7]; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 330 + use alloc::vec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `vec` in this scope [INFO] [stdout] --> src/buf/cursor.rs:521:22 [INFO] [stdout] | [INFO] [stdout] 521 | let in_buf = vec![0, 1, 2, 3, 4, 5, 6, 7]; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 330 + use alloc::vec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `vec` in this scope [INFO] [stdout] --> src/buf/cursor.rs:499:22 [INFO] [stdout] | [INFO] [stdout] 499 | let in_buf = vec![0, 1, 2, 3, 4, 5, 6, 7]; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 330 + use alloc::vec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `vec` in this scope [INFO] [stdout] --> src/buf/cursor.rs:491:38 [INFO] [stdout] | [INFO] [stdout] 491 | let mut reader = Cursor::new(vec![0, 1, 2, 3, 4, 5, 6, 7]); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 330 + use alloc::vec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `vec` in this scope [INFO] [stdout] --> src/buf/cursor.rs:469:38 [INFO] [stdout] | [INFO] [stdout] 469 | let mut reader = Cursor::new(vec![0, 1, 2, 3, 4, 5, 6, 7].into_boxed_slice()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 330 + use alloc::vec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `vec` in this scope [INFO] [stdout] --> src/buf/cursor.rs:447:38 [INFO] [stdout] | [INFO] [stdout] 447 | let mut reader = Cursor::new(vec![0, 1, 2, 3, 4, 5, 6, 7]); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 330 + use alloc::vec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `vec` in this scope [INFO] [stdout] --> src/buf/cursor.rs:370:38 [INFO] [stdout] | [INFO] [stdout] 370 | let mut writer = Cursor::new(vec![0u8; 9].into_boxed_slice()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 330 + use alloc::vec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `read_initializer` [INFO] [stdout] --> src/lib.rs:74:49 [INFO] [stdout] | [INFO] [stdout] 74 | #![cfg_attr(feature = "nightly", feature(alloc, read_initializer, try_from))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for struct `alloc::vec::Vec<_>` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:338:27 [INFO] [stdout] | [INFO] [stdout] 338 | assert_eq!(writer.write(&[0]).unwrap(), 1); [INFO] [stdout] | ^^^^^ [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/std/src/io/mod.rs:1588:8 [INFO] [stdout] | [INFO] [stdout] = note: the method is available for `alloc::vec::Vec<_>` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `writer` with a similar name, but with different arguments [INFO] [stdout] --> src/buf/buf_mut.rs:642:5 [INFO] [stdout] | [INFO] [stdout] 642 | fn writer(self) -> Writer where Self: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `Write` which provides `write` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 330 + use std::io::Write; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for struct `alloc::vec::Vec<_>` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:339:27 [INFO] [stdout] | [INFO] [stdout] 339 | assert_eq!(writer.write(&[1, 2, 3]).unwrap(), 3); [INFO] [stdout] | ^^^^^ [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/std/src/io/mod.rs:1588:8 [INFO] [stdout] | [INFO] [stdout] = note: the method is available for `alloc::vec::Vec<_>` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `writer` with a similar name, but with different arguments [INFO] [stdout] --> src/buf/buf_mut.rs:642:5 [INFO] [stdout] | [INFO] [stdout] 642 | fn writer(self) -> Writer where Self: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `Write` which provides `write` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 330 + use std::io::Write; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for struct `alloc::vec::Vec<_>` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:340:27 [INFO] [stdout] | [INFO] [stdout] 340 | assert_eq!(writer.write(&[4, 5, 6, 7]).unwrap(), 4); [INFO] [stdout] | ^^^^^ [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/std/src/io/mod.rs:1588:8 [INFO] [stdout] | [INFO] [stdout] = note: the method is available for `alloc::vec::Vec<_>` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `writer` with a similar name, but with different arguments [INFO] [stdout] --> src/buf/buf_mut.rs:642:5 [INFO] [stdout] | [INFO] [stdout] 642 | fn writer(self) -> Writer where Self: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `Write` which provides `write` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 330 + use std::io::Write; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for struct `cursor::Cursor` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:349:27 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Cursor { [INFO] [stdout] | -------------------- method `write` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 349 | assert_eq!(writer.write(&[0]).unwrap(), 1); [INFO] [stdout] | ^^^^^ [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 `write`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Hasher` [INFO] [stdout] candidate #2: `std::io::Write` [INFO] [stdout] help: there is a method `writer` with a similar name, but with different arguments [INFO] [stdout] --> src/buf/buf_mut.rs:642:5 [INFO] [stdout] | [INFO] [stdout] 642 | fn writer(self) -> Writer where Self: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for struct `cursor::Cursor` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:350:27 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Cursor { [INFO] [stdout] | -------------------- method `write` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 350 | assert_eq!(writer.write(&[1, 2, 3]).unwrap(), 3); [INFO] [stdout] | ^^^^^ [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 `write`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Hasher` [INFO] [stdout] candidate #2: `std::io::Write` [INFO] [stdout] help: there is a method `writer` with a similar name, but with different arguments [INFO] [stdout] --> src/buf/buf_mut.rs:642:5 [INFO] [stdout] | [INFO] [stdout] 642 | fn writer(self) -> Writer where Self: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for struct `cursor::Cursor` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:351:27 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Cursor { [INFO] [stdout] | -------------------- method `write` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 351 | assert_eq!(writer.write(&[4, 5, 6, 7]).unwrap(), 4); [INFO] [stdout] | ^^^^^ [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 `write`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Hasher` [INFO] [stdout] candidate #2: `std::io::Write` [INFO] [stdout] help: there is a method `writer` with a similar name, but with different arguments [INFO] [stdout] --> src/buf/buf_mut.rs:642:5 [INFO] [stdout] | [INFO] [stdout] 642 | fn writer(self) -> Writer where Self: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for struct `cursor::Cursor` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:361:27 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Cursor { [INFO] [stdout] | -------------------- method `write` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 361 | assert_eq!(writer.write(&[0]).unwrap(), 1); [INFO] [stdout] | ^^^^^ [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 `write`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Hasher` [INFO] [stdout] candidate #2: `std::io::Write` [INFO] [stdout] help: there is a method `writer` with a similar name, but with different arguments [INFO] [stdout] --> src/buf/buf_mut.rs:642:5 [INFO] [stdout] | [INFO] [stdout] 642 | fn writer(self) -> Writer where Self: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for struct `cursor::Cursor` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:362:27 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Cursor { [INFO] [stdout] | -------------------- method `write` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 362 | assert_eq!(writer.write(&[1, 2, 3]).unwrap(), 3); [INFO] [stdout] | ^^^^^ [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 `write`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Hasher` [INFO] [stdout] candidate #2: `std::io::Write` [INFO] [stdout] help: there is a method `writer` with a similar name, but with different arguments [INFO] [stdout] --> src/buf/buf_mut.rs:642:5 [INFO] [stdout] | [INFO] [stdout] 642 | fn writer(self) -> Writer where Self: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for struct `cursor::Cursor` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:363:27 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Cursor { [INFO] [stdout] | -------------------- method `write` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 363 | assert_eq!(writer.write(&[4, 5, 6, 7]).unwrap(), 4); [INFO] [stdout] | ^^^^^ [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 `write`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Hasher` [INFO] [stdout] candidate #2: `std::io::Write` [INFO] [stdout] help: there is a method `writer` with a similar name, but with different arguments [INFO] [stdout] --> src/buf/buf_mut.rs:642:5 [INFO] [stdout] | [INFO] [stdout] 642 | fn writer(self) -> Writer where Self: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for struct `cursor::Cursor` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:392:31 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Cursor { [INFO] [stdout] | -------------------- method `write` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 392 | assert_eq!(writer.write(&[0]).unwrap(), 1); [INFO] [stdout] | ^^^^^ [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 `write`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Hasher` [INFO] [stdout] candidate #2: `std::io::Write` [INFO] [stdout] help: there is a method `writer` with a similar name, but with different arguments [INFO] [stdout] --> src/buf/buf_mut.rs:642:5 [INFO] [stdout] | [INFO] [stdout] 642 | fn writer(self) -> Writer where Self: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for struct `cursor::Cursor` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:394:31 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Cursor { [INFO] [stdout] | -------------------- method `write` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 394 | assert_eq!(writer.write(&[1, 2, 3]).unwrap(), 3); [INFO] [stdout] | ^^^^^ [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 `write`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Hasher` [INFO] [stdout] candidate #2: `std::io::Write` [INFO] [stdout] help: there is a method `writer` with a similar name, but with different arguments [INFO] [stdout] --> src/buf/buf_mut.rs:642:5 [INFO] [stdout] | [INFO] [stdout] 642 | fn writer(self) -> Writer where Self: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for struct `cursor::Cursor` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:395:31 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Cursor { [INFO] [stdout] | -------------------- method `write` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 395 | assert_eq!(writer.write(&[4, 5, 6, 7]).unwrap(), 4); [INFO] [stdout] | ^^^^^ [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 `write`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Hasher` [INFO] [stdout] candidate #2: `std::io::Write` [INFO] [stdout] help: there is a method `writer` with a similar name, but with different arguments [INFO] [stdout] --> src/buf/buf_mut.rs:642:5 [INFO] [stdout] | [INFO] [stdout] 642 | fn writer(self) -> Writer where Self: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for struct `cursor::Cursor` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:397:31 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Cursor { [INFO] [stdout] | -------------------- method `write` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 397 | assert_eq!(writer.write(&[]).unwrap(), 0); [INFO] [stdout] | ^^^^^ [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 `write`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Hasher` [INFO] [stdout] candidate #2: `std::io::Write` [INFO] [stdout] help: there is a method `writer` with a similar name, but with different arguments [INFO] [stdout] --> src/buf/buf_mut.rs:642:5 [INFO] [stdout] | [INFO] [stdout] 642 | fn writer(self) -> Writer where Self: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for struct `cursor::Cursor` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:400:31 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Cursor { [INFO] [stdout] | -------------------- method `write` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 400 | assert_eq!(writer.write(&[8, 9]).unwrap(), 1); [INFO] [stdout] | ^^^^^ [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 `write`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Hasher` [INFO] [stdout] candidate #2: `std::io::Write` [INFO] [stdout] help: there is a method `writer` with a similar name, but with different arguments [INFO] [stdout] --> src/buf/buf_mut.rs:642:5 [INFO] [stdout] | [INFO] [stdout] 642 | fn writer(self) -> Writer where Self: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for struct `cursor::Cursor` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:401:31 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Cursor { [INFO] [stdout] | -------------------- method `write` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 401 | assert_eq!(writer.write(&[10]).unwrap(), 0); [INFO] [stdout] | ^^^^^ [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 `write`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Hasher` [INFO] [stdout] candidate #2: `std::io::Write` [INFO] [stdout] help: there is a method `writer` with a similar name, but with different arguments [INFO] [stdout] --> src/buf/buf_mut.rs:642:5 [INFO] [stdout] | [INFO] [stdout] 642 | fn writer(self) -> Writer where Self: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for struct `cursor::Cursor` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:413:31 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Cursor { [INFO] [stdout] | -------------------- method `write` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 413 | assert_eq!(writer.write(&[1]).unwrap(), 1); [INFO] [stdout] | ^^^^^ [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 `write`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Hasher` [INFO] [stdout] candidate #2: `std::io::Write` [INFO] [stdout] help: there is a method `writer` with a similar name, but with different arguments [INFO] [stdout] --> src/buf/buf_mut.rs:642:5 [INFO] [stdout] | [INFO] [stdout] 642 | fn writer(self) -> Writer where Self: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `seek` found for struct `cursor::Cursor` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:416:31 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Cursor { [INFO] [stdout] | -------------------- method `seek` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 416 | assert_eq!(writer.seek(SeekFrom::Start(2)).unwrap(), 2); [INFO] [stdout] | ^^^^ method not found in `Cursor<&mut [u8]>` [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 trait defines an item `seek`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `std::io::Seek` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for struct `cursor::Cursor` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:418:31 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Cursor { [INFO] [stdout] | -------------------- method `write` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 418 | assert_eq!(writer.write(&[2]).unwrap(), 1); [INFO] [stdout] | ^^^^^ [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 `write`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Hasher` [INFO] [stdout] candidate #2: `std::io::Write` [INFO] [stdout] help: there is a method `writer` with a similar name, but with different arguments [INFO] [stdout] --> src/buf/buf_mut.rs:642:5 [INFO] [stdout] | [INFO] [stdout] 642 | fn writer(self) -> Writer where Self: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `seek` found for struct `cursor::Cursor` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:421:31 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Cursor { [INFO] [stdout] | -------------------- method `seek` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 421 | assert_eq!(writer.seek(SeekFrom::Current(-2)).unwrap(), 1); [INFO] [stdout] | ^^^^ method not found in `Cursor<&mut [u8]>` [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 trait defines an item `seek`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `std::io::Seek` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for struct `cursor::Cursor` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:423:31 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Cursor { [INFO] [stdout] | -------------------- method `write` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 423 | assert_eq!(writer.write(&[3]).unwrap(), 1); [INFO] [stdout] | ^^^^^ [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 `write`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Hasher` [INFO] [stdout] candidate #2: `std::io::Write` [INFO] [stdout] help: there is a method `writer` with a similar name, but with different arguments [INFO] [stdout] --> src/buf/buf_mut.rs:642:5 [INFO] [stdout] | [INFO] [stdout] 642 | fn writer(self) -> Writer where Self: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `seek` found for struct `cursor::Cursor` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:426:31 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Cursor { [INFO] [stdout] | -------------------- method `seek` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 426 | assert_eq!(writer.seek(SeekFrom::End(-1)).unwrap(), 7); [INFO] [stdout] | ^^^^ method not found in `Cursor<&mut [u8]>` [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 trait defines an item `seek`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `std::io::Seek` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for struct `cursor::Cursor` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:428:31 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Cursor { [INFO] [stdout] | -------------------- method `write` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 428 | assert_eq!(writer.write(&[4]).unwrap(), 1); [INFO] [stdout] | ^^^^^ [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 `write`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Hasher` [INFO] [stdout] candidate #2: `std::io::Write` [INFO] [stdout] help: there is a method `writer` with a similar name, but with different arguments [INFO] [stdout] --> src/buf/buf_mut.rs:642:5 [INFO] [stdout] | [INFO] [stdout] 642 | fn writer(self) -> Writer where Self: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for struct `cursor::Cursor` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:440:27 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Cursor { [INFO] [stdout] | -------------------- method `write` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 440 | assert_eq!(writer.write(&[0]).unwrap(), 1); [INFO] [stdout] | ^^^^^ [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 `write`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Hasher` [INFO] [stdout] candidate #2: `std::io::Write` [INFO] [stdout] help: there is a method `writer` with a similar name, but with different arguments [INFO] [stdout] --> src/buf/buf_mut.rs:642:5 [INFO] [stdout] | [INFO] [stdout] 642 | fn writer(self) -> Writer where Self: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for struct `cursor::Cursor` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:441:27 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Cursor { [INFO] [stdout] | -------------------- method `write` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 441 | assert_eq!(writer.write(&[0, 0]).unwrap(), 1); [INFO] [stdout] | ^^^^^ [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 `write`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Hasher` [INFO] [stdout] candidate #2: `std::io::Write` [INFO] [stdout] help: there is a method `writer` with a similar name, but with different arguments [INFO] [stdout] --> src/buf/buf_mut.rs:642:5 [INFO] [stdout] | [INFO] [stdout] 642 | fn writer(self) -> Writer where Self: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for struct `cursor::Cursor` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:442:27 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Cursor { [INFO] [stdout] | -------------------- method `write` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 442 | assert_eq!(writer.write(&[0, 0]).unwrap(), 0); [INFO] [stdout] | ^^^^^ [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 `write`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Hasher` [INFO] [stdout] candidate #2: `std::io::Write` [INFO] [stdout] help: there is a method `writer` with a similar name, but with different arguments [INFO] [stdout] --> src/buf/buf_mut.rs:642:5 [INFO] [stdout] | [INFO] [stdout] 642 | fn writer(self) -> Writer where Self: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `seek` found for struct `cursor::Cursor` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:583:22 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Cursor { [INFO] [stdout] | -------------------- method `seek` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 583 | assert_eq!(r.seek(SeekFrom::Start(10)).unwrap(), 10); [INFO] [stdout] | ^^^^ method not found in `Cursor<&[{integer}]>` [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 trait defines an item `seek`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `std::io::Seek` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read` found for struct `cursor::Cursor` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:584:22 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Cursor { [INFO] [stdout] | -------------------- method `read` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 584 | assert_eq!(r.read(&mut [0]).unwrap(), 0); [INFO] [stdout] | ^^^^ [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 trait defines an item `read`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `std::io::Read` [INFO] [stdout] help: there is a method `reader` with a similar name, but with different arguments [INFO] [stdout] --> src/buf/buf.rs:643:5 [INFO] [stdout] | [INFO] [stdout] 643 | fn reader(self) -> Reader where Self: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `seek` found for struct `cursor::Cursor` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:592:22 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Cursor { [INFO] [stdout] | -------------------- method `seek` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 592 | assert_eq!(r.seek(SeekFrom::Start(10)).unwrap(), 10); [INFO] [stdout] | ^^^^ method not found in `Cursor<&mut [{integer}]>` [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 trait defines an item `seek`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `std::io::Seek` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for struct `cursor::Cursor` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:593:22 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Cursor { [INFO] [stdout] | -------------------- method `write` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 593 | assert_eq!(r.write(&[3]).unwrap(), 0); [INFO] [stdout] | ^^^^^ [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 `write`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Hasher` [INFO] [stdout] candidate #2: `std::io::Write` [INFO] [stdout] help: there is a method `writer` with a similar name, but with different arguments [INFO] [stdout] --> src/buf/buf_mut.rs:642:5 [INFO] [stdout] | [INFO] [stdout] 642 | fn writer(self) -> Writer where Self: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `seek` found for struct `cursor::Cursor` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:604:22 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Cursor { [INFO] [stdout] | -------------------- method `seek` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 604 | assert_eq!(r.seek(SeekFrom::Start(6)).unwrap(), 6); [INFO] [stdout] | ^^^^ method not found in `Cursor<&[{integer}]>` [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 trait defines an item `seek`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `std::io::Seek` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `seek` found for struct `cursor::Cursor` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:605:22 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Cursor { [INFO] [stdout] | -------------------- method `seek` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 605 | assert_eq!(r.seek(SeekFrom::Current(0x7ffffffffffffff0)).unwrap(), 0x7ffffffffffffff6); [INFO] [stdout] | ^^^^ method not found in `Cursor<&[{integer}]>` [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 trait defines an item `seek`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `std::io::Seek` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `seek` found for struct `cursor::Cursor` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:606:22 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Cursor { [INFO] [stdout] | -------------------- method `seek` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 606 | assert_eq!(r.seek(SeekFrom::Current(0x10)).unwrap(), 0x8000000000000006); [INFO] [stdout] | ^^^^ method not found in `Cursor<&[{integer}]>` [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 trait defines an item `seek`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `std::io::Seek` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `seek` found for struct `cursor::Cursor` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:607:22 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Cursor { [INFO] [stdout] | -------------------- method `seek` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 607 | assert_eq!(r.seek(SeekFrom::Current(0)).unwrap(), 0x8000000000000006); [INFO] [stdout] | ^^^^ method not found in `Cursor<&[{integer}]>` [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 trait defines an item `seek`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `std::io::Seek` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `seek` found for struct `cursor::Cursor` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:608:19 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Cursor { [INFO] [stdout] | -------------------- method `seek` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 608 | assert!(r.seek(SeekFrom::Current(0x7ffffffffffffffd)).is_err()); [INFO] [stdout] | ^^^^ method not found in `Cursor<&[{integer}]>` [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 trait defines an item `seek`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `std::io::Seek` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `seek` found for struct `cursor::Cursor` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:609:22 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Cursor { [INFO] [stdout] | -------------------- method `seek` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 609 | assert_eq!(r.seek(SeekFrom::Current(-0x8000000000000000)).unwrap(), 6); [INFO] [stdout] | ^^^^ method not found in `Cursor<&[{integer}]>` [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 trait defines an item `seek`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `std::io::Seek` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `seek` found for struct `cursor::Cursor` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:621:22 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Cursor { [INFO] [stdout] | -------------------- method `seek` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 621 | assert_eq!(r.seek(SeekFrom::Start(6)).unwrap(), 6); [INFO] [stdout] | ^^^^ method not found in `Cursor<&mut [{integer}]>` [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 trait defines an item `seek`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `std::io::Seek` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `seek` found for struct `cursor::Cursor` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:622:22 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Cursor { [INFO] [stdout] | -------------------- method `seek` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 622 | assert_eq!(r.seek(SeekFrom::Current(0x7ffffffffffffff0)).unwrap(), 0x7ffffffffffffff6); [INFO] [stdout] | ^^^^ method not found in `Cursor<&mut [{integer}]>` [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 trait defines an item `seek`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `std::io::Seek` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `seek` found for struct `cursor::Cursor` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:623:22 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Cursor { [INFO] [stdout] | -------------------- method `seek` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 623 | assert_eq!(r.seek(SeekFrom::Current(0x10)).unwrap(), 0x8000000000000006); [INFO] [stdout] | ^^^^ method not found in `Cursor<&mut [{integer}]>` [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 trait defines an item `seek`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `std::io::Seek` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `seek` found for struct `cursor::Cursor` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:624:22 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Cursor { [INFO] [stdout] | -------------------- method `seek` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 624 | assert_eq!(r.seek(SeekFrom::Current(0)).unwrap(), 0x8000000000000006); [INFO] [stdout] | ^^^^ method not found in `Cursor<&mut [{integer}]>` [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 trait defines an item `seek`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `std::io::Seek` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `seek` found for struct `cursor::Cursor` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:625:19 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Cursor { [INFO] [stdout] | -------------------- method `seek` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 625 | assert!(r.seek(SeekFrom::Current(0x7ffffffffffffffd)).is_err()); [INFO] [stdout] | ^^^^ method not found in `Cursor<&mut [{integer}]>` [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 trait defines an item `seek`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `std::io::Seek` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `seek` found for struct `cursor::Cursor` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:626:22 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Cursor { [INFO] [stdout] | -------------------- method `seek` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 626 | assert_eq!(r.seek(SeekFrom::Current(-0x8000000000000000)).unwrap(), 6); [INFO] [stdout] | ^^^^ method not found in `Cursor<&mut [{integer}]>` [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 trait defines an item `seek`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `std::io::Seek` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `seek` found for struct `cursor::Cursor` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:641:19 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Cursor { [INFO] [stdout] | -------------------- method `seek` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 641 | assert!(r.seek(SeekFrom::End(-2)).is_err()); [INFO] [stdout] | ^^^^ method not found in `Cursor<&[{integer}]>` [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 trait defines an item `seek`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `std::io::Seek` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `seek` found for struct `cursor::Cursor` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:648:19 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Cursor { [INFO] [stdout] | -------------------- method `seek` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 648 | assert!(r.seek(SeekFrom::End(-2)).is_err()); [INFO] [stdout] | ^^^^ method not found in `Cursor<&mut [{integer}]>` [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 trait defines an item `seek`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `std::io::Seek` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for struct `cursor::Cursor` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:659:27 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Cursor { [INFO] [stdout] | -------------------- method `write` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 659 | assert_eq!(writer.write(&[0]).unwrap(), 1); [INFO] [stdout] | ^^^^^ [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 `write`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Hasher` [INFO] [stdout] candidate #2: `std::io::Write` [INFO] [stdout] help: there is a method `writer` with a similar name, but with different arguments [INFO] [stdout] --> src/buf/buf_mut.rs:642:5 [INFO] [stdout] | [INFO] [stdout] 642 | fn writer(self) -> Writer where Self: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for struct `cursor::Cursor` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:661:27 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Cursor { [INFO] [stdout] | -------------------- method `write` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 661 | assert_eq!(writer.write(&[1, 2, 3]).unwrap(), 3); [INFO] [stdout] | ^^^^^ [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 `write`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Hasher` [INFO] [stdout] candidate #2: `std::io::Write` [INFO] [stdout] help: there is a method `writer` with a similar name, but with different arguments [INFO] [stdout] --> src/buf/buf_mut.rs:642:5 [INFO] [stdout] | [INFO] [stdout] 642 | fn writer(self) -> Writer where Self: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for struct `cursor::Cursor` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:662:27 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Cursor { [INFO] [stdout] | -------------------- method `write` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 662 | assert_eq!(writer.write(&[4, 5, 6, 7]).unwrap(), 4); [INFO] [stdout] | ^^^^^ [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 `write`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Hasher` [INFO] [stdout] candidate #2: `std::io::Write` [INFO] [stdout] help: there is a method `writer` with a similar name, but with different arguments [INFO] [stdout] --> src/buf/buf_mut.rs:642:5 [INFO] [stdout] | [INFO] [stdout] 642 | fn writer(self) -> Writer where Self: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `seek` found for struct `cursor::Cursor` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:667:27 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Cursor { [INFO] [stdout] | -------------------- method `seek` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 667 | assert_eq!(writer.seek(SeekFrom::Start(0)).unwrap(), 0); [INFO] [stdout] | ^^^^ method not found in `Cursor>` [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 trait defines an item `seek`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `std::io::Seek` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for struct `cursor::Cursor` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:669:27 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Cursor { [INFO] [stdout] | -------------------- method `write` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 669 | assert_eq!(writer.write(&[3, 4]).unwrap(), 2); [INFO] [stdout] | ^^^^^ [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 `write`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Hasher` [INFO] [stdout] candidate #2: `std::io::Write` [INFO] [stdout] help: there is a method `writer` with a similar name, but with different arguments [INFO] [stdout] --> src/buf/buf_mut.rs:642:5 [INFO] [stdout] | [INFO] [stdout] 642 | fn writer(self) -> Writer where Self: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `seek` found for struct `cursor::Cursor` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:673:27 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Cursor { [INFO] [stdout] | -------------------- method `seek` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 673 | assert_eq!(writer.seek(SeekFrom::Current(1)).unwrap(), 3); [INFO] [stdout] | ^^^^ method not found in `Cursor>` [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 trait defines an item `seek`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `std::io::Seek` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for struct `cursor::Cursor` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:674:27 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Cursor { [INFO] [stdout] | -------------------- method `write` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 674 | assert_eq!(writer.write(&[0, 1]).unwrap(), 2); [INFO] [stdout] | ^^^^^ [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 `write`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Hasher` [INFO] [stdout] candidate #2: `std::io::Write` [INFO] [stdout] help: there is a method `writer` with a similar name, but with different arguments [INFO] [stdout] --> src/buf/buf_mut.rs:642:5 [INFO] [stdout] | [INFO] [stdout] 642 | fn writer(self) -> Writer where Self: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `seek` found for struct `cursor::Cursor` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:678:27 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Cursor { [INFO] [stdout] | -------------------- method `seek` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 678 | assert_eq!(writer.seek(SeekFrom::End(-1)).unwrap(), 7); [INFO] [stdout] | ^^^^ method not found in `Cursor>` [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 trait defines an item `seek`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `std::io::Seek` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for struct `cursor::Cursor` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:679:27 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Cursor { [INFO] [stdout] | -------------------- method `write` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 679 | assert_eq!(writer.write(&[1, 2]).unwrap(), 2); [INFO] [stdout] | ^^^^^ [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 `write`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Hasher` [INFO] [stdout] candidate #2: `std::io::Write` [INFO] [stdout] help: there is a method `writer` with a similar name, but with different arguments [INFO] [stdout] --> src/buf/buf_mut.rs:642:5 [INFO] [stdout] | [INFO] [stdout] 642 | fn writer(self) -> Writer where Self: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `seek` found for struct `cursor::Cursor` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:683:27 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Cursor { [INFO] [stdout] | -------------------- method `seek` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 683 | assert_eq!(writer.seek(SeekFrom::End(1)).unwrap(), 10); [INFO] [stdout] | ^^^^ method not found in `Cursor>` [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 trait defines an item `seek`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `std::io::Seek` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for struct `cursor::Cursor` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:684:27 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Cursor { [INFO] [stdout] | -------------------- method `write` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 684 | assert_eq!(writer.write(&[1]).unwrap(), 1); [INFO] [stdout] | ^^^^^ [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 `write`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Hasher` [INFO] [stdout] candidate #2: `std::io::Write` [INFO] [stdout] help: there is a method `writer` with a similar name, but with different arguments [INFO] [stdout] --> src/buf/buf_mut.rs:642:5 [INFO] [stdout] | [INFO] [stdout] 642 | fn writer(self) -> Writer where Self: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `seek` found for struct `cursor::Cursor` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:693:22 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Cursor { [INFO] [stdout] | -------------------- method `seek` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 693 | assert_eq!(r.seek(SeekFrom::Start(10)).unwrap(), 10); [INFO] [stdout] | ^^^^ method not found in `Cursor>` [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 trait defines an item `seek`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `std::io::Seek` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for struct `cursor::Cursor` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:694:22 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Cursor { [INFO] [stdout] | -------------------- method `write` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 694 | assert_eq!(r.write(&[3]).unwrap(), 1); [INFO] [stdout] | ^^^^^ [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 `write`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Hasher` [INFO] [stdout] candidate #2: `std::io::Write` [INFO] [stdout] help: there is a method `writer` with a similar name, but with different arguments [INFO] [stdout] --> src/buf/buf_mut.rs:642:5 [INFO] [stdout] | [INFO] [stdout] 642 | fn writer(self) -> Writer where Self: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `seek` found for struct `cursor::Cursor` in the current scope [INFO] [stdout] --> src/buf/cursor.rs:700:19 [INFO] [stdout] | [INFO] [stdout] 91 | pub struct Cursor { [INFO] [stdout] | -------------------- method `seek` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 700 | assert!(r.seek(SeekFrom::End(-2)).is_err()); [INFO] [stdout] | ^^^^ method not found in `Cursor>` [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 trait defines an item `seek`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `std::io::Seek` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 72 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599, E0635. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `microcrates-bytes` (lib test) due to 73 previous errors [INFO] running `Command { std: "docker" "inspect" "8fb435f1e989e5f106db49dc6064e0e778591107d00b9c6a8ed98cbcb1484545", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8fb435f1e989e5f106db49dc6064e0e778591107d00b9c6a8ed98cbcb1484545", kill_on_drop: false }` [INFO] [stdout] 8fb435f1e989e5f106db49dc6064e0e778591107d00b9c6a8ed98cbcb1484545