[INFO] fetching crate utmp 0.0.2... [INFO] checking utmp-0.0.2 against master#339e19697a39a78f4d669c217b7d21109215de41 for pr-81213 [INFO] extracting crate utmp 0.0.2 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate utmp 0.0.2 on toolchain 339e19697a39a78f4d669c217b7d21109215de41 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+339e19697a39a78f4d669c217b7d21109215de41" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-0/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+339e19697a39a78f4d669c217b7d21109215de41" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+339e19697a39a78f4d669c217b7d21109215de41" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "rustops/crates-build-env@sha256:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+339e19697a39a78f4d669c217b7d21109215de41" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 06df62ff567d4d368e6982b4ba0c9af57978754122f01162fea8be2df26eeea0 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "06df62ff567d4d368e6982b4ba0c9af57978754122f01162fea8be2df26eeea0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "06df62ff567d4d368e6982b4ba0c9af57978754122f01162fea8be2df26eeea0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "06df62ff567d4d368e6982b4ba0c9af57978754122f01162fea8be2df26eeea0", kill_on_drop: false }` [INFO] [stdout] 06df62ff567d4d368e6982b4ba0c9af57978754122f01162fea8be2df26eeea0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+339e19697a39a78f4d669c217b7d21109215de41" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f6118a1e6d30bd3d662f08e2f906638639ee34db295503fcee37f44cff83aa7f [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "f6118a1e6d30bd3d662f08e2f906638639ee34db295503fcee37f44cff83aa7f", kill_on_drop: false }` [INFO] [stderr] Compiling const_fn v0.4.5 [INFO] [stderr] Compiling standback v0.2.14 [INFO] [stderr] Compiling time v0.2.24 [INFO] [stderr] Compiling syn v1.0.59 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Checking time-macros v0.1.1 [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] [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: cannot determine resolution for the derive macro `FromPrimitive` [INFO] [stdout] --> src/lib.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(FromPrimitive)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [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] | ^^^^ not found in this scope [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] [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: cannot determine resolution for the derive macro `FromPrimitive` [INFO] [stdout] --> src/lib.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(FromPrimitive)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [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] | ^^^^ not found in this scope [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[E0277]: the trait bound `UtmpxRecordType: Clone` is not satisfied [INFO] [stdout] --> src/lib.rs:23:6 [INFO] [stdout] | [INFO] [stdout] 23 | impl Copy for UtmpxRecordType { } [INFO] [stdout] | ^^^^ the trait `Clone` is not implemented for `UtmpxRecordType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [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` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [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:6 [INFO] [stdout] | [INFO] [stdout] 23 | impl Copy for UtmpxRecordType { } [INFO] [stdout] | ^^^^ the trait `Clone` is not implemented for `UtmpxRecordType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [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: build failed [INFO] running `Command { std: "docker" "inspect" "f6118a1e6d30bd3d662f08e2f906638639ee34db295503fcee37f44cff83aa7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f6118a1e6d30bd3d662f08e2f906638639ee34db295503fcee37f44cff83aa7f", kill_on_drop: false }` [INFO] [stdout] f6118a1e6d30bd3d662f08e2f906638639ee34db295503fcee37f44cff83aa7f