[INFO] fetching crate drug-extraction-core 0.1.2...
[INFO] testing drug-extraction-core-0.1.2 against master#733b47ea4b1b86216f14ef56e49440c33933f230+rustflags=-Copt-level=3 for pr-138759
[INFO] extracting crate drug-extraction-core 0.1.2 into /workspace/builds/worker-2-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-2-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate drug-extraction-core 0.1.2 on toolchain 733b47ea4b1b86216f14ef56e49440c33933f230
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 8602728247be11c294ba5c20a35f4e27ea5512202dede09e78e6693137ef292c
[INFO] running `Command { std: "docker" "start" "-a" "8602728247be11c294ba5c20a35f4e27ea5512202dede09e78e6693137ef292c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8602728247be11c294ba5c20a35f4e27ea5512202dede09e78e6693137ef292c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8602728247be11c294ba5c20a35f4e27ea5512202dede09e78e6693137ef292c", kill_on_drop: false }`
[INFO] [stdout] 8602728247be11c294ba5c20a35f4e27ea5512202dede09e78e6693137ef292c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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 -Copt-level=3" "-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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3cb40033c1d316665576279f5482c5ddb081e2c2e35119b267c7fd96d76aa7e9
[INFO] running `Command { std: "docker" "start" "-a" "3cb40033c1d316665576279f5482c5ddb081e2c2e35119b267c7fd96d76aa7e9", kill_on_drop: false }`
[INFO] [stderr]    Compiling csv-core v0.1.12
[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 5.04s
[INFO] running `Command { std: "docker" "inspect" "3cb40033c1d316665576279f5482c5ddb081e2c2e35119b267c7fd96d76aa7e9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3cb40033c1d316665576279f5482c5ddb081e2c2e35119b267c7fd96d76aa7e9", kill_on_drop: false }`
[INFO] [stdout] 3cb40033c1d316665576279f5482c5ddb081e2c2e35119b267c7fd96d76aa7e9
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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 -Copt-level=3" "-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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7f59764b9516fbd5d46afaefd9a1e7de7c12f8afada668d74326deec427abaa0
[INFO] running `Command { std: "docker" "start" "-a" "7f59764b9516fbd5d46afaefd9a1e7de7c12f8afada668d74326deec427abaa0", kill_on_drop: false }`
[INFO] [stderr]    Compiling log v0.4.28
[INFO] [stderr]    Compiling wasm-bindgen v0.2.104
[INFO] [stderr]    Compiling wasm-bindgen-test-macro v0.3.54
[INFO] [stderr]    Compiling csv v1.3.1
[INFO] [stderr]    Compiling wasm-bindgen-backend v0.2.104
[INFO] [stderr]    Compiling drug-extraction-core v0.1.2 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling wasm-bindgen-macro-support v0.2.104
[INFO] [stderr]    Compiling wasm-bindgen-macro v0.2.104
[INFO] [stderr]    Compiling js-sys v0.3.81
[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 36.89s
[INFO] running `Command { std: "docker" "inspect" "7f59764b9516fbd5d46afaefd9a1e7de7c12f8afada668d74326deec427abaa0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7f59764b9516fbd5d46afaefd9a1e7de7c12f8afada668d74326deec427abaa0", kill_on_drop: false }`
[INFO] [stdout] 7f59764b9516fbd5d46afaefd9a1e7de7c12f8afada668d74326deec427abaa0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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 -Copt-level=3" "-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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 23bcc48dc479bd6610fb2db0f10c0fceb10bbedf3194140c072a61888c6118b6
[INFO] running `Command { std: "docker" "start" "-a" "23bcc48dc479bd6610fb2db0f10c0fceb10bbedf3194140c072a61888c6118b6", 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/drug_extraction_core-c3b7945168e3efff)
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stdout] test tests::test_parens ... ok
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests drug_extraction_core
[INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[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] [stderr] error: doctest failed, to rerun pass `--doc`
[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.17s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "23bcc48dc479bd6610fb2db0f10c0fceb10bbedf3194140c072a61888c6118b6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "23bcc48dc479bd6610fb2db0f10c0fceb10bbedf3194140c072a61888c6118b6", kill_on_drop: false }`
[INFO] [stdout] 23bcc48dc479bd6610fb2db0f10c0fceb10bbedf3194140c072a61888c6118b6
