[INFO] updating cached repository csrene/csrenetsindex [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/csrene/csrenetsindex [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/csrene/csrenetsindex" "work/ex/beta-1.38-1/sources/1.37.0/gh/csrene/csrenetsindex"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/1.37.0/gh/csrene/csrenetsindex'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/csrene/csrenetsindex" "work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/csrene/csrenetsindex"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/csrene/csrenetsindex'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 95fd06c694eb44957027ea28b4748ce573a054ab [INFO] sha for GitHub repo csrene/csrenetsindex: 95fd06c694eb44957027ea28b4748ce573a054ab [INFO] validating manifest of csrene/csrenetsindex on toolchain 1.37.0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of csrene/csrenetsindex on toolchain beta-2019-08-13 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing csrene/csrenetsindex [INFO] finished frobbing csrene/csrenetsindex [INFO] frobbed toml for csrene/csrenetsindex written to work/ex/beta-1.38-1/sources/1.37.0/gh/csrene/csrenetsindex/Cargo.toml [INFO] started frobbing csrene/csrenetsindex [INFO] finished frobbing csrene/csrenetsindex [INFO] frobbed toml for csrene/csrenetsindex written to work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/csrene/csrenetsindex/Cargo.toml [INFO] crate csrene/csrenetsindex already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing csrene/csrenetsindex against 1.37.0 for beta-1.38-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-4/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/gh/csrene/csrenetsindex:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+1.37.0" "build" "--frozen"` [INFO] [stdout] 73c965087924ec9123fb0a6a5e13f95cc3a123924c096a58746d1d5d9a943c07 [INFO] running `"docker" "start" "-a" "73c965087924ec9123fb0a6a5e13f95cc3a123924c096a58746d1d5d9a943c07"` [INFO] [stderr] Compiling nodrop v0.1.13 [INFO] [stderr] Compiling utf-8 v0.7.5 [INFO] [stderr] Compiling thin-slice v0.1.1 [INFO] [stderr] Compiling ego-tree v0.6.0 [INFO] [stderr] Compiling actix-web v0.7.18 [INFO] [stderr] Compiling proc-macro2 v0.3.8 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling tokio-sync v0.1.0 [INFO] [stderr] Compiling dtoa-short v0.3.2 [INFO] [stderr] Compiling ring v0.13.5 [INFO] [stderr] Compiling arrayvec v0.4.10 [INFO] [stderr] Compiling servo_arc v0.1.1 [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling hostname v0.1.5 [INFO] [stderr] Compiling socket2 v0.3.8 [INFO] [stderr] Compiling memchr v1.0.2 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling signal-hook v0.1.7 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling tokio-timer v0.2.9 [INFO] [stderr] Compiling base64 v0.6.0 [INFO] [stderr] Compiling miniz-sys v0.1.11 [INFO] [stderr] Compiling serde_json v1.0.37 [INFO] [stderr] Compiling openssl-sys v0.9.40 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling nom v4.1.1 [INFO] [stderr] Compiling bytes v0.4.11 [INFO] [stderr] Compiling resolv-conf v0.6.2 [INFO] [stderr] Compiling crossbeam-epoch v0.7.0 [INFO] [stderr] Compiling nom v3.2.1 [INFO] [stderr] Compiling mio v0.6.16 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling tendril v0.4.1 [INFO] [stderr] Compiling syn v0.15.26 [INFO] [stderr] Compiling syn v0.14.9 [INFO] [stderr] Compiling flate2 v1.0.6 [INFO] [stderr] Compiling quote v0.5.2 [INFO] [stderr] Compiling openssl v0.10.16 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling uuid v0.7.1 [INFO] [stderr] Compiling tokio-io v0.1.11 [INFO] [stderr] Compiling http v0.1.15 [INFO] [stderr] Compiling crossbeam-deque v0.6.3 [INFO] [stderr] Compiling error-chain v0.11.0 [INFO] [stderr] Compiling hmac v0.5.0 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling env_logger v0.5.13 [INFO] [stderr] Compiling syn v0.13.11 [INFO] [stderr] Compiling random_choice v0.3.2 [INFO] [stderr] Compiling tokio-codec v0.1.1 [INFO] [stderr] Compiling postgres-protocol v0.3.2 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling cookie v0.11.0 [INFO] [stderr] Compiling askama_shared v0.6.2 [INFO] [stderr] Compiling brotli2 v0.3.2 [INFO] [stderr] Compiling postgres-shared v0.4.2 [INFO] [stderr] Compiling string_cache_codegen v0.4.2 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling parking_lot v0.7.1 [INFO] [stderr] Compiling selectors v0.20.0 [INFO] [stderr] Compiling mime_guess v2.0.0-alpha.6 [INFO] [stderr] Compiling tokio-openssl v0.2.1 [INFO] [stderr] Compiling h2 v0.1.16 [INFO] [stderr] Compiling crossbeam-channel v0.3.6 [INFO] [stderr] Compiling tokio-reactor v0.1.8 [INFO] [stderr] Compiling postgres v0.15.2 [INFO] [stderr] Compiling string_cache v0.7.3 [INFO] [stderr] Compiling crossbeam v0.6.0 [INFO] [stderr] Compiling tokio-uds v0.2.5 [INFO] [stderr] Compiling tokio-tcp v0.1.3 [INFO] [stderr] Compiling tokio-udp v0.1.3 [INFO] [stderr] Compiling tokio-signal v0.2.7 [INFO] [stderr] Compiling askama_derive v0.6.4 [INFO] [stderr] Compiling tokio-threadpool v0.1.11 [INFO] [stderr] Compiling tokio-fs v0.1.5 [INFO] [stderr] Compiling tokio v0.1.15 [INFO] [stderr] Compiling cssparser v0.24.1 [INFO] [stderr] Compiling synstructure v0.10.1 [INFO] [stderr] Compiling serde_derive v1.0.87 [INFO] [stderr] Compiling actix_derive v0.3.2 [INFO] [stderr] Compiling html5ever v0.22.5 [INFO] [stderr] Compiling v_escape_derive v0.2.1 [INFO] [stderr] Compiling cssparser-macros v0.3.5 [INFO] [stderr] Compiling askama v0.6.4 [INFO] [stderr] Compiling csrenetsindex v0.1.0 (/opt/crater/workdir) [INFO] [stderr] Compiling v_escape v0.3.2 [INFO] [stderr] Compiling v_htmlescape v0.3.2 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Compiling failure v0.1.5 [INFO] [stderr] Compiling trust-dns-proto v0.6.2 [INFO] [stderr] Compiling trust-dns-proto v0.5.0 [INFO] [stderr] Compiling dotenv v0.13.0 [INFO] [stderr] Compiling markup5ever v0.7.5 [INFO] [stderr] warning[E0506]: cannot assign to `self.input.cached_token` because it is borrowed [INFO] [stderr] --> /opt/crater/cargo-home/registry/src/github.com-1ecc6299db9ec823/cssparser-0.24.1/src/parser.rs:572:17 [INFO] [stderr] | [INFO] [stderr] 547 | pub fn next_including_whitespace_and_comments(&mut self) -> Result<&Token<'i>, BasicParseError<'i>> { [INFO] [stderr] | - let's call the lifetime of this reference `'1` [INFO] [stderr] ... [INFO] [stderr] 560 | Some(ref cached_token) [INFO] [stderr] | ---------------- borrow of `self.input.cached_token` occurs here [INFO] [stderr] ... [INFO] [stderr] 572 | self.input.cached_token = Some(CachedToken { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ assignment to borrowed `self.input.cached_token` occurs here [INFO] [stderr] ... [INFO] [stderr] 584 | Ok(token) [INFO] [stderr] | --------- returning this value requires that `self.input.cached_token.0` is borrowed for `'1` [INFO] [stderr] | [INFO] [stderr] = warning: this error has been downgraded to a warning for backwards compatibility with previous releases [INFO] [stderr] = warning: this represents potential undefined behavior in your code and this warning will become a hard error in the future [INFO] [stderr] = note: for more information, try `rustc --explain E0729` [INFO] [stderr] [INFO] [stderr] Compiling trust-dns-resolver v0.10.2 [INFO] [stderr] Compiling actix v0.7.9 [INFO] [stderr] Compiling scraper v0.9.1 [INFO] [stderr] Compiling actix-net v0.2.6 [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stderr] --> src/main.rs:4:1 [INFO] [stderr] | [INFO] [stderr] 4 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `HttpRequest`, `HttpResponse`, `Query`, `Responder`, `Result` [INFO] [stderr] --> src/main.rs:13:30 [INFO] [stderr] | [INFO] [stderr] 13 | use actix_web::{server, App, HttpRequest, HttpResponse, Responder, Query, Result}; [INFO] [stderr] | ^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^ ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `actix_web::Path` [INFO] [stderr] --> src/main.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | use actix_web::Path; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `actix_web::State` [INFO] [stderr] --> src/main.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | use actix_web::State; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::routes::Order` [INFO] [stderr] --> src/main.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | use crate::routes::Order; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Html`, `Selector` [INFO] [stderr] --> src/pwgen.rs:8:15 [INFO] [stderr] | [INFO] [stderr] 8 | use scraper::{Html, Selector}; [INFO] [stderr] | ^^^^ ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::borrow::Cow` [INFO] [stderr] --> src/pwgen.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use std::borrow::Cow; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `actix` [INFO] [stderr] --> src/pwgen.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | use actix; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `HttpMessage`, `client` [INFO] [stderr] --> src/pwgen.rs:13:17 [INFO] [stderr] | [INFO] [stderr] 13 | use actix_web::{client, HttpMessage}; [INFO] [stderr] | ^^^^^^ ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `controller` [INFO] [stderr] --> src/routes.rs:1:13 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::{controller, AppState}; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Deserialize`, `Serialize` [INFO] [stderr] --> src/routes.rs:7:13 [INFO] [stderr] | [INFO] [stderr] 7 | use serde::{Serialize, Deserialize}; [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `HttpRequest`, `HttpResponse`, `Result` [INFO] [stderr] --> src/uriscraper.rs:2:17 [INFO] [stderr] | [INFO] [stderr] 2 | use actix_web::{Result, HttpResponse, client, HttpRequest, HttpMessage}; [INFO] [stderr] | ^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'pwgen::rand::Rng::choose': use SliceRandom::choose instead [INFO] [stderr] --> src/pwgen.rs:21:32 [INFO] [stderr] | [INFO] [stderr] 21 | rand::thread_rng().choose(all_words).map(|x|x.clone()) [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(deprecated)] on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `futures::Future` [INFO] [stderr] --> src/pwgen.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | use futures::Future; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `parse_body` [INFO] [stderr] --> src/uriscraper.rs:13:1 [INFO] [stderr] | [INFO] [stderr] 13 | pub fn parse_body(raw_body: &str) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(dead_code)] on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `scrape` [INFO] [stderr] --> src/uriscraper.rs:31:1 [INFO] [stderr] | [INFO] [stderr] 31 | pub fn scrape(uri: &str) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `insert_into_words` [INFO] [stderr] --> src/uriscraper.rs:67:1 [INFO] [stderr] | [INFO] [stderr] 67 | fn insert_into_words(conn: &Connection, words: Vec, lang: &str) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `get_words_from_file` [INFO] [stderr] --> src/uriscraper.rs:79:1 [INFO] [stderr] | [INFO] [stderr] 79 | fn get_words_from_file(file: &str) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `start_db` [INFO] [stderr] --> src/main.rs:56:1 [INFO] [stderr] | [INFO] [stderr] 56 | fn start_db() { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `create_table` [INFO] [stderr] --> src/main.rs:63:1 [INFO] [stderr] | [INFO] [stderr] 63 | fn create_table() { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3m 46s [INFO] running `"docker" "inspect" "73c965087924ec9123fb0a6a5e13f95cc3a123924c096a58746d1d5d9a943c07"` [INFO] running `"docker" "rm" "-f" "73c965087924ec9123fb0a6a5e13f95cc3a123924c096a58746d1d5d9a943c07"` [INFO] [stdout] 73c965087924ec9123fb0a6a5e13f95cc3a123924c096a58746d1d5d9a943c07 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-4/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/gh/csrene/csrenetsindex:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+1.37.0" "test" "--frozen" "--no-run"` [INFO] [stdout] ad4148de745e9aee7dfec0873fd33fa5e40784ec8bf0ee151036f225fecf505f [INFO] running `"docker" "start" "-a" "ad4148de745e9aee7dfec0873fd33fa5e40784ec8bf0ee151036f225fecf505f"` [INFO] [stderr] Compiling csrenetsindex v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stderr] --> src/main.rs:4:1 [INFO] [stderr] | [INFO] [stderr] 4 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `HttpRequest`, `HttpResponse`, `Query`, `Responder`, `Result` [INFO] [stderr] --> src/main.rs:13:30 [INFO] [stderr] | [INFO] [stderr] 13 | use actix_web::{server, App, HttpRequest, HttpResponse, Responder, Query, Result}; [INFO] [stderr] | ^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^ ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `actix_web::Path` [INFO] [stderr] --> src/main.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | use actix_web::Path; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `actix_web::State` [INFO] [stderr] --> src/main.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | use actix_web::State; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::routes::Order` [INFO] [stderr] --> src/main.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | use crate::routes::Order; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Html`, `Selector` [INFO] [stderr] --> src/pwgen.rs:8:15 [INFO] [stderr] | [INFO] [stderr] 8 | use scraper::{Html, Selector}; [INFO] [stderr] | ^^^^ ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::borrow::Cow` [INFO] [stderr] --> src/pwgen.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use std::borrow::Cow; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `actix` [INFO] [stderr] --> src/pwgen.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | use actix; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `HttpMessage`, `client` [INFO] [stderr] --> src/pwgen.rs:13:17 [INFO] [stderr] | [INFO] [stderr] 13 | use actix_web::{client, HttpMessage}; [INFO] [stderr] | ^^^^^^ ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `controller` [INFO] [stderr] --> src/routes.rs:1:13 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::{controller, AppState}; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Deserialize`, `Serialize` [INFO] [stderr] --> src/routes.rs:7:13 [INFO] [stderr] | [INFO] [stderr] 7 | use serde::{Serialize, Deserialize}; [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `HttpRequest`, `HttpResponse`, `Result` [INFO] [stderr] --> src/uriscraper.rs:2:17 [INFO] [stderr] | [INFO] [stderr] 2 | use actix_web::{Result, HttpResponse, client, HttpRequest, HttpMessage}; [INFO] [stderr] | ^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'pwgen::rand::Rng::choose': use SliceRandom::choose instead [INFO] [stderr] --> src/pwgen.rs:21:32 [INFO] [stderr] | [INFO] [stderr] 21 | rand::thread_rng().choose(all_words).map(|x|x.clone()) [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(deprecated)] on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `futures::Future` [INFO] [stderr] --> src/pwgen.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | use futures::Future; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `parse_body` [INFO] [stderr] --> src/uriscraper.rs:13:1 [INFO] [stderr] | [INFO] [stderr] 13 | pub fn parse_body(raw_body: &str) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(dead_code)] on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `scrape` [INFO] [stderr] --> src/uriscraper.rs:31:1 [INFO] [stderr] | [INFO] [stderr] 31 | pub fn scrape(uri: &str) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `insert_into_words` [INFO] [stderr] --> src/uriscraper.rs:67:1 [INFO] [stderr] | [INFO] [stderr] 67 | fn insert_into_words(conn: &Connection, words: Vec, lang: &str) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `get_words_from_file` [INFO] [stderr] --> src/uriscraper.rs:79:1 [INFO] [stderr] | [INFO] [stderr] 79 | fn get_words_from_file(file: &str) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `start_db` [INFO] [stderr] --> src/main.rs:56:1 [INFO] [stderr] | [INFO] [stderr] 56 | fn start_db() { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `create_table` [INFO] [stderr] --> src/main.rs:63:1 [INFO] [stderr] | [INFO] [stderr] 63 | fn create_table() { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.16s [INFO] running `"docker" "inspect" "ad4148de745e9aee7dfec0873fd33fa5e40784ec8bf0ee151036f225fecf505f"` [INFO] running `"docker" "rm" "-f" "ad4148de745e9aee7dfec0873fd33fa5e40784ec8bf0ee151036f225fecf505f"` [INFO] [stdout] ad4148de745e9aee7dfec0873fd33fa5e40784ec8bf0ee151036f225fecf505f [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-4/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/gh/csrene/csrenetsindex:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+1.37.0" "test" "--frozen"` [INFO] [stdout] ceec3c23391ca12c8807dd02231fab12d350b60dbfeab79ac44283cbd61fc64a [INFO] running `"docker" "start" "-a" "ceec3c23391ca12c8807dd02231fab12d350b60dbfeab79ac44283cbd61fc64a"` [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.26s [INFO] [stderr] Running /opt/crater/target/debug/deps/csrenetsindex-d23a5a6c66809aae [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] running `"docker" "inspect" "ceec3c23391ca12c8807dd02231fab12d350b60dbfeab79ac44283cbd61fc64a"` [INFO] running `"docker" "rm" "-f" "ceec3c23391ca12c8807dd02231fab12d350b60dbfeab79ac44283cbd61fc64a"` [INFO] [stdout] ceec3c23391ca12c8807dd02231fab12d350b60dbfeab79ac44283cbd61fc64a