[INFO] cloning repository https://github.com/gabsfeitosa26/MegaStore [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gabsfeitosa26/MegaStore" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgabsfeitosa26%2FMegaStore", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgabsfeitosa26%2FMegaStore'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b1ee687895579eef539f1d160906e97659d7b3bd [INFO] checking gabsfeitosa26/MegaStore against try#dcc22e5232dd0dbe95a4b3ab84c8d24a0880771e for pr-153721 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgabsfeitosa26%2FMegaStore" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/gabsfeitosa26/MegaStore [INFO] finished tweaking git repo https://github.com/gabsfeitosa26/MegaStore [INFO] tweaked toml for git repo https://github.com/gabsfeitosa26/MegaStore written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/gabsfeitosa26/MegaStore on toolchain dcc22e5232dd0dbe95a4b3ab84c8d24a0880771e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dcc22e5232dd0dbe95a4b3ab84c8d24a0880771e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/gabsfeitosa26/MegaStore 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" "+dcc22e5232dd0dbe95a4b3ab84c8d24a0880771e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3e793bdf10248eb2ddbd6b0faebed8155c11b4589982e2893733958d93e8d540" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 350b6fdb55ecdfb26ecb4c2e168e4daec958c5607bda83cbc27e5850d63367aa [INFO] running `Command { std: "docker" "start" "350b6fdb55ecdfb26ecb4c2e168e4daec958c5607bda83cbc27e5850d63367aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "350b6fdb55ecdfb26ecb4c2e168e4daec958c5607bda83cbc27e5850d63367aa" "/opt/rustwide/cargo-home/bin/cargo" "+dcc22e5232dd0dbe95a4b3ab84c8d24a0880771e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "350b6fdb55ecdfb26ecb4c2e168e4daec958c5607bda83cbc27e5850d63367aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "350b6fdb55ecdfb26ecb4c2e168e4daec958c5607bda83cbc27e5850d63367aa" "/opt/rustwide/cargo-home/bin/cargo" "+dcc22e5232dd0dbe95a4b3ab84c8d24a0880771e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Checking memchr v2.7.6 [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking regex-syntax v0.8.8 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking equivalent v1.0.2 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Checking hashbrown v0.16.0 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking plotters-backend v0.3.7 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Checking os_str_bytes v6.6.1 [INFO] [stderr] Checking plotters-svg v0.3.7 [INFO] [stderr] Checking rayon v1.11.0 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking indexmap v2.11.4 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking textwrap v0.16.2 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking regex-automata v0.4.13 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking bitflags v2.9.4 [INFO] [stderr] Checking linux-raw-sys v0.11.0 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking fixedbitset v0.5.7 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking petgraph v0.7.1 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking clap v3.2.25 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking fastrand v2.3.0 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking oorandom v11.1.5 [INFO] [stderr] Checking regex v1.12.2 [INFO] [stderr] Compiling zerocopy-derive v0.8.27 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Checking tempfile v3.23.0 [INFO] [stderr] Checking half v2.7.1 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking megastore_search_rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `InvertedIndex` [INFO] [stdout] --> src/main.rs:4:24 [INFO] [stdout] | [INFO] [stdout] 4 | use indexer::{Product, InvertedIndex}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/indexer.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Product { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 4 | pub id: u32, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Product` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InvertedIndex` is never constructed [INFO] [stdout] --> src/indexer.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct InvertedIndex; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/indexer.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl InvertedIndex { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 12 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking criterion v0.4.0 [INFO] [stdout] error[E0433]: cannot find module or crate `megastore_search_rust` in this scope [INFO] [stdout] --> tests/integration_test.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use megastore_search_rust::indexer::{InvertedIndex, Product}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `megastore_search_rust` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `megastore_search_rust`, use `cargo add megastore_search_rust` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `megastore_search_rust` in this scope [INFO] [stdout] --> tests/integration_test.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use megastore_search_rust::search::SearchEngine; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `megastore_search_rust` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `megastore_search_rust`, use `cargo add megastore_search_rust` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] warning: unused import: `InvertedIndex` [INFO] [stdout] --> src/main.rs:4:24 [INFO] [stdout] | [INFO] [stdout] 4 | use indexer::{Product, InvertedIndex}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `megastore_search_rust` (test "integration_test") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/indexer.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Product { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 4 | pub id: u32, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Product` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InvertedIndex` is never constructed [INFO] [stdout] --> src/indexer.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct InvertedIndex; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/indexer.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl InvertedIndex { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 12 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "350b6fdb55ecdfb26ecb4c2e168e4daec958c5607bda83cbc27e5850d63367aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "350b6fdb55ecdfb26ecb4c2e168e4daec958c5607bda83cbc27e5850d63367aa", kill_on_drop: false }` [INFO] [stdout] 350b6fdb55ecdfb26ecb4c2e168e4daec958c5607bda83cbc27e5850d63367aa