[INFO] crate zorio 0.1.0 is already in cache [INFO] extracting crate zorio 0.1.0 into work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/reg/zorio/0.1.0 [INFO] extracting crate zorio 0.1.0 into work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/reg/zorio/0.1.0 [INFO] validating manifest of zorio-0.1.0 on toolchain master#60960a260f7b5c695fd0717311d72ce62dd4eb43 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of zorio-0.1.0 on toolchain try#266783e4e09e4e9d5307c1c8e695659c58bbcac7 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing zorio-0.1.0 [INFO] finished frobbing zorio-0.1.0 [INFO] frobbed toml for zorio-0.1.0 written to work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/reg/zorio/0.1.0/Cargo.toml [INFO] started frobbing zorio-0.1.0 [INFO] finished frobbing zorio-0.1.0 [INFO] frobbed toml for zorio-0.1.0 written to work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/reg/zorio/0.1.0/Cargo.toml [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking zorio-0.1.0 against try#266783e4e09e4e9d5307c1c8e695659c58bbcac7 for pr-63376 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-63376/worker-1/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/reg/zorio/0.1.0:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 44667f354b75d828d050f464131903667e784f612e9c476d190d40555fc36ab4 [INFO] running `"docker" "start" "-a" "44667f354b75d828d050f464131903667e784f612e9c476d190d40555fc36ab4"` [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Checking zorio v0.1.0 (/opt/crater/workdir) [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Vec` [INFO] [stderr] --> src/io.rs:1977:23 [INFO] [stderr] | [INFO] [stderr] 1977 | let mut buf = Vec::new(); [INFO] [stderr] | ^^^ use of undeclared type or module `Vec` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `String` [INFO] [stderr] --> src/io.rs:2008:23 [INFO] [stderr] | [INFO] [stderr] 2008 | let mut buf = String::new(); [INFO] [stderr] | ^^^^^^ use of undeclared type or module `String` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Vec` in this scope [INFO] [stderr] --> src/io.rs:299:33 [INFO] [stderr] | [INFO] [stderr] 299 | struct Guard<'a> { buf: &'a mut Vec, len: usize } [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 262 | use alloc::prelude::v1::Vec; [INFO] [stderr] | [INFO] [stderr] 262 | use alloc::vec::Vec; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Vec` in this scope [INFO] [stderr] --> src/io.rs:326:26 [INFO] [stderr] | [INFO] [stderr] 326 | where F: FnOnce(&mut Vec) -> Result [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 262 | use alloc::prelude::v1::Vec; [INFO] [stderr] | [INFO] [stderr] 262 | use alloc::vec::Vec; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `String` in this scope [INFO] [stderr] --> src/io.rs:325:34 [INFO] [stderr] | [INFO] [stderr] 325 | fn append_to_string(buf: &mut String, f: F) -> Result [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 262 | use alloc::prelude::v1::String; [INFO] [stderr] | [INFO] [stderr] 262 | use alloc::string::String; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Vec` in this scope [INFO] [stderr] --> src/io.rs:352:55 [INFO] [stderr] | [INFO] [stderr] 352 | fn read_to_end(r: &mut R, buf: &mut Vec) -> Result { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 262 | use alloc::prelude::v1::Vec; [INFO] [stderr] | [INFO] [stderr] 262 | use alloc::vec::Vec; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Vec` in this scope [INFO] [stderr] --> src/io.rs:357:61 [INFO] [stderr] | [INFO] [stderr] 357 | buf: &mut Vec, [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 262 | use alloc::prelude::v1::Vec; [INFO] [stderr] | [INFO] [stderr] 262 | use alloc::vec::Vec; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Vec` in this scope [INFO] [stderr] --> src/io.rs:598:41 [INFO] [stderr] | [INFO] [stderr] 598 | fn read_to_end(&mut self, buf: &mut Vec) -> Result { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 262 | use alloc::prelude::v1::Vec; [INFO] [stderr] | [INFO] [stderr] 262 | use alloc::vec::Vec; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `String` in this scope [INFO] [stderr] --> src/io.rs:641:44 [INFO] [stderr] | [INFO] [stderr] 641 | fn read_to_string(&mut self, buf: &mut String) -> Result { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 262 | use alloc::prelude::v1::String; [INFO] [stderr] | [INFO] [stderr] 262 | use alloc::string::String; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Vec` in this scope [INFO] [stderr] --> src/io.rs:1242:68 [INFO] [stderr] | [INFO] [stderr] 1242 | fn read_until(r: &mut R, delim: u8, buf: &mut Vec) [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 262 | use alloc::prelude::v1::Vec; [INFO] [stderr] | [INFO] [stderr] 262 | use alloc::vec::Vec; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Vec` in this scope [INFO] [stderr] --> src/io.rs:1446:50 [INFO] [stderr] | [INFO] [stderr] 1446 | fn read_until(&mut self, byte: u8, buf: &mut Vec) -> Result { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 262 | use alloc::prelude::v1::Vec; [INFO] [stderr] | [INFO] [stderr] 262 | use alloc::vec::Vec; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `String` in this scope [INFO] [stderr] --> src/io.rs:1505:39 [INFO] [stderr] | [INFO] [stderr] 1505 | fn read_line(&mut self, buf: &mut String) -> Result { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 262 | use alloc::prelude::v1::String; [INFO] [stderr] | [INFO] [stderr] 262 | use alloc::string::String; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Vec` in this scope [INFO] [stderr] --> src/io.rs:1901:41 [INFO] [stderr] | [INFO] [stderr] 1901 | fn read_to_end(&mut self, buf: &mut Vec) -> Result { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 262 | use alloc::prelude::v1::Vec; [INFO] [stderr] | [INFO] [stderr] 262 | use alloc::vec::Vec; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Vec` in this scope [INFO] [stderr] --> src/io.rs:1974:24 [INFO] [stderr] | [INFO] [stderr] 1974 | type Item = Result>; [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 262 | use alloc::prelude::v1::Vec; [INFO] [stderr] | [INFO] [stderr] 262 | use alloc::vec::Vec; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Vec` in this scope [INFO] [stderr] --> src/io.rs:1976:41 [INFO] [stderr] | [INFO] [stderr] 1976 | fn next(&mut self) -> Option>> { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 262 | use alloc::prelude::v1::Vec; [INFO] [stderr] | [INFO] [stderr] 262 | use alloc::vec::Vec; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `String` in this scope [INFO] [stderr] --> src/io.rs:2005:24 [INFO] [stderr] | [INFO] [stderr] 2005 | type Item = Result; [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 262 | use alloc::prelude::v1::String; [INFO] [stderr] | [INFO] [stderr] 262 | use alloc::string::String; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `String` in this scope [INFO] [stderr] --> src/io.rs:2007:41 [INFO] [stderr] | [INFO] [stderr] 2007 | fn next(&mut self) -> Option> { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 262 | use alloc::prelude::v1::String; [INFO] [stderr] | [INFO] [stderr] 262 | use alloc::string::String; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Vec` in this scope [INFO] [stderr] --> src/cursor.rs:255:43 [INFO] [stderr] | [INFO] [stderr] 255 | fn vec_write(pos_mut: &mut u64, vec: &mut Vec, buf: &[u8]) -> io::Result { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use alloc::prelude::v1::Vec; [INFO] [stderr] | [INFO] [stderr] 1 | use alloc::vec::Vec; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Vec` in this scope [INFO] [stderr] --> src/cursor.rs:291:35 [INFO] [stderr] | [INFO] [stderr] 291 | impl<'a> Write for Cursor<&'a mut Vec> { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use alloc::prelude::v1::Vec; [INFO] [stderr] | [INFO] [stderr] 1 | use alloc::vec::Vec; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Vec` in this scope [INFO] [stderr] --> src/cursor.rs:299:23 [INFO] [stderr] | [INFO] [stderr] 299 | impl Write for Cursor> { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use alloc::prelude::v1::Vec; [INFO] [stderr] | [INFO] [stderr] 1 | use alloc::vec::Vec; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Box` in this scope [INFO] [stderr] --> src/cursor.rs:307:23 [INFO] [stderr] | [INFO] [stderr] 307 | impl Write for Cursor> { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use alloc::boxed::Box; [INFO] [stderr] | [INFO] [stderr] 1 | use alloc::prelude::v1::Box; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Vec` in this scope [INFO] [stderr] --> src/impls.rs:24:41 [INFO] [stderr] | [INFO] [stderr] 24 | fn read_to_end(&mut self, buf: &mut Vec) -> io::Result { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use alloc::prelude::v1::Vec; [INFO] [stderr] | [INFO] [stderr] 1 | use alloc::vec::Vec; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `String` in this scope [INFO] [stderr] --> src/impls.rs:29:44 [INFO] [stderr] | [INFO] [stderr] 29 | fn read_to_string(&mut self, buf: &mut String) -> io::Result { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use alloc::prelude::v1::String; [INFO] [stderr] | [INFO] [stderr] 1 | use alloc::string::String; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Vec` in this scope [INFO] [stderr] --> src/impls.rs:70:50 [INFO] [stderr] | [INFO] [stderr] 70 | fn read_until(&mut self, byte: u8, buf: &mut Vec) -> io::Result { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use alloc::prelude::v1::Vec; [INFO] [stderr] | [INFO] [stderr] 1 | use alloc::vec::Vec; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `String` in this scope [INFO] [stderr] --> src/impls.rs:75:39 [INFO] [stderr] | [INFO] [stderr] 75 | fn read_line(&mut self, buf: &mut String) -> io::Result { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use alloc::prelude::v1::String; [INFO] [stderr] | [INFO] [stderr] 1 | use alloc::string::String; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Box` in this scope [INFO] [stderr] --> src/impls.rs:81:33 [INFO] [stderr] | [INFO] [stderr] 81 | impl Read for Box { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use alloc::boxed::Box; [INFO] [stderr] | [INFO] [stderr] 1 | use alloc::prelude::v1::Box; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Vec` in this scope [INFO] [stderr] --> src/impls.rs:93:41 [INFO] [stderr] | [INFO] [stderr] 93 | fn read_to_end(&mut self, buf: &mut Vec) -> io::Result { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use alloc::prelude::v1::Vec; [INFO] [stderr] | [INFO] [stderr] 1 | use alloc::vec::Vec; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `String` in this scope [INFO] [stderr] --> src/impls.rs:98:44 [INFO] [stderr] | [INFO] [stderr] 98 | fn read_to_string(&mut self, buf: &mut String) -> io::Result { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use alloc::prelude::v1::String; [INFO] [stderr] | [INFO] [stderr] 1 | use alloc::string::String; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Box` in this scope [INFO] [stderr] --> src/impls.rs:108:35 [INFO] [stderr] | [INFO] [stderr] 108 | impl Write for Box { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use alloc::boxed::Box; [INFO] [stderr] | [INFO] [stderr] 1 | use alloc::prelude::v1::Box; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Box` in this scope [INFO] [stderr] --> src/impls.rs:126:33 [INFO] [stderr] | [INFO] [stderr] 126 | impl Seek for Box { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use alloc::boxed::Box; [INFO] [stderr] | [INFO] [stderr] 1 | use alloc::prelude::v1::Box; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Box` in this scope [INFO] [stderr] --> src/impls.rs:131:39 [INFO] [stderr] | [INFO] [stderr] 131 | impl BufRead for Box { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use alloc::boxed::Box; [INFO] [stderr] | [INFO] [stderr] 1 | use alloc::prelude::v1::Box; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Vec` in this scope [INFO] [stderr] --> src/impls.rs:139:50 [INFO] [stderr] | [INFO] [stderr] 139 | fn read_until(&mut self, byte: u8, buf: &mut Vec) -> io::Result { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use alloc::prelude::v1::Vec; [INFO] [stderr] | [INFO] [stderr] 1 | use alloc::vec::Vec; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `String` in this scope [INFO] [stderr] --> src/impls.rs:144:39 [INFO] [stderr] | [INFO] [stderr] 144 | fn read_line(&mut self, buf: &mut String) -> io::Result { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use alloc::prelude::v1::String; [INFO] [stderr] | [INFO] [stderr] 1 | use alloc::string::String; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Vec` in this scope [INFO] [stderr] --> src/impls.rs:203:41 [INFO] [stderr] | [INFO] [stderr] 203 | fn read_to_end(&mut self, buf: &mut Vec) -> io::Result { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use alloc::prelude::v1::Vec; [INFO] [stderr] | [INFO] [stderr] 1 | use alloc::vec::Vec; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Vec` in this scope [INFO] [stderr] --> src/impls.rs:252:16 [INFO] [stderr] | [INFO] [stderr] 252 | impl Write for Vec { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use alloc::prelude::v1::Vec; [INFO] [stderr] | [INFO] [stderr] 1 | use alloc::vec::Vec; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused import: `alloc::prelude::*` [INFO] [stderr] --> src/io.rs:262:5 [INFO] [stderr] | [INFO] [stderr] 262 | use alloc::prelude::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `alloc::prelude::*` [INFO] [stderr] --> src/cursor.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use alloc::prelude::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `alloc::prelude::*` [INFO] [stderr] --> src/impls.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use alloc::prelude::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'alloc_prelude' [INFO] [stderr] --> src/io.rs:262:5 [INFO] [stderr] | [INFO] [stderr] 262 | use alloc::prelude::*; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/58935 [INFO] [stderr] = help: add `#![feature(alloc_prelude)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'alloc_prelude' [INFO] [stderr] --> src/cursor.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use alloc::prelude::*; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/58935 [INFO] [stderr] = help: add `#![feature(alloc_prelude)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'alloc_prelude' [INFO] [stderr] --> src/impls.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use alloc::prelude::*; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/58935 [INFO] [stderr] = help: add `#![feature(alloc_prelude)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0207]: the type parameter `R` is not constrained by the impl trait, self type, or predicates [INFO] [stderr] --> src/impls.rs:81:6 [INFO] [stderr] | [INFO] [stderr] 81 | impl Read for Box { [INFO] [stderr] | ^ unconstrained type parameter [INFO] [stderr] [INFO] [stderr] error[E0207]: the type parameter `W` is not constrained by the impl trait, self type, or predicates [INFO] [stderr] --> src/impls.rs:108:6 [INFO] [stderr] | [INFO] [stderr] 108 | impl Write for Box { [INFO] [stderr] | ^ unconstrained type parameter [INFO] [stderr] [INFO] [stderr] error[E0207]: the type parameter `S` is not constrained by the impl trait, self type, or predicates [INFO] [stderr] --> src/impls.rs:126:6 [INFO] [stderr] | [INFO] [stderr] 126 | impl Seek for Box { [INFO] [stderr] | ^ unconstrained type parameter [INFO] [stderr] [INFO] [stderr] error[E0207]: the type parameter `B` is not constrained by the impl trait, self type, or predicates [INFO] [stderr] --> src/impls.rs:131:6 [INFO] [stderr] | [INFO] [stderr] 131 | impl BufRead for Box { [INFO] [stderr] | ^ unconstrained type parameter [INFO] [stderr] [INFO] [stderr] error: aborting due to 42 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0207, E0412, E0433, E0658. [INFO] [stderr] For more information about an error, try `rustc --explain E0207`. [INFO] [stderr] error: Could not compile `zorio`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0658]: use of unstable library feature 'test': `bench` is a part of custom test frameworks which are unstable [INFO] [stderr] --> src/io.rs:2244:7 [INFO] [stderr] | [INFO] [stderr] 2244 | #[bench] [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/50297 [INFO] [stderr] = help: add `#![feature(test)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `io` [INFO] [stderr] --> src/io.rs:2027:9 [INFO] [stderr] | [INFO] [stderr] 2027 | use io::prelude::*; [INFO] [stderr] | ^^ use of undeclared type or module `io` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `super::Cursor` [INFO] [stderr] --> src/io.rs:2029:9 [INFO] [stderr] | [INFO] [stderr] 2029 | use super::Cursor; [INFO] [stderr] | ^^^^^^^^^^^^^ no `Cursor` in `io` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `super::repeat` [INFO] [stderr] --> src/io.rs:2031:9 [INFO] [stderr] | [INFO] [stderr] 2031 | use super::repeat; [INFO] [stderr] | ^^^^^^^^^^^^^ no `repeat` in `io` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Vec` [INFO] [stderr] --> src/io.rs:1977:23 [INFO] [stderr] | [INFO] [stderr] 1977 | let mut buf = Vec::new(); [INFO] [stderr] | ^^^ use of undeclared type or module `Vec` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `String` [INFO] [stderr] --> src/io.rs:2008:23 [INFO] [stderr] | [INFO] [stderr] 2008 | let mut buf = String::new(); [INFO] [stderr] | ^^^^^^ use of undeclared type or module `String` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Vec` [INFO] [stderr] --> src/io.rs:2037:21 [INFO] [stderr] | [INFO] [stderr] 2037 | let mut v = Vec::new(); [INFO] [stderr] | ^^^ use of undeclared type or module `Vec` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Vec` [INFO] [stderr] --> src/io.rs:2042:21 [INFO] [stderr] | [INFO] [stderr] 2042 | let mut v = Vec::new(); [INFO] [stderr] | ^^^ use of undeclared type or module `Vec` [INFO] [stderr] [INFO] [stderr] error: cannot find macro `vec!` in this scope [INFO] [stderr] --> src/io.rs:2057:48 [INFO] [stderr] | [INFO] [stderr] 2057 | assert_eq!(s.next().unwrap().unwrap(), vec![b'1', b'2']); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `vec!` in this scope [INFO] [stderr] --> src/io.rs:2062:48 [INFO] [stderr] | [INFO] [stderr] 2062 | assert_eq!(s.next().unwrap().unwrap(), vec![b'1', b'2']); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `vec!` in this scope [INFO] [stderr] --> src/io.rs:2063:48 [INFO] [stderr] | [INFO] [stderr] 2063 | assert_eq!(s.next().unwrap().unwrap(), vec![]); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `String` [INFO] [stderr] --> src/io.rs:2070:21 [INFO] [stderr] | [INFO] [stderr] 2070 | let mut v = String::new(); [INFO] [stderr] | ^^^^^^ use of undeclared type or module `String` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `String` [INFO] [stderr] --> src/io.rs:2075:21 [INFO] [stderr] | [INFO] [stderr] 2075 | let mut v = String::new(); [INFO] [stderr] | ^^^^^^ use of undeclared type or module `String` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Vec` [INFO] [stderr] --> src/io.rs:2103:21 [INFO] [stderr] | [INFO] [stderr] 2103 | let mut v = Vec::new(); [INFO] [stderr] | ^^^ use of undeclared type or module `Vec` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Vec` [INFO] [stderr] --> src/io.rs:2108:21 [INFO] [stderr] | [INFO] [stderr] 2108 | let mut v = Vec::new(); [INFO] [stderr] | ^^^ use of undeclared type or module `Vec` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Vec` [INFO] [stderr] --> src/io.rs:2114:21 [INFO] [stderr] | [INFO] [stderr] 2114 | let mut v = Vec::new(); [INFO] [stderr] | ^^^ use of undeclared type or module `Vec` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `String` [INFO] [stderr] --> src/io.rs:2124:21 [INFO] [stderr] | [INFO] [stderr] 2124 | let mut v = String::new(); [INFO] [stderr] | ^^^^^^ use of undeclared type or module `String` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `String` [INFO] [stderr] --> src/io.rs:2129:21 [INFO] [stderr] | [INFO] [stderr] 2129 | let mut v = String::new(); [INFO] [stderr] | ^^^^^^ use of undeclared type or module `String` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `String` [INFO] [stderr] --> src/io.rs:2134:21 [INFO] [stderr] | [INFO] [stderr] 2134 | let mut v = String::new(); [INFO] [stderr] | ^^^^^^ use of undeclared type or module `String` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `io` [INFO] [stderr] --> src/io.rs:2144:20 [INFO] [stderr] | [INFO] [stderr] 2144 | io::ErrorKind::UnexpectedEof); [INFO] [stderr] | ^^ use of undeclared type or module `io` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `io` [INFO] [stderr] --> src/io.rs:2152:20 [INFO] [stderr] | [INFO] [stderr] 2152 | io::ErrorKind::UnexpectedEof); [INFO] [stderr] | ^^ use of undeclared type or module `io` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `io` [INFO] [stderr] --> src/io.rs:2161:20 [INFO] [stderr] | [INFO] [stderr] 2161 | io::ErrorKind::UnexpectedEof); [INFO] [stderr] | ^^ use of undeclared type or module `io` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `io` [INFO] [stderr] --> src/io.rs:2165:20 [INFO] [stderr] | [INFO] [stderr] 2165 | io::ErrorKind::UnexpectedEof); [INFO] [stderr] | ^^ use of undeclared type or module `io` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `io` [INFO] [stderr] --> src/io.rs:2184:49 [INFO] [stderr] | [INFO] [stderr] 2184 | fn read(&mut self, _: &mut [u8]) -> io::Result { [INFO] [stderr] | ^^ use of undeclared type or module `io` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `io` [INFO] [stderr] --> src/io.rs:2185:21 [INFO] [stderr] | [INFO] [stderr] 2185 | Err(io::Error::new(io::ErrorKind::Other, "")) [INFO] [stderr] | ^^ use of undeclared type or module `io` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `io` [INFO] [stderr] --> src/io.rs:2185:36 [INFO] [stderr] | [INFO] [stderr] 2185 | Err(io::Error::new(io::ErrorKind::Other, "")) [INFO] [stderr] | ^^ use of undeclared type or module `io` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `io` [INFO] [stderr] --> src/io.rs:2189:39 [INFO] [stderr] | [INFO] [stderr] 2189 | fn fill_buf(&mut self) -> io::Result<&[u8]> { [INFO] [stderr] | ^^ use of undeclared type or module `io` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `io` [INFO] [stderr] --> src/io.rs:2190:21 [INFO] [stderr] | [INFO] [stderr] 2190 | Err(io::Error::new(io::ErrorKind::Other, "")) [INFO] [stderr] | ^^ use of undeclared type or module `io` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `io` [INFO] [stderr] --> src/io.rs:2190:36 [INFO] [stderr] | [INFO] [stderr] 2190 | Err(io::Error::new(io::ErrorKind::Other, "")) [INFO] [stderr] | ^^ use of undeclared type or module `io` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Vec` [INFO] [stderr] --> src/io.rs:2201:23 [INFO] [stderr] | [INFO] [stderr] 2201 | let mut cat = Vec::new(); [INFO] [stderr] | ^^^ use of undeclared type or module `Vec` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `String` [INFO] [stderr] --> src/io.rs:2237:21 [INFO] [stderr] | [INFO] [stderr] 2237 | let mut s = String::new(); [INFO] [stderr] | ^^^^^^ use of undeclared type or module `String` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `test` [INFO] [stderr] --> src/io.rs:2246:34 [INFO] [stderr] | [INFO] [stderr] 2246 | fn bench_read_to_end(b: &mut test::Bencher) { [INFO] [stderr] | ^^^^ use of undeclared type or module `test` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Vec` [INFO] [stderr] --> src/io.rs:2249:27 [INFO] [stderr] | [INFO] [stderr] 2249 | let mut vec = Vec::with_capacity(1024); [INFO] [stderr] | ^^^ use of undeclared type or module `Vec` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Vec` in this scope [INFO] [stderr] --> src/io.rs:299:33 [INFO] [stderr] | [INFO] [stderr] 299 | struct Guard<'a> { buf: &'a mut Vec, len: usize } [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 262 | use alloc::prelude::v1::Vec; [INFO] [stderr] | [INFO] [stderr] 262 | use alloc::vec::Vec; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Vec` in this scope [INFO] [stderr] --> src/io.rs:326:26 [INFO] [stderr] | [INFO] [stderr] 326 | where F: FnOnce(&mut Vec) -> Result [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 262 | use alloc::prelude::v1::Vec; [INFO] [stderr] | [INFO] [stderr] 262 | use alloc::vec::Vec; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `String` in this scope [INFO] [stderr] --> src/io.rs:325:34 [INFO] [stderr] | [INFO] [stderr] 325 | fn append_to_string(buf: &mut String, f: F) -> Result [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 262 | use alloc::prelude::v1::String; [INFO] [stderr] | [INFO] [stderr] 262 | use alloc::string::String; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Vec` in this scope [INFO] [stderr] --> src/io.rs:352:55 [INFO] [stderr] | [INFO] [stderr] 352 | fn read_to_end(r: &mut R, buf: &mut Vec) -> Result { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 262 | use alloc::prelude::v1::Vec; [INFO] [stderr] | [INFO] [stderr] 262 | use alloc::vec::Vec; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Vec` in this scope [INFO] [stderr] --> src/io.rs:357:61 [INFO] [stderr] | [INFO] [stderr] 357 | buf: &mut Vec, [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 262 | use alloc::prelude::v1::Vec; [INFO] [stderr] | [INFO] [stderr] 262 | use alloc::vec::Vec; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Vec` in this scope [INFO] [stderr] --> src/io.rs:598:41 [INFO] [stderr] | [INFO] [stderr] 598 | fn read_to_end(&mut self, buf: &mut Vec) -> Result { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 262 | use alloc::prelude::v1::Vec; [INFO] [stderr] | [INFO] [stderr] 262 | use alloc::vec::Vec; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `String` in this scope [INFO] [stderr] --> src/io.rs:641:44 [INFO] [stderr] | [INFO] [stderr] 641 | fn read_to_string(&mut self, buf: &mut String) -> Result { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 262 | use alloc::prelude::v1::String; [INFO] [stderr] | [INFO] [stderr] 262 | use alloc::string::String; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Vec` in this scope [INFO] [stderr] --> src/io.rs:1242:68 [INFO] [stderr] | [INFO] [stderr] 1242 | fn read_until(r: &mut R, delim: u8, buf: &mut Vec) [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 262 | use alloc::prelude::v1::Vec; [INFO] [stderr] | [INFO] [stderr] 262 | use alloc::vec::Vec; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Vec` in this scope [INFO] [stderr] --> src/io.rs:1446:50 [INFO] [stderr] | [INFO] [stderr] 1446 | fn read_until(&mut self, byte: u8, buf: &mut Vec) -> Result { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 262 | use alloc::prelude::v1::Vec; [INFO] [stderr] | [INFO] [stderr] 262 | use alloc::vec::Vec; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `String` in this scope [INFO] [stderr] --> src/io.rs:1505:39 [INFO] [stderr] | [INFO] [stderr] 1505 | fn read_line(&mut self, buf: &mut String) -> Result { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 262 | use alloc::prelude::v1::String; [INFO] [stderr] | [INFO] [stderr] 262 | use alloc::string::String; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Vec` in this scope [INFO] [stderr] --> src/io.rs:1901:41 [INFO] [stderr] | [INFO] [stderr] 1901 | fn read_to_end(&mut self, buf: &mut Vec) -> Result { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 262 | use alloc::prelude::v1::Vec; [INFO] [stderr] | [INFO] [stderr] 262 | use alloc::vec::Vec; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Vec` in this scope [INFO] [stderr] --> src/io.rs:1974:24 [INFO] [stderr] | [INFO] [stderr] 1974 | type Item = Result>; [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 262 | use alloc::prelude::v1::Vec; [INFO] [stderr] | [INFO] [stderr] 262 | use alloc::vec::Vec; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Vec` in this scope [INFO] [stderr] --> src/io.rs:1976:41 [INFO] [stderr] | [INFO] [stderr] 1976 | fn next(&mut self) -> Option>> { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 262 | use alloc::prelude::v1::Vec; [INFO] [stderr] | [INFO] [stderr] 262 | use alloc::vec::Vec; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `String` in this scope [INFO] [stderr] --> src/io.rs:2005:24 [INFO] [stderr] | [INFO] [stderr] 2005 | type Item = Result; [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 262 | use alloc::prelude::v1::String; [INFO] [stderr] | [INFO] [stderr] 262 | use alloc::string::String; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `String` in this scope [INFO] [stderr] --> src/io.rs:2007:41 [INFO] [stderr] | [INFO] [stderr] 2007 | fn next(&mut self) -> Option> { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 262 | use alloc::prelude::v1::String; [INFO] [stderr] | [INFO] [stderr] 262 | use alloc::string::String; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Vec` in this scope [INFO] [stderr] --> src/io.rs:2113:62 [INFO] [stderr] | [INFO] [stderr] 2113 | let data = (0..cap).map(|i| (i / 3) as u8).collect::>(); [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 2027 | use alloc::prelude::v1::Vec; [INFO] [stderr] | [INFO] [stderr] 2027 | use alloc::vec::Vec; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `Read` in this scope [INFO] [stderr] --> src/io.rs:2183:14 [INFO] [stderr] | [INFO] [stderr] 2183 | impl Read for R { [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 2027 | use crate::io::Read; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `BufRead` in this scope [INFO] [stderr] --> src/io.rs:2188:14 [INFO] [stderr] | [INFO] [stderr] 2188 | impl BufRead for R { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 2027 | use crate::io::BufRead; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `BufRead` in this scope [INFO] [stderr] --> src/io.rs:2200:25 [INFO] [stderr] | [INFO] [stderr] 2200 | fn cmp_bufread(mut br1: Br1, mut br2: Br2, exp: &[u8]) { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 2027 | use crate::io::BufRead; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `BufRead` in this scope [INFO] [stderr] --> src/io.rs:2200:39 [INFO] [stderr] | [INFO] [stderr] 2200 | fn cmp_bufread(mut br1: Br1, mut br2: Br2, exp: &[u8]) { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 2027 | use crate::io::BufRead; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Vec` in this scope [INFO] [stderr] --> src/cursor.rs:255:43 [INFO] [stderr] | [INFO] [stderr] 255 | fn vec_write(pos_mut: &mut u64, vec: &mut Vec, buf: &[u8]) -> io::Result { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use alloc::prelude::v1::Vec; [INFO] [stderr] | [INFO] [stderr] 1 | use alloc::vec::Vec; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Vec` in this scope [INFO] [stderr] --> src/cursor.rs:291:35 [INFO] [stderr] | [INFO] [stderr] 291 | impl<'a> Write for Cursor<&'a mut Vec> { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use alloc::prelude::v1::Vec; [INFO] [stderr] | [INFO] [stderr] 1 | use alloc::vec::Vec; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Vec` in this scope [INFO] [stderr] --> src/cursor.rs:299:23 [INFO] [stderr] | [INFO] [stderr] 299 | impl Write for Cursor> { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use alloc::prelude::v1::Vec; [INFO] [stderr] | [INFO] [stderr] 1 | use alloc::vec::Vec; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Box` in this scope [INFO] [stderr] --> src/cursor.rs:307:23 [INFO] [stderr] | [INFO] [stderr] 307 | impl Write for Cursor> { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use alloc::boxed::Box; [INFO] [stderr] | [INFO] [stderr] 1 | use alloc::prelude::v1::Box; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Vec` in this scope [INFO] [stderr] --> src/impls.rs:24:41 [INFO] [stderr] | [INFO] [stderr] 24 | fn read_to_end(&mut self, buf: &mut Vec) -> io::Result { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use alloc::prelude::v1::Vec; [INFO] [stderr] | [INFO] [stderr] 1 | use alloc::vec::Vec; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `String` in this scope [INFO] [stderr] --> src/impls.rs:29:44 [INFO] [stderr] | [INFO] [stderr] 29 | fn read_to_string(&mut self, buf: &mut String) -> io::Result { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use alloc::prelude::v1::String; [INFO] [stderr] | [INFO] [stderr] 1 | use alloc::string::String; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Vec` in this scope [INFO] [stderr] --> src/impls.rs:70:50 [INFO] [stderr] | [INFO] [stderr] 70 | fn read_until(&mut self, byte: u8, buf: &mut Vec) -> io::Result { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use alloc::prelude::v1::Vec; [INFO] [stderr] | [INFO] [stderr] 1 | use alloc::vec::Vec; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `String` in this scope [INFO] [stderr] --> src/impls.rs:75:39 [INFO] [stderr] | [INFO] [stderr] 75 | fn read_line(&mut self, buf: &mut String) -> io::Result { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use alloc::prelude::v1::String; [INFO] [stderr] | [INFO] [stderr] 1 | use alloc::string::String; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Box` in this scope [INFO] [stderr] --> src/impls.rs:81:33 [INFO] [stderr] | [INFO] [stderr] 81 | impl Read for Box { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use alloc::boxed::Box; [INFO] [stderr] | [INFO] [stderr] 1 | use alloc::prelude::v1::Box; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Vec` in this scope [INFO] [stderr] --> src/impls.rs:93:41 [INFO] [stderr] | [INFO] [stderr] 93 | fn read_to_end(&mut self, buf: &mut Vec) -> io::Result { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use alloc::prelude::v1::Vec; [INFO] [stderr] | [INFO] [stderr] 1 | use alloc::vec::Vec; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `String` in this scope [INFO] [stderr] --> src/impls.rs:98:44 [INFO] [stderr] | [INFO] [stderr] 98 | fn read_to_string(&mut self, buf: &mut String) -> io::Result { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use alloc::prelude::v1::String; [INFO] [stderr] | [INFO] [stderr] 1 | use alloc::string::String; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Box` in this scope [INFO] [stderr] --> src/impls.rs:108:35 [INFO] [stderr] | [INFO] [stderr] 108 | impl Write for Box { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use alloc::boxed::Box; [INFO] [stderr] | [INFO] [stderr] 1 | use alloc::prelude::v1::Box; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Box` in this scope [INFO] [stderr] --> src/impls.rs:126:33 [INFO] [stderr] | [INFO] [stderr] 126 | impl Seek for Box { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use alloc::boxed::Box; [INFO] [stderr] | [INFO] [stderr] 1 | use alloc::prelude::v1::Box; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Box` in this scope [INFO] [stderr] --> src/impls.rs:131:39 [INFO] [stderr] | [INFO] [stderr] 131 | impl BufRead for Box { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use alloc::boxed::Box; [INFO] [stderr] | [INFO] [stderr] 1 | use alloc::prelude::v1::Box; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Vec` in this scope [INFO] [stderr] --> src/impls.rs:139:50 [INFO] [stderr] | [INFO] [stderr] 139 | fn read_until(&mut self, byte: u8, buf: &mut Vec) -> io::Result { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use alloc::prelude::v1::Vec; [INFO] [stderr] | [INFO] [stderr] 1 | use alloc::vec::Vec; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `String` in this scope [INFO] [stderr] --> src/impls.rs:144:39 [INFO] [stderr] | [INFO] [stderr] 144 | fn read_line(&mut self, buf: &mut String) -> io::Result { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use alloc::prelude::v1::String; [INFO] [stderr] | [INFO] [stderr] 1 | use alloc::string::String; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Vec` in this scope [INFO] [stderr] --> src/impls.rs:203:41 [INFO] [stderr] | [INFO] [stderr] 203 | fn read_to_end(&mut self, buf: &mut Vec) -> io::Result { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use alloc::prelude::v1::Vec; [INFO] [stderr] | [INFO] [stderr] 1 | use alloc::vec::Vec; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Vec` in this scope [INFO] [stderr] --> src/impls.rs:252:16 [INFO] [stderr] | [INFO] [stderr] 252 | impl Write for Vec { [INFO] [stderr] | ^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use alloc::prelude::v1::Vec; [INFO] [stderr] | [INFO] [stderr] 1 | use alloc::vec::Vec; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused import: `alloc::prelude::*` [INFO] [stderr] --> src/io.rs:262:5 [INFO] [stderr] | [INFO] [stderr] 262 | use alloc::prelude::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `io::prelude::*` [INFO] [stderr] --> src/io.rs:2027:9 [INFO] [stderr] | [INFO] [stderr] 2027 | use io::prelude::*; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `io` [INFO] [stderr] --> src/io.rs:2028:9 [INFO] [stderr] | [INFO] [stderr] 2028 | use io; [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `alloc::prelude::*` [INFO] [stderr] --> src/cursor.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use alloc::prelude::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `alloc::prelude::*` [INFO] [stderr] --> src/impls.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use alloc::prelude::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'alloc_prelude' [INFO] [stderr] --> src/io.rs:262:5 [INFO] [stderr] | [INFO] [stderr] 262 | use alloc::prelude::*; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/58935 [INFO] [stderr] = help: add `#![feature(alloc_prelude)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'alloc_prelude' [INFO] [stderr] --> src/cursor.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use alloc::prelude::*; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/58935 [INFO] [stderr] = help: add `#![feature(alloc_prelude)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'alloc_prelude' [INFO] [stderr] --> src/impls.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use alloc::prelude::*; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/58935 [INFO] [stderr] = help: add `#![feature(alloc_prelude)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error: aborting due to 74 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0405, E0412, E0432, E0433, E0658. [INFO] [stderr] For more information about an error, try `rustc --explain E0405`. [INFO] [stderr] error: Could not compile `zorio`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "44667f354b75d828d050f464131903667e784f612e9c476d190d40555fc36ab4"` [INFO] running `"docker" "rm" "-f" "44667f354b75d828d050f464131903667e784f612e9c476d190d40555fc36ab4"` [INFO] [stdout] 44667f354b75d828d050f464131903667e784f612e9c476d190d40555fc36ab4