[INFO] fetching crate xyio 0.1.0... [INFO] testing xyio-0.1.0 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-2 [INFO] extracting crate xyio 0.1.0 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate xyio 0.1.0 [INFO] finished tweaking crates.io crate xyio 0.1.0 [INFO] tweaked toml for crates.io crate xyio 0.1.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate xyio 0.1.0 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 44 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6cfdfe13a0805bc1955619d073865358de5b1d559548eb84f34079fd9e22800e [INFO] running `Command { std: "docker" "start" "-a" "6cfdfe13a0805bc1955619d073865358de5b1d559548eb84f34079fd9e22800e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6cfdfe13a0805bc1955619d073865358de5b1d559548eb84f34079fd9e22800e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6cfdfe13a0805bc1955619d073865358de5b1d559548eb84f34079fd9e22800e", kill_on_drop: false }` [INFO] [stdout] 6cfdfe13a0805bc1955619d073865358de5b1d559548eb84f34079fd9e22800e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ef5e90f098c0964a3c1d5bc0dc42c7c05eda57f7a2ee54e09b17d77fef745111 [INFO] running `Command { std: "docker" "start" "-a" "ef5e90f098c0964a3c1d5bc0dc42c7c05eda57f7a2ee54e09b17d77fef745111", kill_on_drop: false }` [INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling find-msvc-tools v0.1.9 [INFO] [stderr] Compiling libc v0.2.185 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling cfg-if v1.0.4 [INFO] [stderr] Compiling num-conv v0.2.1 [INFO] [stderr] Compiling bitflags v2.11.1 [INFO] [stderr] Compiling unicode-width v0.2.2 [INFO] [stderr] Compiling iana-time-zone v0.1.65 [INFO] [stderr] Compiling time-core v0.1.8 [INFO] [stderr] Compiling log v0.4.29 [INFO] [stderr] Compiling nix v0.31.2 [INFO] [stderr] Compiling getopts v0.2.24 [INFO] [stderr] Compiling deranged v0.5.8 [INFO] [stderr] Compiling cc v1.2.60 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling http-muncher v0.3.2 [INFO] [stderr] Compiling time v0.3.47 [INFO] [stderr] Compiling chrono v0.4.44 [INFO] [stderr] Compiling xyio v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved imports `log::LogRecord`, `log::LogLevel`, `log::LogMetadata` [INFO] [stdout] --> src/xyio/logging.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | use log::{LogRecord, LogLevel, LogMetadata, SetLoggerError}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^ no `LogMetadata` in the root [INFO] [stdout] | | | [INFO] [stdout] | | no `LogLevel` in the root [INFO] [stdout] | no `LogRecord` in the root [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 5 - use log::{LogRecord, LogLevel, LogMetadata, SetLoggerError}; [INFO] [stdout] 5 + use log::{Record, LogLevel, LogMetadata, SetLoggerError}; [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 5 - use log::{LogRecord, LogLevel, LogMetadata, SetLoggerError}; [INFO] [stdout] 5 + use log::{LogRecord, LogLevel, Metadata, SetLoggerError}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `target` [INFO] [stdout] --> src/xyio/sys/mod.rs:1:7 [INFO] [stdout] | [INFO] [stdout] 1 | #[cfg(target = "linux")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target, values("linux"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target, values(\"linux\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `target` [INFO] [stdout] --> src/xyio/sys/mod.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | #[cfg(target = "osx")] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target, values("osx"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target, values(\"osx\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `flush` [INFO] [stdout] --> src/xyio/logging.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | impl log::Log for Logger { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ missing `flush` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn flush(&self) { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0046, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0046`. [INFO] [stdout] [INFO] [stderr] error: could not compile `xyio` (lib) due to 2 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "ef5e90f098c0964a3c1d5bc0dc42c7c05eda57f7a2ee54e09b17d77fef745111", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef5e90f098c0964a3c1d5bc0dc42c7c05eda57f7a2ee54e09b17d77fef745111", kill_on_drop: false }` [INFO] [stdout] ef5e90f098c0964a3c1d5bc0dc42c7c05eda57f7a2ee54e09b17d77fef745111