[INFO] fetching crate looneygrep 0.1.0... [INFO] testing looneygrep-0.1.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate looneygrep 0.1.0 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate looneygrep 0.1.0 [INFO] finished tweaking crates.io crate looneygrep 0.1.0 [INFO] tweaked toml for crates.io crate looneygrep 0.1.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate looneygrep 0.1.0 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate looneygrep 0.1.0 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5958e58bbaaf2fb762a0b16544fd15cd79dd042f28c0418098712b87caada922 [INFO] running `Command { std: "docker" "start" "-a" "5958e58bbaaf2fb762a0b16544fd15cd79dd042f28c0418098712b87caada922", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5958e58bbaaf2fb762a0b16544fd15cd79dd042f28c0418098712b87caada922", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5958e58bbaaf2fb762a0b16544fd15cd79dd042f28c0418098712b87caada922", kill_on_drop: false }` [INFO] [stdout] 5958e58bbaaf2fb762a0b16544fd15cd79dd042f28c0418098712b87caada922 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7449e1b880f347b6e5f3d67194d575df742fb1f906575493afa5d45c43671e37 [INFO] running `Command { std: "docker" "start" "-a" "7449e1b880f347b6e5f3d67194d575df742fb1f906575493afa5d45c43671e37", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling cc v1.2.25 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling hashbrown v0.15.3 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling adler2 v2.0.0 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling miniz_oxide v0.8.8 [INFO] [stderr] Compiling quick-xml v0.32.0 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling onig_sys v69.9.1 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling plist v1.7.1 [INFO] [stderr] Compiling flate2 v1.1.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling onig v6.5.1 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling syntect v5.2.0 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling looneygrep v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 26s [INFO] running `Command { std: "docker" "inspect" "7449e1b880f347b6e5f3d67194d575df742fb1f906575493afa5d45c43671e37", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7449e1b880f347b6e5f3d67194d575df742fb1f906575493afa5d45c43671e37", kill_on_drop: false }` [INFO] [stdout] 7449e1b880f347b6e5f3d67194d575df742fb1f906575493afa5d45c43671e37 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 980c102cd2550e620399b62b85f036b614dc9d8bb8ffb9b577dc038a8cbf0779 [INFO] running `Command { std: "docker" "start" "-a" "980c102cd2550e620399b62b85f036b614dc9d8bb8ffb9b577dc038a8cbf0779", kill_on_drop: false }` [INFO] [stderr] Compiling looneygrep v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.56s [INFO] running `Command { std: "docker" "inspect" "980c102cd2550e620399b62b85f036b614dc9d8bb8ffb9b577dc038a8cbf0779", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "980c102cd2550e620399b62b85f036b614dc9d8bb8ffb9b577dc038a8cbf0779", kill_on_drop: false }` [INFO] [stdout] 980c102cd2550e620399b62b85f036b614dc9d8bb8ffb9b577dc038a8cbf0779 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 2749de13bd35cb53ef93ddca22985e7d8f1a6e4303ce467ff5180937a76d911a [INFO] running `Command { std: "docker" "start" "-a" "2749de13bd35cb53ef93ddca22985e7d8f1a6e4303ce467ff5180937a76d911a", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.17s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/looneygrep-4f420a28fd51d397) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test tests::test_context_lines ... ok [INFO] [stdout] test tests::test_file_type_note ... ok [INFO] [stdout] test tests::test_replace_all_matches ... ok [INFO] [stdout] test tests::test_highlight_all_matches ... ok [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/lg-73d1cb2733c2e1a2) [INFO] [stdout] test tests::test_syntax_highlight_line ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.13s [INFO] [stdout] [INFO] [stderr] Doc-tests looneygrep [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] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test src/lib.rs - run (line 131) ... FAILED [INFO] [stdout] test src/lib.rs - (line 9) ... FAILED [INFO] [stdout] test src/lib.rs - Config::build (line 83) ... FAILED [INFO] [stdout] test src/lib.rs - search (line 386) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - run (line 131) stdout ---- [INFO] [stdout] error[E0063]: missing fields `context`, `file_path`, `ignore_case` and 4 other fields in initializer of `Config` [INFO] [stdout] --> src/lib.rs:134:14 [INFO] [stdout] | [INFO] [stdout] 6 | let config = Config { /* ... */ }; [INFO] [stdout] | ^^^^^^ missing `context`, `file_path`, `ignore_case` and 4 other fields [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0063`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 9) stdout ---- [INFO] [stdout] error[E0063]: missing fields `context`, `replace`, `search_all` and 1 other field in initializer of `Config` [INFO] [stdout] --> src/lib.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 6 | let config = Config { [INFO] [stdout] | ^^^^^^ missing `context`, `replace`, `search_all` and 1 other field [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0063`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Config::build (line 83) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Config` [INFO] [stdout] --> src/lib.rs:84:14 [INFO] [stdout] | [INFO] [stdout] 3 | let config = Config::build(std::env::args())?; [INFO] [stdout] | ^^^^^^ use of undeclared type `Config` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use looneygrep::Config; [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 E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - search (line 386) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `search` in this scope [INFO] [stdout] --> src/lib.rs:388:15 [INFO] [stdout] | [INFO] [stdout] 4 | let matches = search(lines.iter(), |line| line.contains("ba")); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use looneygrep::search; [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 - (line 9) [INFO] [stdout] src/lib.rs - Config::build (line 83) [INFO] [stdout] src/lib.rs - run (line 131) [INFO] [stdout] src/lib.rs - search (line 386) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.34s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "2749de13bd35cb53ef93ddca22985e7d8f1a6e4303ce467ff5180937a76d911a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2749de13bd35cb53ef93ddca22985e7d8f1a6e4303ce467ff5180937a76d911a", kill_on_drop: false }` [INFO] [stdout] 2749de13bd35cb53ef93ddca22985e7d8f1a6e4303ce467ff5180937a76d911a