[INFO] fetching crate drug-extraction-core 0.1.2...
[INFO] testing drug-extraction-core-0.1.2 against try#bd7d74411512a3dd3b35d2f699c51dd2557c7e7e+cargoflags=-Zbuild-dir-new-layout for pr-149852-1
[INFO] extracting crate drug-extraction-core 0.1.2 into /workspace/builds/worker-0-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-0-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate drug-extraction-core 0.1.2 on toolchain bd7d74411512a3dd3b35d2f699c51dd2557c7e7e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "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" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 53 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" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] d44f13ac35bdeee07080223275830ee3537be106d3702292c10359d1422c32e6
[INFO] running `Command { std: "docker" "start" "-a" "d44f13ac35bdeee07080223275830ee3537be106d3702292c10359d1422c32e6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d44f13ac35bdeee07080223275830ee3537be106d3702292c10359d1422c32e6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d44f13ac35bdeee07080223275830ee3537be106d3702292c10359d1422c32e6", kill_on_drop: false }`
[INFO] [stdout] d44f13ac35bdeee07080223275830ee3537be106d3702292c10359d1422c32e6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "build" "--frozen" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] 68d68f36fbab4d67f307276cd62e32d92815ebac3d799fbde3039f75e61acc10
[INFO] running `Command { std: "docker" "start" "-a" "68d68f36fbab4d67f307276cd62e32d92815ebac3d799fbde3039f75e61acc10", kill_on_drop: false }`
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling drug-extraction-core v0.1.2 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.73s
[INFO] running `Command { std: "docker" "inspect" "68d68f36fbab4d67f307276cd62e32d92815ebac3d799fbde3039f75e61acc10", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "68d68f36fbab4d67f307276cd62e32d92815ebac3d799fbde3039f75e61acc10", kill_on_drop: false }`
[INFO] [stdout] 68d68f36fbab4d67f307276cd62e32d92815ebac3d799fbde3039f75e61acc10
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "--no-run" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] fd100d045cbd2134bd5aae6c0f1e84be726634b12c9cc9d18c60d700c15aadaa
[INFO] running `Command { std: "docker" "start" "-a" "fd100d045cbd2134bd5aae6c0f1e84be726634b12c9cc9d18c60d700c15aadaa", kill_on_drop: false }`
[INFO] [stderr]    Compiling wasm-bindgen-shared v0.2.108
[INFO] [stderr]    Compiling bumpalo v3.19.1
[INFO] [stderr]    Compiling serde_json v1.0.149
[INFO] [stderr]    Compiling once_cell v1.21.3
[INFO] [stderr]    Compiling proc-macro2 v1.0.105
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling wasm-bindgen v0.2.108
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling csv v1.4.0
[INFO] [stderr]    Compiling nu-ansi-term v0.50.3
[INFO] [stderr]    Compiling wasm-bindgen-test-shared v0.2.108
[INFO] [stderr]    Compiling quote v1.0.43
[INFO] [stderr]    Compiling syn v2.0.114
[INFO] [stderr]    Compiling wasm-bindgen-macro-support v0.2.108
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling wasm-bindgen-test-macro v0.3.58
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]    Compiling wasm-bindgen-macro v0.2.108
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling drug-extraction-core v0.1.2 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling js-sys v0.3.85
[INFO] [stderr]    Compiling wasm-bindgen-futures v0.4.58
[INFO] [stderr]    Compiling wasm-bindgen-test v0.3.58
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 12.43s
[INFO] running `Command { std: "docker" "inspect" "fd100d045cbd2134bd5aae6c0f1e84be726634b12c9cc9d18c60d700c15aadaa", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fd100d045cbd2134bd5aae6c0f1e84be726634b12c9cc9d18c60d700c15aadaa", kill_on_drop: false }`
[INFO] [stdout] fd100d045cbd2134bd5aae6c0f1e84be726634b12c9cc9d18c60d700c15aadaa
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] 3870a221e3d74fe5ec485f89e7a9ffb53991f87005f7f188680c775ed5694a20
[INFO] running `Command { std: "docker" "start" "-a" "3870a221e3d74fe5ec485f89e7a9ffb53991f87005f7f188680c775ed5694a20", 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/build/drug-extraction-core/d32fd5c32f8d1730/deps/drug_extraction_core-d32fd5c32f8d1730)
[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.00s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests drug_extraction_core
[INFO] [stdout] 
[INFO] [stdout] running 2 tests
[INFO] [stdout] test src/lib.rs - DrugSearch::scan (line 485) ... FAILED
[INFO] [stdout] test src/lib.rs - SimpleSearch::scan (line 326) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[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] 486 | 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] 485 + 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] 486 | 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] 485 + 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] 486 | 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] 485 + 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 - 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] 327 | 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] 326 + 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] 327 | 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] 326 + 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] 327 | 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] 326 + 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.07s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "3870a221e3d74fe5ec485f89e7a9ffb53991f87005f7f188680c775ed5694a20", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3870a221e3d74fe5ec485f89e7a9ffb53991f87005f7f188680c775ed5694a20", kill_on_drop: false }`
[INFO] [stdout] 3870a221e3d74fe5ec485f89e7a9ffb53991f87005f7f188680c775ed5694a20
