[INFO] fetching crate utmp 0.0.2... [INFO] checking utmp-0.0.2 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate utmp 0.0.2 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate utmp 0.0.2 [INFO] finished tweaking crates.io crate utmp 0.0.2 [INFO] tweaked toml for crates.io crate utmp 0.0.2 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate utmp 0.0.2 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a151e42646929aa63d3a9635b0f4c0ebda32f7d7b019a8b2d52316e1e573228a [INFO] running `Command { std: "docker" "start" "-a" "a151e42646929aa63d3a9635b0f4c0ebda32f7d7b019a8b2d52316e1e573228a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a151e42646929aa63d3a9635b0f4c0ebda32f7d7b019a8b2d52316e1e573228a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a151e42646929aa63d3a9635b0f4c0ebda32f7d7b019a8b2d52316e1e573228a", kill_on_drop: false }` [INFO] [stdout] a151e42646929aa63d3a9635b0f4c0ebda32f7d7b019a8b2d52316e1e573228a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b0b44b30b59182d3c114b71f119e0919e34020f757a5719549d37370650f1a37 [INFO] running `Command { std: "docker" "start" "-a" "b0b44b30b59182d3c114b71f119e0919e34020f757a5719549d37370650f1a37", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking deranged v0.5.3 [INFO] [stderr] Checking time-core v0.1.6 [INFO] [stderr] Checking time v0.3.43 [INFO] [stderr] Checking utmp v0.0.2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `time::Timespec` [INFO] [stdout] --> src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use time::Timespec; [INFO] [stdout] | ^^^^^^^^^^^^^^ no `Timespec` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `std::io::File`, `std::io::SeekStyle` [INFO] [stdout] --> src/lib.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::{File, SeekStyle}; [INFO] [stdout] | ^^^^ ^^^^^^^^^ no `SeekStyle` in `io` [INFO] [stdout] | | [INFO] [stdout] | no `File` in `io` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] std::fs::File [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::num::FromPrimitive` [INFO] [stdout] --> src/lib.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::num::FromPrimitive; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ no `FromPrimitive` in `num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/lib.rs:36:16 [INFO] [stdout] | [INFO] [stdout] 36 | let path = Path::new("/var/run/utmpx"); [INFO] [stdout] | ^^^^ use of undeclared type `Path` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `time::Timespec` [INFO] [stdout] --> src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use time::Timespec; [INFO] [stdout] | ^^^^^^^^^^^^^^ no `Timespec` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `std::io::File`, `std::io::SeekStyle` [INFO] [stdout] --> src/lib.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::{File, SeekStyle}; [INFO] [stdout] | ^^^^ ^^^^^^^^^ no `SeekStyle` in `io` [INFO] [stdout] | | [INFO] [stdout] | no `File` in `io` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] std::fs::File [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::num::FromPrimitive` [INFO] [stdout] --> src/lib.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::num::FromPrimitive; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ no `FromPrimitive` in `num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `UtmpxRecordType: Clone` is not satisfied [INFO] [stdout] --> src/lib.rs:23:15 [INFO] [stdout] | [INFO] [stdout] 23 | impl Copy for UtmpxRecordType { } [INFO] [stdout] | ^^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `UtmpxRecordType` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Copy` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/marker.rs:465:1 [INFO] [stdout] help: consider annotating `UtmpxRecordType` with `#[derive(Clone)]` [INFO] [stdout] | [INFO] [stdout] 8 + #[derive(Clone)] [INFO] [stdout] 9 | pub enum UtmpxRecordType { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/lib.rs:36:16 [INFO] [stdout] | [INFO] [stdout] 36 | let path = Path::new("/var/run/utmpx"); [INFO] [stdout] | ^^^^ use of undeclared type `Path` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `utmp` (lib) due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0277]: the trait bound `UtmpxRecordType: Clone` is not satisfied [INFO] [stdout] --> src/lib.rs:23:15 [INFO] [stdout] | [INFO] [stdout] 23 | impl Copy for UtmpxRecordType { } [INFO] [stdout] | ^^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `UtmpxRecordType` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Copy` [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/marker.rs:465:1 [INFO] [stdout] help: consider annotating `UtmpxRecordType` with `#[derive(Clone)]` [INFO] [stdout] | [INFO] [stdout] 8 + #[derive(Clone)] [INFO] [stdout] 9 | pub enum UtmpxRecordType { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `utmp` (lib test) due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "b0b44b30b59182d3c114b71f119e0919e34020f757a5719549d37370650f1a37", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b0b44b30b59182d3c114b71f119e0919e34020f757a5719549d37370650f1a37", kill_on_drop: false }` [INFO] [stdout] b0b44b30b59182d3c114b71f119e0919e34020f757a5719549d37370650f1a37