[INFO] fetching crate spyglass 1.1.0... [INFO] testing spyglass-1.1.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate spyglass 1.1.0 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate spyglass 1.1.0 [INFO] finished tweaking crates.io crate spyglass 1.1.0 [INFO] tweaked toml for crates.io crate spyglass 1.1.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate spyglass 1.1.0 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate spyglass 1.1.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded deunicode v1.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 912ec8ae68000b480e54c3ed549fd2a66c82a45f1e6391e4f55a28d2f8aec9eb [INFO] running `Command { std: "docker" "start" "-a" "912ec8ae68000b480e54c3ed549fd2a66c82a45f1e6391e4f55a28d2f8aec9eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "912ec8ae68000b480e54c3ed549fd2a66c82a45f1e6391e4f55a28d2f8aec9eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "912ec8ae68000b480e54c3ed549fd2a66c82a45f1e6391e4f55a28d2f8aec9eb", kill_on_drop: false }` [INFO] [stdout] 912ec8ae68000b480e54c3ed549fd2a66c82a45f1e6391e4f55a28d2f8aec9eb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ea4711f0dcba628e6a7c0f45a603982e4b284910951f40167128f09ca41d2193 [INFO] running `Command { std: "docker" "start" "-a" "ea4711f0dcba628e6a7c0f45a603982e4b284910951f40167128f09ca41d2193", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling syn v1.0.55 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling regex-syntax v0.6.21 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling humantime v2.0.1 [INFO] [stderr] Compiling deunicode v1.1.1 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling regex v1.4.2 [INFO] [stderr] Compiling env_logger v0.8.2 [INFO] [stderr] Compiling bincode v1.3.1 [INFO] [stderr] Compiling spyglass v1.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `error` and `warn` [INFO] [stdout] --> src/lib.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | use log::{info,warn,debug,error}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:481:13 [INFO] [stdout] | [INFO] [stdout] 481 | let mut parent = self.get_node_mut(node_index); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SINGLE_WILDCARD` is never used [INFO] [stdout] --> src/lib.rs:89:7 [INFO] [stdout] | [INFO] [stdout] 89 | const SINGLE_WILDCARD: char = '?'; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `len` is never used [INFO] [stdout] --> src/lib.rs:655:8 [INFO] [stdout] | [INFO] [stdout] 330 | impl SuffixTrie { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 655 | fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `find_exact` is never used [INFO] [stdout] --> src/lib.rs:1046:8 [INFO] [stdout] | [INFO] [stdout] 900 | impl SuffixTrieEditMatcher { [INFO] [stdout] | -------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 1046 | fn find_exact(&mut self, suffix_trie: &SuffixTrie, pattern: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.04s [INFO] running `Command { std: "docker" "inspect" "ea4711f0dcba628e6a7c0f45a603982e4b284910951f40167128f09ca41d2193", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea4711f0dcba628e6a7c0f45a603982e4b284910951f40167128f09ca41d2193", kill_on_drop: false }` [INFO] [stdout] ea4711f0dcba628e6a7c0f45a603982e4b284910951f40167128f09ca41d2193 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8ef704aaad71909d5fce2c5de7c2160dcf5cc38cdabc46613abae0b4024eb145 [INFO] running `Command { std: "docker" "start" "-a" "8ef704aaad71909d5fce2c5de7c2160dcf5cc38cdabc46613abae0b4024eb145", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling const_fn v0.4.4 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling serde_json v1.0.61 [INFO] [stderr] Compiling regex-automata v0.1.9 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling half v1.6.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling oorandom v11.1.3 [INFO] [stderr] Compiling serde_cbor v0.11.1 [INFO] [stdout] warning: unused imports: `error` and `warn` [INFO] [stdout] --> src/lib.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | use log::{info,warn,debug,error}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:481:13 [INFO] [stdout] | [INFO] [stdout] 481 | let mut parent = self.get_node_mut(node_index); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SINGLE_WILDCARD` is never used [INFO] [stdout] --> src/lib.rs:89:7 [INFO] [stdout] | [INFO] [stdout] 89 | const SINGLE_WILDCARD: char = '?'; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `len` is never used [INFO] [stdout] --> src/lib.rs:655:8 [INFO] [stdout] | [INFO] [stdout] 330 | impl SuffixTrie { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 655 | fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `find_exact` is never used [INFO] [stdout] --> src/lib.rs:1046:8 [INFO] [stdout] | [INFO] [stdout] 900 | impl SuffixTrieEditMatcher { [INFO] [stdout] | -------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 1046 | fn find_exact(&mut self, suffix_trie: &SuffixTrie, pattern: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling bstr v0.2.14 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling csv v1.1.5 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Compiling criterion-plot v0.4.3 [INFO] [stderr] Compiling crossbeam-epoch v0.9.1 [INFO] [stderr] Compiling crossbeam-channel v0.5.0 [INFO] [stderr] Compiling plotters v0.2.15 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [INFO] [stderr] Compiling tinytemplate v1.1.0 [INFO] [stderr] Compiling criterion v0.3.3 [INFO] [stderr] Compiling spyglass v1.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `utilities` [INFO] [stdout] --> src/lib.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | use utilities; [INFO] [stdout] | ^^^^^^^^^ no external crate `utilities` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `error` and `warn` [INFO] [stdout] --> src/lib.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | use log::{info,warn,debug,error}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `utilities` [INFO] [stdout] --> tests/integration_test.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use utilities; [INFO] [stdout] | ^^^^^^^^^ no external crate `utilities` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `spyglass` (test "integration_test") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:481:13 [INFO] [stdout] | [INFO] [stdout] 481 | let mut parent = self.get_node_mut(node_index); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `spyglass` (lib test) due to 1 previous error; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "8ef704aaad71909d5fce2c5de7c2160dcf5cc38cdabc46613abae0b4024eb145", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ef704aaad71909d5fce2c5de7c2160dcf5cc38cdabc46613abae0b4024eb145", kill_on_drop: false }` [INFO] [stdout] 8ef704aaad71909d5fce2c5de7c2160dcf5cc38cdabc46613abae0b4024eb145