[INFO] fetching crate lib_utils 0.1.4... [INFO] testing lib_utils-0.1.4 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-1 [INFO] extracting crate lib_utils 0.1.4 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate lib_utils 0.1.4 [INFO] finished tweaking crates.io crate lib_utils 0.1.4 [INFO] tweaked toml for crates.io crate lib_utils 0.1.4 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate lib_utils 0.1.4 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] crate crates.io crate lib_utils 0.1.4 already has a lockfile, it will not be regenerated [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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ae08699b4c2e45338a2a6677f2e740c51265832b14ec58e0719aa0934501af0a [INFO] running `Command { std: "docker" "start" "-a" "ae08699b4c2e45338a2a6677f2e740c51265832b14ec58e0719aa0934501af0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ae08699b4c2e45338a2a6677f2e740c51265832b14ec58e0719aa0934501af0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae08699b4c2e45338a2a6677f2e740c51265832b14ec58e0719aa0934501af0a", kill_on_drop: false }` [INFO] [stdout] ae08699b4c2e45338a2a6677f2e740c51265832b14ec58e0719aa0934501af0a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0c52419c4e257c2140eb7e9c88eeb2a252f226ae1ea00fc97f8ca878eaa4fbbd [INFO] running `Command { std: "docker" "start" "-a" "0c52419c4e257c2140eb7e9c88eeb2a252f226ae1ea00fc97f8ca878eaa4fbbd", kill_on_drop: false }` [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling unicode-width v0.2.0 [INFO] [stderr] Compiling shell-words v1.1.0 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling console v0.15.11 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling dialoguer v0.11.0 [INFO] [stderr] Compiling lib_utils v0.1.4 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.90s [INFO] running `Command { std: "docker" "inspect" "0c52419c4e257c2140eb7e9c88eeb2a252f226ae1ea00fc97f8ca878eaa4fbbd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c52419c4e257c2140eb7e9c88eeb2a252f226ae1ea00fc97f8ca878eaa4fbbd", kill_on_drop: false }` [INFO] [stdout] 0c52419c4e257c2140eb7e9c88eeb2a252f226ae1ea00fc97f8ca878eaa4fbbd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f9d1eb2ee3fe98bb3c828c0b02d9afac1fa166c4de28fdccf54fd3ddb760bf6c [INFO] running `Command { std: "docker" "start" "-a" "f9d1eb2ee3fe98bb3c828c0b02d9afac1fa166c4de28fdccf54fd3ddb760bf6c", kill_on_drop: false }` [INFO] [stderr] Compiling lib_utils v0.1.4 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.50s [INFO] running `Command { std: "docker" "inspect" "f9d1eb2ee3fe98bb3c828c0b02d9afac1fa166c4de28fdccf54fd3ddb760bf6c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f9d1eb2ee3fe98bb3c828c0b02d9afac1fa166c4de28fdccf54fd3ddb760bf6c", kill_on_drop: false }` [INFO] [stdout] f9d1eb2ee3fe98bb3c828c0b02d9afac1fa166c4de28fdccf54fd3ddb760bf6c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 6357e7e0372a6ae3f5585783e045723cac55d9b8e8425235eda4403ba6d85665 [INFO] running `Command { std: "docker" "start" "-a" "6357e7e0372a6ae3f5585783e045723cac55d9b8e8425235eda4403ba6d85665", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/lib_utils-26ea8c3b1ad1ca4a) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/lib_utils-de4b69061411951e) [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [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 lib_utils [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test src/lib.rs - utilities::util_activity_menu (line 117) ... FAILED [INFO] [stdout] test src/lib.rs - utilities::util_activity_menu (line 122) ... FAILED [INFO] [stdout] test src/lib.rs - vec::vec_longest_str (line 353) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - utilities::util_activity_menu (line 117) stdout ---- [INFO] [stdout] error: expected item, found `[` [INFO] [stdout] --> src/lib.rs:118:1 [INFO] [stdout] | [INFO] [stdout] 1 | [dependencies] [INFO] [stdout] | ^ expected item [INFO] [stdout] | [INFO] [stdout] = note: for a full list of items that can appear in modules, see [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - utilities::util_activity_menu (line 122) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `util_activity_menu` in this scope [INFO] [stdout] --> src/lib.rs:129:18 [INFO] [stdout] | [INFO] [stdout] 8 | let choice = util_activity_menu(&opts, "This is a prompt. Use up and down arrows to select. Enter to confirm."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use lib_utils::utilities::util_activity_menu; [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 - vec::vec_longest_str (line 353) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `vec_longest_str` in this scope [INFO] [stdout] --> src/lib.rs:361:23 [INFO] [stdout] | [INFO] [stdout] 9 | let longest = vec_longest_str(&words); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use lib_utils::vec::vec_longest_str; [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] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - utilities::util_activity_menu (line 117) [INFO] [stdout] src/lib.rs - utilities::util_activity_menu (line 122) [INFO] [stdout] src/lib.rs - vec::vec_longest_str (line 353) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.26s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "6357e7e0372a6ae3f5585783e045723cac55d9b8e8425235eda4403ba6d85665", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6357e7e0372a6ae3f5585783e045723cac55d9b8e8425235eda4403ba6d85665", kill_on_drop: false }` [INFO] [stdout] 6357e7e0372a6ae3f5585783e045723cac55d9b8e8425235eda4403ba6d85665