[INFO] fetching crate lastlog 0.2.3... [INFO] testing lastlog-0.2.3 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate lastlog 0.2.3 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate lastlog 0.2.3 [INFO] finished tweaking crates.io crate lastlog 0.2.3 [INFO] tweaked toml for crates.io crate lastlog 0.2.3 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate lastlog 0.2.3 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 59 packages to latest compatible versions [INFO] [stderr] Adding cached v0.40.0 (available: v0.56.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5ec0d9d8e62e41b9579cdf30f186b5908a8a1810974f14391d8b332932395318 [INFO] running `Command { std: "docker" "start" "-a" "5ec0d9d8e62e41b9579cdf30f186b5908a8a1810974f14391d8b332932395318", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5ec0d9d8e62e41b9579cdf30f186b5908a8a1810974f14391d8b332932395318", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ec0d9d8e62e41b9579cdf30f186b5908a8a1810974f14391d8b332932395318", kill_on_drop: false }` [INFO] [stdout] 5ec0d9d8e62e41b9579cdf30f186b5908a8a1810974f14391d8b332932395318 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] abc2f6fff6e55b0cdbeea4dbc0a771ebce65c8fe7faed0a6da80afe4b5e0b3af [INFO] running `Command { std: "docker" "start" "-a" "abc2f6fff6e55b0cdbeea4dbc0a771ebce65c8fe7faed0a6da80afe4b5e0b3af", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling cached_proc_macro_types v0.1.1 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling async_once v0.2.6 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Compiling cached_proc_macro v0.15.0 [INFO] [stderr] Compiling cached v0.40.0 [INFO] [stderr] Compiling lastlog v0.2.3 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.76s [INFO] running `Command { std: "docker" "inspect" "abc2f6fff6e55b0cdbeea4dbc0a771ebce65c8fe7faed0a6da80afe4b5e0b3af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "abc2f6fff6e55b0cdbeea4dbc0a771ebce65c8fe7faed0a6da80afe4b5e0b3af", kill_on_drop: false }` [INFO] [stdout] abc2f6fff6e55b0cdbeea4dbc0a771ebce65c8fe7faed0a6da80afe4b5e0b3af [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cb428736711b764b66e78ba85fdefb1f8588b4444b384692ec3e80d7f61dc6ce [INFO] running `Command { std: "docker" "start" "-a" "cb428736711b764b66e78ba85fdefb1f8588b4444b384692ec3e80d7f61dc6ce", kill_on_drop: false }` [INFO] [stderr] Compiling lastlog v0.2.3 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.37s [INFO] running `Command { std: "docker" "inspect" "cb428736711b764b66e78ba85fdefb1f8588b4444b384692ec3e80d7f61dc6ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb428736711b764b66e78ba85fdefb1f8588b4444b384692ec3e80d7f61dc6ce", kill_on_drop: false }` [INFO] [stdout] cb428736711b764b66e78ba85fdefb1f8588b4444b384692ec3e80d7f61dc6ce [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 3179b783a49ec931010724ca831556e7a914e202a7d1a7ba749fd3b2980027db [INFO] running `Command { std: "docker" "start" "-a" "3179b783a49ec931010724ca831556e7a914e202a7d1a7ba749fd3b2980027db", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/lastlog-bc4ccef9421e3fbf) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests lastlog [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test src/lib.rs - (line 6) - compile ... ok [INFO] [stdout] test src/lib.rs - iter_accounts (line 80) ... FAILED [INFO] [stdout] test src/utmp.rs - utmp::Utmp (line 128) ... FAILED [INFO] [stdout] test src/lib.rs - search_uid (line 100) ... FAILED [INFO] [stdout] test src/lib.rs - search_username (line 117) ... FAILED [INFO] [stdout] test src/lastlog.rs - lastlog::LastLog (line 53) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - iter_accounts (line 80) stdout ---- [INFO] [stdout] error: expected `;`, found keyword `for` [INFO] [stdout] --> src/lib.rs:81:40 [INFO] [stdout] | [INFO] [stdout] 3 | let accounts = iter_accounts().unwrap() [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 4 | for account in accounts.iter() { [INFO] [stdout] | --- unexpected token [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `iter_accounts` in this scope [INFO] [stdout] --> src/lib.rs:81:16 [INFO] [stdout] | [INFO] [stdout] 3 | let accounts = iter_accounts().unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use lastlog::iter_accounts; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/utmp.rs - utmp::Utmp (line 128) stdout ---- [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Utmp` in this scope [INFO] [stdout] --> src/utmp.rs:129:14 [INFO] [stdout] | [INFO] [stdout] 3 | let utmp = Utmp {}; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use lastlog::Utmp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0422`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - search_uid (line 100) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `search_uid` in this scope [INFO] [stdout] --> src/lib.rs:101:14 [INFO] [stdout] | [INFO] [stdout] 3 | let record = search_uid(1000); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use lastlog::search_uid; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - search_username (line 117) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `search_username` in this scope [INFO] [stdout] --> src/lib.rs:118:14 [INFO] [stdout] | [INFO] [stdout] 3 | let record = search_username("foo"); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use lastlog::search_username; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lastlog.rs - lastlog::LastLog (line 53) stdout ---- [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `LastLog` in this scope [INFO] [stdout] --> src/lastlog.rs:55:14 [INFO] [stdout] | [INFO] [stdout] 5 | let llog = LastLog {}; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use lastlog::LastLog; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0422`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lastlog.rs - lastlog::LastLog (line 53) [INFO] [stdout] src/lib.rs - iter_accounts (line 80) [INFO] [stdout] src/lib.rs - search_uid (line 100) [INFO] [stdout] src/lib.rs - search_username (line 117) [INFO] [stdout] src/utmp.rs - utmp::Utmp (line 128) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 1 passed; 5 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.23s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "3179b783a49ec931010724ca831556e7a914e202a7d1a7ba749fd3b2980027db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3179b783a49ec931010724ca831556e7a914e202a7d1a7ba749fd3b2980027db", kill_on_drop: false }` [INFO] [stdout] 3179b783a49ec931010724ca831556e7a914e202a7d1a7ba749fd3b2980027db