[INFO] fetching crate rustdoc-seeker 0.6.0... [INFO] testing rustdoc-seeker-0.6.0 against master#99e3aef02079e9c10583638520cd0c134dc3a01d for pr-85530 [INFO] extracting crate rustdoc-seeker 0.6.0 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate rustdoc-seeker 0.6.0 on toolchain 99e3aef02079e9c10583638520cd0c134dc3a01d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rustdoc-seeker 0.6.0 [INFO] finished tweaking crates.io crate rustdoc-seeker 0.6.0 [INFO] tweaked toml for crates.io crate rustdoc-seeker 0.6.0 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate crates.io crate rustdoc-seeker 0.6.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] bf43b98fdf97966a92bd9ad38285731e033437998b98ed4bc2785ebd64da4e98 [INFO] running `Command { std: "docker" "start" "-a" "bf43b98fdf97966a92bd9ad38285731e033437998b98ed4bc2785ebd64da4e98", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bf43b98fdf97966a92bd9ad38285731e033437998b98ed4bc2785ebd64da4e98", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf43b98fdf97966a92bd9ad38285731e033437998b98ed4bc2785ebd64da4e98", kill_on_drop: false }` [INFO] [stdout] bf43b98fdf97966a92bd9ad38285731e033437998b98ed4bc2785ebd64da4e98 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] a0487fbf2e1246dbe3af9452958c499a31e8667c98f835722603b3a64e7da7d8 [INFO] running `Command { std: "docker" "start" "-a" "a0487fbf2e1246dbe3af9452958c499a31e8667c98f835722603b3a64e7da7d8", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.9 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.16 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling ryu v1.0.3 [INFO] [stderr] Compiling fst v0.4.0 [INFO] [stderr] Compiling siphasher v0.3.1 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling utf8-ranges v1.0.4 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Compiling serde_json v1.0.48 [INFO] [stderr] Compiling string_cache v0.8.0 [INFO] [stderr] Compiling rustdoc-seeker v0.6.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 27.01s [INFO] running `Command { std: "docker" "inspect" "a0487fbf2e1246dbe3af9452958c499a31e8667c98f835722603b3a64e7da7d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a0487fbf2e1246dbe3af9452958c499a31e8667c98f835722603b3a64e7da7d8", kill_on_drop: false }` [INFO] [stdout] a0487fbf2e1246dbe3af9452958c499a31e8667c98f835722603b3a64e7da7d8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 48eab48eac54356cdd4cf6bcdcfa23c9e42e8f067b570d98ec769610d07976d5 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "48eab48eac54356cdd4cf6bcdcfa23c9e42e8f067b570d98ec769610d07976d5", kill_on_drop: false }` [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling regex-syntax v0.6.17 [INFO] [stderr] Compiling regex-automata v0.1.9 [INFO] [stderr] Compiling rustdoc-seeker v0.6.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 9.15s [INFO] running `Command { std: "docker" "inspect" "48eab48eac54356cdd4cf6bcdcfa23c9e42e8f067b570d98ec769610d07976d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "48eab48eac54356cdd4cf6bcdcfa23c9e42e8f067b570d98ec769610d07976d5", kill_on_drop: false }` [INFO] [stdout] 48eab48eac54356cdd4cf6bcdcfa23c9e42e8f067b570d98ec769610d07976d5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 7d4aa046d6352f1e7c40ad4ab199331a62bb52c8c99ad95e04c8fc6080680aab [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "7d4aa046d6352f1e7c40ad4ab199331a62bb52c8c99ad95e04c8fc6080680aab", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/rustdoc_seeker-0c25af62576b3953) [INFO] [stdout] running 2 tests [INFO] [stdout] test json::test::test_fix_json ... ok [INFO] [stderr] Doc-tests rustdoc-seeker [INFO] [stdout] test parser::test::test_parser ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.92s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test src/lib.rs - (line 2) ... FAILED [INFO] [stdout] test src/seeker.rs - seeker::RustDocSeeker (line 263) ... FAILED [INFO] [stdout] test src/seeker.rs - seeker::RustDoc (line 180) ... FAILED [INFO] [stdout] test src/seeker.rs - seeker::TypeItem (line 63) ... FAILED [INFO] [stdout] test src/seeker.rs - seeker::DocItem (line 97) ... FAILED [INFO] [stdout] test src/seeker.rs - seeker::RustDocSeeker::search (line 277) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 2) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fs` [INFO] [stdout] --> src/lib.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | let data = fs::read_to_string("search-index.js").unwrap(); [INFO] [stdout] | ^^ use of undeclared crate or module `fs` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RustDoc` in this scope [INFO] [stdout] --> src/lib.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | let rustdoc: RustDoc = data.parse().unwrap(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use rustdoc_seeker::RustDoc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/seeker.rs - seeker::RustDocSeeker (line 263) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `rustdoc` in this scope [INFO] [stdout] --> src/seeker.rs:264:14 [INFO] [stdout] | [INFO] [stdout] 3 | let seeker = rustdoc.build(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 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] ---- src/seeker.rs - seeker::RustDoc (line 180) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fs` [INFO] [stdout] --> src/seeker.rs:181:12 [INFO] [stdout] | [INFO] [stdout] 3 | let data = fs::read_to_string("search-index.js").unwrap(); [INFO] [stdout] | ^^ use of undeclared crate or module `fs` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RustDoc` in this scope [INFO] [stdout] --> src/seeker.rs:182:14 [INFO] [stdout] | [INFO] [stdout] 4 | let rustdoc: RustDoc = data.parse().unwrap(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use rustdoc_seeker::RustDoc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `rustdoc_a` in this scope [INFO] [stdout] --> src/seeker.rs:185:1 [INFO] [stdout] | [INFO] [stdout] 7 | rustdoc_a.extend(rustdoc_b) [INFO] [stdout] | ^^^^^^^^^ help: a local variable with a similar name exists: `rustdoc` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `rustdoc_b` in this scope [INFO] [stdout] --> src/seeker.rs:185:18 [INFO] [stdout] | [INFO] [stdout] 7 | rustdoc_a.extend(rustdoc_b) [INFO] [stdout] | ^^^^^^^^^ help: a local variable with a similar name exists: `rustdoc` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/seeker.rs - seeker::TypeItem (line 63) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TypeItme` [INFO] [stdout] --> src/seeker.rs:64:26 [INFO] [stdout] | [INFO] [stdout] 3 | assert_eq!("module.vec", TypeItme::Module("vec")); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `TypeItme` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TypeItme` [INFO] [stdout] --> src/seeker.rs:65:25 [INFO] [stdout] | [INFO] [stdout] 4 | assert_eq!("macro.vec", TypeItme::Macro("vec")); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `TypeItme` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TypeItme` [INFO] [stdout] --> src/seeker.rs:67:22 [INFO] [stdout] | [INFO] [stdout] 6 | assert_eq!("fn.vec", TypeItme::Function("vec")); // the only two exceptions [INFO] [stdout] | ^^^^^^^^ use of undeclared type `TypeItme` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TypeItme` [INFO] [stdout] --> src/seeker.rs:68:24 [INFO] [stdout] | [INFO] [stdout] 7 | assert_eq!("type.vec", TypeItme::Typedef("vec")); // the only two exceptions [INFO] [stdout] | ^^^^^^^^ use of undeclared type `TypeItme` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/seeker.rs - seeker::DocItem (line 97) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `docitem` in this scope [INFO] [stdout] --> src/seeker.rs:98:36 [INFO] [stdout] | [INFO] [stdout] 3 | println!("{} is the url of {:?}", &docitem, &docitem) [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `docitem` in this scope [INFO] [stdout] --> src/seeker.rs:98:46 [INFO] [stdout] | [INFO] [stdout] 3 | println!("{} is the url of {:?}", &docitem, &docitem) [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/seeker.rs - seeker::RustDocSeeker::search (line 277) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fst_regex` [INFO] [stdout] --> src/seeker.rs:278:22 [INFO] [stdout] | [INFO] [stdout] 3 | let aut = fst_regex::Regex::new(".*dedup.*").unwrap(); [INFO] [stdout] | ^^^^^ not found in `fst_regex` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use regex_automata::Regex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `seeker` in this scope [INFO] [stdout] --> src/seeker.rs:279:10 [INFO] [stdout] | [INFO] [stdout] 4 | for i in seeker.search(aut) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fst_levenshtein` [INFO] [stdout] --> src/seeker.rs:283:28 [INFO] [stdout] | [INFO] [stdout] 8 | let aut = fst_levenshtein::Levenshtein::new("dedXp", 1).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ not found in `fst_levenshtein` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use fst::automaton::Levenshtein; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `seeker` in this scope [INFO] [stdout] --> src/seeker.rs:284:10 [INFO] [stdout] | [INFO] [stdout] 9 | for i in seeker.search(aut) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `seeker` in this scope [INFO] [stdout] --> src/seeker.rs:289:10 [INFO] [stdout] | [INFO] [stdout] 14 | for i in seeker.search(aut) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 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 - (line 2) [INFO] [stdout] src/seeker.rs - seeker::DocItem (line 97) [INFO] [stdout] src/seeker.rs - seeker::RustDoc (line 180) [INFO] [stdout] src/seeker.rs - seeker::RustDocSeeker (line 263) [INFO] [stdout] src/seeker.rs - seeker::RustDocSeeker::search (line 277) [INFO] [stdout] src/seeker.rs - seeker::TypeItem (line 63) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 6 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.50s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "7d4aa046d6352f1e7c40ad4ab199331a62bb52c8c99ad95e04c8fc6080680aab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d4aa046d6352f1e7c40ad4ab199331a62bb52c8c99ad95e04c8fc6080680aab", kill_on_drop: false }` [INFO] [stdout] 7d4aa046d6352f1e7c40ad4ab199331a62bb52c8c99ad95e04c8fc6080680aab