[INFO] fetching crate drug-extraction-core 0.1.2... [INFO] testing drug-extraction-core-0.1.2 against beta-2025-09-21 for beta-1.91-3 [INFO] extracting crate drug-extraction-core 0.1.2 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate drug-extraction-core 0.1.2 [INFO] finished tweaking crates.io crate drug-extraction-core 0.1.2 [INFO] tweaked toml for crates.io crate drug-extraction-core 0.1.2 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate drug-extraction-core 0.1.2 on toolchain beta-2025-09-21 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "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" "+beta-2025-09-21" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 40 packages to latest compatible versions [INFO] [stderr] Adding itertools v0.10.5 (available: v0.14.0) [INFO] [stderr] Adding strsim v0.10.0 (available: v0.11.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+beta-2025-09-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dbe9582c9bfdbf9af105ee6e626f6002564d80e6d651c36bf997d0a72a80e7af [INFO] running `Command { std: "docker" "start" "-a" "dbe9582c9bfdbf9af105ee6e626f6002564d80e6d651c36bf997d0a72a80e7af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dbe9582c9bfdbf9af105ee6e626f6002564d80e6d651c36bf997d0a72a80e7af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dbe9582c9bfdbf9af105ee6e626f6002564d80e6d651c36bf997d0a72a80e7af", kill_on_drop: false }` [INFO] [stdout] dbe9582c9bfdbf9af105ee6e626f6002564d80e6d651c36bf997d0a72a80e7af [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+beta-2025-09-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 12e537d0b49edf32ef7dd3e666f0527a9ed64784d74e7af16721cb76dc7db9fa [INFO] running `Command { std: "docker" "start" "-a" "12e537d0b49edf32ef7dd3e666f0527a9ed64784d74e7af16721cb76dc7db9fa", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling csv-core v0.1.12 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling csv v1.3.1 [INFO] [stderr] Compiling drug-extraction-core v0.1.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.65s [INFO] running `Command { std: "docker" "inspect" "12e537d0b49edf32ef7dd3e666f0527a9ed64784d74e7af16721cb76dc7db9fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "12e537d0b49edf32ef7dd3e666f0527a9ed64784d74e7af16721cb76dc7db9fa", kill_on_drop: false }` [INFO] [stdout] 12e537d0b49edf32ef7dd3e666f0527a9ed64784d74e7af16721cb76dc7db9fa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+beta-2025-09-21" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a39a36b48bee84d1923b00408707753997395dd3adda545bcef2e75af99da444 [INFO] running `Command { std: "docker" "start" "-a" "a39a36b48bee84d1923b00408707753997395dd3adda545bcef2e75af99da444", kill_on_drop: false }` [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.104 [INFO] [stderr] Compiling bumpalo v3.19.0 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling wasm-bindgen v0.2.104 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.104 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling wasm-bindgen-test-macro v0.3.54 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.104 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.104 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling js-sys v0.3.81 [INFO] [stderr] Compiling csv v1.3.1 [INFO] [stderr] Compiling drug-extraction-core v0.1.2 (/opt/rustwide/workdir) [INFO] [stderr] Compiling wasm-bindgen-futures v0.4.54 [INFO] [stderr] Compiling wasm-bindgen-test v0.3.54 [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 15.40s [INFO] running `Command { std: "docker" "inspect" "a39a36b48bee84d1923b00408707753997395dd3adda545bcef2e75af99da444", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a39a36b48bee84d1923b00408707753997395dd3adda545bcef2e75af99da444", kill_on_drop: false }` [INFO] [stdout] a39a36b48bee84d1923b00408707753997395dd3adda545bcef2e75af99da444 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+beta-2025-09-21" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b70d57f06b371dcc1df7b1d6ec4a9f2f1c870c9cd7770738d65ebf8e144d908a [INFO] running `Command { std: "docker" "start" "-a" "b70d57f06b371dcc1df7b1d6ec4a9f2f1c870c9cd7770738d65ebf8e144d908a", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/drug_extraction_core-57bd6763c5d42236) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test tests::test_parens ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Doc-tests drug_extraction_core [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/lib.rs - SimpleSearch::scan (line 326) ... FAILED [INFO] [stdout] test src/lib.rs - DrugSearch::scan (line 485) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - SimpleSearch::scan (line 326) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SimpleSearch` [INFO] [stdout] --> src/lib.rs:327:14 [INFO] [stdout] | [INFO] [stdout] 3 | let search = SimpleSearch::new(Algorithm::Levenshtein, levenshtein, None, None, &["hello", "world"]); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `SimpleSearch` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use drug_extraction_core::SimpleSearch; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Algorithm` [INFO] [stdout] --> src/lib.rs:327:32 [INFO] [stdout] | [INFO] [stdout] 3 | let search = SimpleSearch::new(Algorithm::Levenshtein, levenshtein, None, None, &["hello", "world"]); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Algorithm` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use drug_extraction_core::Algorithm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `levenshtein` in this scope [INFO] [stdout] --> src/lib.rs:327:56 [INFO] [stdout] | [INFO] [stdout] 3 | let search = SimpleSearch::new(Algorithm::Levenshtein, levenshtein, None, None, &["hello", "world"]); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use strsim::levenshtein; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - DrugSearch::scan (line 485) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DrugSearch` [INFO] [stdout] --> src/lib.rs:486:14 [INFO] [stdout] | [INFO] [stdout] 3 | let search = DrugSearch::new(Algorithm::Levenshtein, levenshtein, None, None, &["hello", "world"]); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `DrugSearch` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use drug_extraction_core::DrugSearch; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Algorithm` [INFO] [stdout] --> src/lib.rs:486:30 [INFO] [stdout] | [INFO] [stdout] 3 | let search = DrugSearch::new(Algorithm::Levenshtein, levenshtein, None, None, &["hello", "world"]); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Algorithm` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use drug_extraction_core::Algorithm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `levenshtein` in this scope [INFO] [stdout] --> src/lib.rs:486:54 [INFO] [stdout] | [INFO] [stdout] 3 | let search = DrugSearch::new(Algorithm::Levenshtein, levenshtein, None, None, &["hello", "world"]); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use strsim::levenshtein; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - DrugSearch::scan (line 485) [INFO] [stdout] src/lib.rs - SimpleSearch::scan (line 326) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.17s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "b70d57f06b371dcc1df7b1d6ec4a9f2f1c870c9cd7770738d65ebf8e144d908a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b70d57f06b371dcc1df7b1d6ec4a9f2f1c870c9cd7770738d65ebf8e144d908a", kill_on_drop: false }` [INFO] [stdout] b70d57f06b371dcc1df7b1d6ec4a9f2f1c870c9cd7770738d65ebf8e144d908a