[INFO] cloning repository https://github.com/JorgeMartinezG/mc2 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JorgeMartinezG/mc2" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJorgeMartinezG%2Fmc2", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJorgeMartinezG%2Fmc2'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c61b703732741dad50feaae6d0273fb71e9b83ab [INFO] testing JorgeMartinezG/mc2 against master#5d5ff84130da0d74c6ece368dbe821d8f83fa526 for pr-79296 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJorgeMartinezG%2Fmc2" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/JorgeMartinezG/mc2 on toolchain 5d5ff84130da0d74c6ece368dbe821d8f83fa526 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/JorgeMartinezG/mc2 [INFO] finished tweaking git repo https://github.com/JorgeMartinezG/mc2 [INFO] tweaked toml for git repo https://github.com/JorgeMartinezG/mc2 written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate git repo https://github.com/JorgeMartinezG/mc2 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d0e916d39827a5c3e39587c7284c050cfb5cbadb82297ce7b7bd6eaea1ccdb76 [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" "d0e916d39827a5c3e39587c7284c050cfb5cbadb82297ce7b7bd6eaea1ccdb76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d0e916d39827a5c3e39587c7284c050cfb5cbadb82297ce7b7bd6eaea1ccdb76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0e916d39827a5c3e39587c7284c050cfb5cbadb82297ce7b7bd6eaea1ccdb76", kill_on_drop: false }` [INFO] [stdout] d0e916d39827a5c3e39587c7284c050cfb5cbadb82297ce7b7bd6eaea1ccdb76 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a090944039edc1f6ccb9a820ceecaae24b9c775a78ae6d19b61798a201368c1a [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" "a090944039edc1f6ccb9a820ceecaae24b9c775a78ae6d19b61798a201368c1a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling futures-core v0.3.7 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling futures-sink v0.3.7 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling pin-project-lite v0.1.11 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Compiling futures-io v0.3.7 [INFO] [stderr] Compiling once_cell v1.4.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling pin-project-internal v0.4.27 [INFO] [stderr] Compiling cc v1.0.61 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling tinyvec v0.3.4 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling adler v0.2.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.9 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling match_cfg v0.1.0 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling const_fn v0.4.3 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling regex-syntax v0.6.21 [INFO] [stderr] Compiling serde_json v1.0.59 [INFO] [stderr] Compiling openssl v0.10.30 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling cpuid-bool v0.1.2 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling tower-service v0.3.0 [INFO] [stderr] Compiling httpdate v0.3.2 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling subtle v1.0.0 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling robust v0.2.2 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling ipnet v2.3.0 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Compiling tracing-core v0.1.17 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling geographiclib-rs v0.2.0 [INFO] [stderr] Compiling futures-channel v0.3.7 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling futures-task v0.3.7 [INFO] [stderr] Compiling bytestring v0.1.5 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling lock_api v0.4.2 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling indexmap v1.6.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling unicode-normalization v0.1.13 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling standback v0.2.13 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling time v0.2.23 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling cookie v0.14.3 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling tinyvec v1.1.0 [INFO] [stderr] Compiling encoding_rs v0.8.24 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling tracing v0.1.21 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling hash32 v0.1.1 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.35 [INFO] [stderr] Compiling signal-hook-registry v1.2.2 [INFO] [stderr] Compiling parking_lot_core v0.8.0 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling socket2 v0.3.15 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling generic-array v0.13.2 [INFO] [stderr] Compiling backtrace v0.3.55 [INFO] [stderr] Compiling flate2 v1.0.19 [INFO] [stderr] Compiling crossbeam-channel v0.4.4 [INFO] [stderr] Compiling regex v1.4.2 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling syn v1.0.48 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling resolv-conf v0.7.0 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling crypto-mac v0.7.0 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling as-slice v0.1.4 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling hmac v0.7.1 [INFO] [stderr] Compiling sha-1 v0.8.2 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling sha-1 v0.9.2 [INFO] [stderr] Compiling env_logger v0.8.2 [INFO] [stderr] Compiling itsdangerous v0.3.1 [INFO] [stderr] Compiling tokio v0.2.22 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling heapless v0.5.6 [INFO] [stderr] Compiling rstar v0.8.2 [INFO] [stderr] Compiling geo-types v0.6.2 [INFO] [stderr] Compiling brotli2 v0.3.2 [INFO] [stderr] Compiling geo v0.16.0 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling tokio-tls v0.3.1 [INFO] [stderr] Compiling pin-project-internal v1.0.1 [INFO] [stderr] Compiling futures-macro v0.3.7 [INFO] [stderr] Compiling derive_more v0.99.11 [INFO] [stderr] Compiling actix-macros v0.1.2 [INFO] [stderr] Compiling thiserror-impl v1.0.21 [INFO] [stderr] Compiling enum-as-inner v0.3.3 [INFO] [stderr] Compiling async-trait v0.1.42 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling actix_derive v0.5.0 [INFO] [stderr] Compiling actix-web-codegen v0.4.0 [INFO] [stderr] Compiling structopt-derive v0.4.13 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling thiserror v1.0.21 [INFO] [stderr] Compiling structopt v0.3.20 [INFO] [stderr] Compiling pin-project v0.4.27 [INFO] [stderr] Compiling actix-codec v0.3.0 [INFO] [stderr] Compiling tracing-futures v0.2.4 [INFO] [stderr] Compiling pin-project v1.0.1 [INFO] [stderr] Compiling futures-util v0.3.7 [INFO] [stderr] Compiling actix-threadpool v0.3.3 [INFO] [stderr] Compiling actix-rt v1.1.1 [INFO] [stderr] Compiling actix-service v1.0.6 [INFO] [stderr] Compiling futures v0.3.7 [INFO] [stderr] Compiling h2 v0.2.7 [INFO] [stderr] Compiling trust-dns-proto v0.19.6 [INFO] [stderr] Compiling actix-utils v2.0.0 [INFO] [stderr] Compiling actix-server v1.0.4 [INFO] [stderr] Compiling actix-tls v2.0.0 [INFO] [stderr] Compiling actix-testing v1.0.1 [INFO] [stderr] Compiling trust-dns-resolver v0.19.6 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling actix-router v0.2.5 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling uuid v0.8.1 [INFO] [stderr] Compiling actix-connect v2.0.0 [INFO] [stderr] Compiling actix v0.10.0 [INFO] [stderr] Compiling geojson v0.20.1 [INFO] [stderr] Compiling actix-http v2.1.0 [INFO] [stderr] Compiling hyper v0.13.8 [INFO] [stderr] Compiling awc v2.0.1 [INFO] [stderr] Compiling hyper-tls v0.4.3 [INFO] [stderr] Compiling actix-web v3.2.0 [INFO] [stderr] Compiling reqwest v0.10.8 [INFO] [stderr] Compiling mc2 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> src/server.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | use log::{error, info}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `campaign::Campaign` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use campaign::Campaign; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `notifications::Notifications` [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use notifications::Notifications; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json` [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `parser::parse` [INFO] [stdout] --> src/main.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use parser::parse; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error` [INFO] [stdout] --> src/errors.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | fn from(error: serde_json::Error) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_contributor` [INFO] [stdout] --> src/elements.rs:161:12 [INFO] [stdout] | [INFO] [stdout] 161 | pub fn add_contributor(&self, contributors: &mut HashMap) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_user` [INFO] [stdout] --> src/elements.rs:170:12 [INFO] [stdout] | [INFO] [stdout] 170 | pub fn get_user(&self) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `BadClientData` [INFO] [stdout] --> src/errors.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | BadClientData, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Timeout` [INFO] [stdout] --> src/errors.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | Timeout, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `token` [INFO] [stdout] --> src/server.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | token: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `overpass` [INFO] [stdout] --> src/storage.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn overpass(&self) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `json` [INFO] [stdout] --> src/storage.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn json(&self) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/commands.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | / storage [INFO] [stdout] 59 | | .save_campaign(campaign) [INFO] [stdout] 60 | | .map_err(|err| Notifications::SerdeError(err.to_string())); [INFO] [stdout] | |___________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5m 44s [INFO] running `Command { std: "docker" "inspect" "a090944039edc1f6ccb9a820ceecaae24b9c775a78ae6d19b61798a201368c1a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a090944039edc1f6ccb9a820ceecaae24b9c775a78ae6d19b61798a201368c1a", kill_on_drop: false }` [INFO] [stdout] a090944039edc1f6ccb9a820ceecaae24b9c775a78ae6d19b61798a201368c1a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d7f804738180aa542841e593a924ddc5d2996b776de79c428ff1c602b2a89744 [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" "d7f804738180aa542841e593a924ddc5d2996b776de79c428ff1c602b2a89744", kill_on_drop: false }` [INFO] [stderr] Compiling mc2 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> src/server.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | use log::{error, info}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error` [INFO] [stdout] --> src/errors.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | fn from(error: serde_json::Error) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_contributor` [INFO] [stdout] --> src/elements.rs:161:12 [INFO] [stdout] | [INFO] [stdout] 161 | pub fn add_contributor(&self, contributors: &mut HashMap) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_user` [INFO] [stdout] --> src/elements.rs:170:12 [INFO] [stdout] | [INFO] [stdout] 170 | pub fn get_user(&self) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `BadClientData` [INFO] [stdout] --> src/errors.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | BadClientData, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Timeout` [INFO] [stdout] --> src/errors.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | Timeout, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `token` [INFO] [stdout] --> src/server.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | token: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `overpass` [INFO] [stdout] --> src/storage.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn overpass(&self) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `json` [INFO] [stdout] --> src/storage.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn json(&self) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/commands.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | / storage [INFO] [stdout] 59 | | .save_campaign(campaign) [INFO] [stdout] 60 | | .map_err(|err| Notifications::SerdeError(err.to_string())); [INFO] [stdout] | |___________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 10.08s [INFO] running `Command { std: "docker" "inspect" "d7f804738180aa542841e593a924ddc5d2996b776de79c428ff1c602b2a89744", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d7f804738180aa542841e593a924ddc5d2996b776de79c428ff1c602b2a89744", kill_on_drop: false }` [INFO] [stdout] d7f804738180aa542841e593a924ddc5d2996b776de79c428ff1c602b2a89744 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 5a5316b05194c9d7ecc6906e1cf0890547b5cd10e97ecf930d03293974d14e63 [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" "5a5316b05194c9d7ecc6906e1cf0890547b5cd10e97ecf930d03293974d14e63", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `error` [INFO] [stderr] --> src/server.rs:15:11 [INFO] [stderr] | [INFO] [stderr] 15 | use log::{error, info}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `error` [INFO] [stderr] --> src/errors.rs:14:13 [INFO] [stderr] | [INFO] [stderr] 14 | fn from(error: serde_json::Error) -> Self { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_error` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `add_contributor` [INFO] [stderr] --> src/elements.rs:161:12 [INFO] [stderr] | [INFO] [stderr] 161 | pub fn add_contributor(&self, contributors: &mut HashMap) { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get_user` [INFO] [stderr] --> src/elements.rs:170:12 [INFO] [stderr] | [INFO] [stderr] 170 | pub fn get_user(&self) -> String { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `BadClientData` [INFO] [stderr] --> src/errors.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | BadClientData, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Timeout` [INFO] [stderr] --> src/errors.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | Timeout, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `token` [INFO] [stderr] --> src/server.rs:50:5 [INFO] [stderr] | [INFO] [stderr] 50 | token: String, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `overpass` [INFO] [stderr] --> src/storage.rs:62:12 [INFO] [stderr] | [INFO] [stderr] 62 | pub fn overpass(&self) -> String { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `json` [INFO] [stderr] --> src/storage.rs:66:12 [INFO] [stderr] | [INFO] [stderr] 66 | pub fn json(&self) -> String { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> src/commands.rs:58:5 [INFO] [stderr] | [INFO] [stderr] 58 | / storage [INFO] [stderr] 59 | | .save_campaign(campaign) [INFO] [stderr] 60 | | .map_err(|err| Notifications::SerdeError(err.to_string())); [INFO] [stderr] | |___________________________________________________________________^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: 10 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.59s [INFO] [stdout] [INFO] [stderr] Running /opt/rustwide/target/debug/deps/mc2-c16eaf0efafa1fb7 [INFO] [stdout] running 1 test [INFO] [stdout] test campaign_test::test_load_campaign ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- campaign_test::test_load_campaign stdout ---- [INFO] [stdout] thread 'campaign_test::test_load_campaign' panicked at 'Could not open xml file: Os { code: 2, kind: NotFound, message: "No such file or directory" }', src/parser.rs:100:53 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5615c5c9e0f0 - std::backtrace_rs::backtrace::libunwind::trace::h95fc93571932622e [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/../../backtrace/src/backtrace/libunwind.rs:90:5 [INFO] [stdout] 1: 0x5615c5c9e0f0 - std::backtrace_rs::backtrace::trace_unsynchronized::h4d0b90afc33151fd [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x5615c5c9e0f0 - std::sys_common::backtrace::_print_fmt::h93d302d001a3bf01 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x5615c5c9e0f0 - ::fmt::h7881e3a580134f9a [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x5615c5cc2fec - core::fmt::write::h1857a60b204f1b6a [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/core/src/fmt/mod.rs:1078:17 [INFO] [stdout] 5: 0x5615c5c9a592 - std::io::Write::write_fmt::hd17811b9a5dec54b [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/io/mod.rs:1519:15 [INFO] [stdout] 6: 0x5615c5ca0925 - std::sys_common::backtrace::_print::h3e3f9fed81bc11e9 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x5615c5ca0925 - std::sys_common::backtrace::print::hd22ac23fed5071c8 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x5615c5ca0925 - std::panicking::default_hook::{{closure}}::h1647bdcf68060e17 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/panicking.rs:208:50 [INFO] [stdout] 9: 0x5615c5ca04b2 - std::panicking::default_hook::hb08853b392b9404b [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/panicking.rs:222:9 [INFO] [stdout] 10: 0x5615c5ca10c1 - std::panicking::rust_panic_with_hook::h3624ee29da369ede [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/panicking.rs:591:17 [INFO] [stdout] 11: 0x5615c5ca0c07 - std::panicking::begin_panic_handler::{{closure}}::hefcfcedcde6bb6d9 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/panicking.rs:497:13 [INFO] [stdout] 12: 0x5615c5c9e5ac - std::sys_common::backtrace::__rust_end_short_backtrace::heb130cec93caa706 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/sys_common/backtrace.rs:141:18 [INFO] [stdout] 13: 0x5615c5ca0b69 - rust_begin_unwind [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/panicking.rs:493:5 [INFO] [stdout] 14: 0x5615c5cc16c1 - core::panicking::panic_fmt::hb15d6f55e8472f62 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/core/src/panicking.rs:92:14 [INFO] [stdout] 15: 0x5615c5cc14e3 - core::option::expect_none_failed::he492a18657d97593 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/core/src/option.rs:1268:5 [INFO] [stdout] 16: 0x5615c5b44bb9 - core::result::Result::expect::h5870ded82b322626 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/core/src/result.rs:933:23 [INFO] [stdout] 17: 0x5615c5b473e9 - mc2::parser::parse::h53663082838de4ae [INFO] [stdout] at /opt/rustwide/workdir/src/parser.rs:100:31 [INFO] [stdout] 18: 0x5615c5b6229b - mc2::campaign_test::test_load_campaign::hbe88835a617e4ccf [INFO] [stdout] at /opt/rustwide/workdir/src/main.rs:151:9 [INFO] [stdout] 19: 0x5615c5b621ca - mc2::campaign_test::test_load_campaign::{{closure}}::h0d573d35ad713d8a [INFO] [stdout] at /opt/rustwide/workdir/src/main.rs:82:5 [INFO] [stdout] 20: 0x5615c5b4d83e - core::ops::function::FnOnce::call_once::h0760ecddbac5e04a [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 21: 0x5615c5b90523 - core::ops::function::FnOnce::call_once::h72b3efc134abec04 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 22: 0x5615c5b90523 - test::__rust_begin_short_backtrace::hf76173a3f44f554b [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/test/src/lib.rs:516:5 [INFO] [stdout] 23: 0x5615c5b8ec18 - as core::ops::function::FnOnce>::call_once::h49f5b686efed1e06 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/alloc/src/boxed.rs:1318:9 [INFO] [stdout] 24: 0x5615c5b8ec18 - as core::ops::function::FnOnce<()>>::call_once::h4879f836ca9aaead [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/panic.rs:322:9 [INFO] [stdout] 25: 0x5615c5b8ec18 - std::panicking::try::do_call::h9655796ce3021b6c [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/panicking.rs:379:40 [INFO] [stdout] 26: 0x5615c5b8ec18 - std::panicking::try::h346508ed448399f4 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/panicking.rs:343:19 [INFO] [stdout] 27: 0x5615c5b8ec18 - std::panic::catch_unwind::h00e84f4e9c3caaa0 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/panic.rs:396:14 [INFO] [stdout] 28: 0x5615c5b8ec18 - test::run_test_in_process::hc80321f825c30106 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/test/src/lib.rs:538:18 [INFO] [stdout] 29: 0x5615c5b8ec18 - test::run_test::run_test_inner::{{closure}}::h89c217441620999f [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/test/src/lib.rs:449:39 [INFO] [stdout] 30: 0x5615c5b69206 - std::sys_common::backtrace::__rust_begin_short_backtrace::h3852ec0877008db6 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/sys_common/backtrace.rs:125:18 [INFO] [stdout] 31: 0x5615c5b6d9cd - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::h7c7dfff4b938ae67 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/thread/mod.rs:474:17 [INFO] [stdout] 32: 0x5615c5b6d9cd - as core::ops::function::FnOnce<()>>::call_once::h8db0dd15c072a403 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/panic.rs:322:9 [INFO] [stdout] 33: 0x5615c5b6d9cd - std::panicking::try::do_call::haad8639857ae1187 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/panicking.rs:379:40 [INFO] [stdout] 34: 0x5615c5b6d9cd - std::panicking::try::h61de115e9dce60f6 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/panicking.rs:343:19 [INFO] [stdout] 35: 0x5615c5b6d9cd - std::panic::catch_unwind::h50601fd82666a838 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/panic.rs:396:14 [INFO] [stdout] 36: 0x5615c5b6d9cd - std::thread::Builder::spawn_unchecked::{{closure}}::hac267391ef9d21bd [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/thread/mod.rs:473:30 [INFO] [stdout] 37: 0x5615c5b6d9cd - core::ops::function::FnOnce::call_once{{vtable.shim}}::heb15d2d9c42706b7 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 38: 0x5615c5ca66aa - as core::ops::function::FnOnce>::call_once::h5446ed3fdb82006e [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/alloc/src/boxed.rs:1318:9 [INFO] [stdout] 39: 0x5615c5ca66aa - as core::ops::function::FnOnce>::call_once::h62a21a889329a3f2 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/alloc/src/boxed.rs:1318:9 [INFO] [stdout] 40: 0x5615c5ca66aa - std::sys::unix::thread::Thread::new::thread_start::h62402416daf174b6 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/sys/unix/thread.rs:71:17 [INFO] [stdout] 41: 0x7fb719652609 - start_thread [INFO] [stdout] 42: 0x7fb719422293 - clone [INFO] [stdout] 43: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] campaign_test::test_load_campaign [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--bin mc2' [INFO] running `Command { std: "docker" "inspect" "5a5316b05194c9d7ecc6906e1cf0890547b5cd10e97ecf930d03293974d14e63", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a5316b05194c9d7ecc6906e1cf0890547b5cd10e97ecf930d03293974d14e63", kill_on_drop: false }` [INFO] [stdout] 5a5316b05194c9d7ecc6906e1cf0890547b5cd10e97ecf930d03293974d14e63