[INFO] fetching crate chars_input 0.2.2... [INFO] checking chars_input-0.2.2 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate chars_input 0.2.2 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate chars_input 0.2.2 [INFO] finished tweaking crates.io crate chars_input 0.2.2 [INFO] tweaked toml for crates.io crate chars_input 0.2.2 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate chars_input 0.2.2 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2366978ec09ed191de95f4c58eca4f44471953b9900609ed34da7674f2f8ebc9 [INFO] running `Command { std: "docker" "start" "-a" "2366978ec09ed191de95f4c58eca4f44471953b9900609ed34da7674f2f8ebc9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2366978ec09ed191de95f4c58eca4f44471953b9900609ed34da7674f2f8ebc9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2366978ec09ed191de95f4c58eca4f44471953b9900609ed34da7674f2f8ebc9", kill_on_drop: false }` [INFO] [stdout] 2366978ec09ed191de95f4c58eca4f44471953b9900609ed34da7674f2f8ebc9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a3eecd1615ffc64ede5d1436641ba6d2d35fd584815e3e692aefe10c4f09bbc0 [INFO] running `Command { std: "docker" "start" "-a" "a3eecd1615ffc64ede5d1436641ba6d2d35fd584815e3e692aefe10c4f09bbc0", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking chars_input v0.2.2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0412]: cannot find type `Chars` in module `io` [INFO] [stdout] --> src/chars.rs:140:20 [INFO] [stdout] | [INFO] [stdout] 140 | chars: io::Chars, [INFO] [stdout] | ^^^^^ not found in `io` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 118 + use Chars; [INFO] [stdout] | [INFO] [stdout] 118 + use alloc::str::Chars; [INFO] [stdout] | [INFO] [stdout] help: if you import `Chars`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 140 - chars: io::Chars, [INFO] [stdout] 140 + chars: Chars, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::__std::*` [INFO] [stdout] --> src/chars.rs:172:9 [INFO] [stdout] | [INFO] [stdout] 172 | pub use self::__std::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `alloc` has been stable since 1.36.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(alloc)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `io` [INFO] [stdout] --> src/lib.rs:2:38 [INFO] [stdout] | [INFO] [stdout] 2 | #![cfg_attr(feature = "std", feature(io))] [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Chars` in module `io` [INFO] [stdout] --> src/chars.rs:140:20 [INFO] [stdout] | [INFO] [stdout] 140 | chars: io::Chars, [INFO] [stdout] | ^^^^^ not found in `io` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 118 + use Chars; [INFO] [stdout] | [INFO] [stdout] 118 + use alloc::str::Chars; [INFO] [stdout] | [INFO] [stdout] help: if you import `Chars`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 140 - chars: io::Chars, [INFO] [stdout] 140 + chars: Chars, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::__std::*` [INFO] [stdout] --> src/chars.rs:172:9 [INFO] [stdout] | [INFO] [stdout] 172 | pub use self::__std::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `alloc` has been stable since 1.36.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(alloc)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `io` [INFO] [stdout] --> src/lib.rs:2:38 [INFO] [stdout] | [INFO] [stdout] 2 | #![cfg_attr(feature = "std", feature(io))] [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/input.rs:162:45 [INFO] [stdout] | [INFO] [stdout] 162 | fn trait_object_read_offset(input: &mut Input, state: &mut State, offset: usize) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 162 | fn trait_object_read_offset(input: &mut dyn Input, state: &mut State, offset: usize) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/input.rs:166:44 [INFO] [stdout] | [INFO] [stdout] 166 | fn trait_object_read_lines(input: &mut Input, state: &mut State) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 166 | fn trait_object_read_lines(input: &mut dyn Input, state: &mut State) -> usize { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `chars` found for type parameter `R` in the current scope [INFO] [stdout] --> src/chars.rs:150:31 [INFO] [stdout] | [INFO] [stdout] 143 | impl From for CharsRead [INFO] [stdout] | - method `chars` not found for this type parameter [INFO] [stdout] ... [INFO] [stdout] 150 | chars: reader.chars(), [INFO] [stdout] | ^^^^^ method not found in `R` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `chars` found for type parameter `R` in the current scope [INFO] [stdout] --> src/chars.rs:150:31 [INFO] [stdout] | [INFO] [stdout] 143 | impl From for CharsRead [INFO] [stdout] | - method `chars` not found for this type parameter [INFO] [stdout] ... [INFO] [stdout] 150 | chars: reader.chars(), [INFO] [stdout] | ^^^^^ method not found in `R` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0599, E0635. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0599, E0635. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `chars_input` (lib) due to 3 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `chars_input` (lib test) due to 3 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "a3eecd1615ffc64ede5d1436641ba6d2d35fd584815e3e692aefe10c4f09bbc0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a3eecd1615ffc64ede5d1436641ba6d2d35fd584815e3e692aefe10c4f09bbc0", kill_on_drop: false }` [INFO] [stdout] a3eecd1615ffc64ede5d1436641ba6d2d35fd584815e3e692aefe10c4f09bbc0