[INFO] fetching crate drug-extraction-core 0.1.2...
[INFO] testing drug-extraction-core-0.1.2 against master#1871252fc8bb672d40787e67404e6eaae7059369 for pr-125151
[INFO] extracting crate drug-extraction-core 0.1.2 into /workspace/builds/worker-3-tc1/source
[INFO] validating manifest of crates.io crate drug-extraction-core 0.1.2 on toolchain 1871252fc8bb672d40787e67404e6eaae7059369
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 32 packages to latest compatible versions
[INFO] [stderr]       Adding itertools v0.10.5 (latest: v0.13.0)
[INFO] [stderr]       Adding strsim v0.10.0 (latest: v0.11.1)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] e75bc4e323b303e69feb5f71802e289a8100ccca548abd44839ff5c4b5349c73
[INFO] running `Command { std: "docker" "start" "-a" "e75bc4e323b303e69feb5f71802e289a8100ccca548abd44839ff5c4b5349c73", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e75bc4e323b303e69feb5f71802e289a8100ccca548abd44839ff5c4b5349c73", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e75bc4e323b303e69feb5f71802e289a8100ccca548abd44839ff5c4b5349c73", kill_on_drop: false }`
[INFO] [stdout] e75bc4e323b303e69feb5f71802e289a8100ccca548abd44839ff5c4b5349c73
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3ece9619e0f1807d0dfc123d877fc17d2f53e57ba4513872f8bff3a4f31a50d2
[INFO] running `Command { std: "docker" "start" "-a" "3ece9619e0f1807d0dfc123d877fc17d2f53e57ba4513872f8bff3a4f31a50d2", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.83
[INFO] [stderr]    Compiling serde v1.0.202
[INFO] [stderr]    Compiling csv-core v0.1.11
[INFO] [stderr]    Compiling strsim v0.10.0
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]    Compiling syn v2.0.66
[INFO] [stderr]    Compiling serde_derive v1.0.202
[INFO] [stderr]    Compiling csv v1.3.0
[INFO] [stderr]    Compiling serde_json v1.0.117
[INFO] [stderr]    Compiling drug-extraction-core v0.1.2 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.53s
[INFO] running `Command { std: "docker" "inspect" "3ece9619e0f1807d0dfc123d877fc17d2f53e57ba4513872f8bff3a4f31a50d2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3ece9619e0f1807d0dfc123d877fc17d2f53e57ba4513872f8bff3a4f31a50d2", kill_on_drop: false }`
[INFO] [stdout] 3ece9619e0f1807d0dfc123d877fc17d2f53e57ba4513872f8bff3a4f31a50d2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c4d010868fcb5ccf4b4f64e07f3f200543de5f4ad9962031bcf679b10dcf7db9
[INFO] running `Command { std: "docker" "start" "-a" "c4d010868fcb5ccf4b4f64e07f3f200543de5f4ad9962031bcf679b10dcf7db9", kill_on_drop: false }`
[INFO] [stderr]    Compiling wasm-bindgen-shared v0.2.92
[INFO] [stderr]    Compiling once_cell v1.19.0
[INFO] [stderr]    Compiling bumpalo v3.16.0
[INFO] [stderr]    Compiling wasm-bindgen v0.2.92
[INFO] [stderr]    Compiling syn v2.0.66
[INFO] [stderr]    Compiling scoped-tls v1.0.1
[INFO] [stderr]    Compiling wasm-bindgen-backend v0.2.92
[INFO] [stderr]    Compiling serde_derive v1.0.202
[INFO] [stderr]    Compiling wasm-bindgen-test-macro v0.3.42
[INFO] [stderr]    Compiling wasm-bindgen-macro-support v0.2.92
[INFO] [stderr]    Compiling wasm-bindgen-macro v0.2.92
[INFO] [stderr]    Compiling js-sys v0.3.69
[INFO] [stderr]    Compiling console_error_panic_hook v0.1.7
[INFO] [stderr]    Compiling serde v1.0.202
[INFO] [stderr]    Compiling wasm-bindgen-futures v0.4.42
[INFO] [stderr]    Compiling wasm-bindgen-test v0.3.42
[INFO] [stderr]    Compiling csv v1.3.0
[INFO] [stderr]    Compiling serde_json v1.0.117
[INFO] [stderr]    Compiling drug-extraction-core v0.1.2 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 13.23s
[INFO] running `Command { std: "docker" "inspect" "c4d010868fcb5ccf4b4f64e07f3f200543de5f4ad9962031bcf679b10dcf7db9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c4d010868fcb5ccf4b4f64e07f3f200543de5f4ad9962031bcf679b10dcf7db9", kill_on_drop: false }`
[INFO] [stdout] c4d010868fcb5ccf4b4f64e07f3f200543de5f4ad9962031bcf679b10dcf7db9
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] d530eaa500d33f8663400a4578514b18d72e171e5e431bed6d16954d5634d66b
[INFO] running `Command { std: "docker" "start" "-a" "d530eaa500d33f8663400a4578514b18d72e171e5e431bed6d16954d5634d66b", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/drug_extraction_core-a76957f41a9f32c9)
[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] 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] ---- 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] 
[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.09s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "d530eaa500d33f8663400a4578514b18d72e171e5e431bed6d16954d5634d66b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d530eaa500d33f8663400a4578514b18d72e171e5e431bed6d16954d5634d66b", kill_on_drop: false }`
[INFO] [stdout] d530eaa500d33f8663400a4578514b18d72e171e5e431bed6d16954d5634d66b
