[INFO] cloning repository https://github.com/bsundsrud/observatory [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bsundsrud/observatory" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbsundsrud%2Fobservatory", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbsundsrud%2Fobservatory'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f7e635c7a7d463099ec38beb98a5f8a41d8dec50 [INFO] testing bsundsrud/observatory against master#5d5ff84130da0d74c6ece368dbe821d8f83fa526 for pr-79296 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbsundsrud%2Fobservatory" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/bsundsrud/observatory 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/bsundsrud/observatory [INFO] finished tweaking git repo https://github.com/bsundsrud/observatory [INFO] tweaked toml for git repo https://github.com/bsundsrud/observatory written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/bsundsrud/observatory 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-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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] b2abca195db84dbb4a179caa9bce53c85cd53304a41f6addbdbf5930e2b89867 [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" "b2abca195db84dbb4a179caa9bce53c85cd53304a41f6addbdbf5930e2b89867", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b2abca195db84dbb4a179caa9bce53c85cd53304a41f6addbdbf5930e2b89867", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b2abca195db84dbb4a179caa9bce53c85cd53304a41f6addbdbf5930e2b89867", kill_on_drop: false }` [INFO] [stdout] b2abca195db84dbb4a179caa9bce53c85cd53304a41f6addbdbf5930e2b89867 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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] 3a53856445b18f82fc403e38d07cb507ee7ba2e566acb1ffed224e581e0ae9fe [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" "3a53856445b18f82fc403e38d07cb507ee7ba2e566acb1ffed224e581e0ae9fe", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v0.1.6 [INFO] [stderr] Compiling autocfg v0.1.2 [INFO] [stderr] Compiling rand_core v0.4.0 [INFO] [stderr] Compiling lazy_static v1.3.0 [INFO] [stderr] Compiling cc v1.0.29 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Compiling smallvec v0.6.9 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling futures v0.1.25 [INFO] [stderr] Compiling stable_deref_trait v1.1.1 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling proc-macro2 v0.4.27 [INFO] [stderr] Compiling lazycell v1.2.1 [INFO] [stderr] Compiling nodrop v0.1.13 [INFO] [stderr] Compiling encoding_index_tests v0.1.4 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Compiling memchr v2.2.0 [INFO] [stderr] Compiling pkg-config v0.3.14 [INFO] [stderr] Compiling rustc-demangle v0.1.13 [INFO] [stderr] Compiling slog v2.4.1 [INFO] [stderr] Compiling itoa v0.4.3 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling serde v1.0.88 [INFO] [stderr] Compiling bitflags v1.0.4 [INFO] [stderr] Compiling linked-hash-map v0.4.2 [INFO] [stderr] Compiling httparse v1.3.3 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling ryu v0.2.7 [INFO] [stderr] Compiling quick-error v1.2.2 [INFO] [stderr] Compiling openssl v0.10.18 [INFO] [stderr] Compiling indexmap v1.0.2 [INFO] [stderr] Compiling native-tls v0.2.2 [INFO] [stderr] Compiling try-lock v0.2.2 [INFO] [stderr] Compiling encoding_rs v0.8.17 [INFO] [stderr] Compiling crossbeam v0.2.12 [INFO] [stderr] Compiling safemem v0.3.0 [INFO] [stderr] Compiling ucd-util v0.1.3 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling regex v1.1.0 [INFO] [stderr] Compiling untrusted v0.6.2 [INFO] [stderr] Compiling utf8-ranges v0.1.3 [INFO] [stderr] Compiling take_mut v0.2.2 [INFO] [stderr] Compiling regex-syntax v0.3.9 [INFO] [stderr] Compiling utf8-ranges v1.0.2 [INFO] [stderr] Compiling sha1 v0.6.0 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling ordermap v0.3.5 [INFO] [stderr] Compiling fixedbitset v0.1.9 [INFO] [stderr] Compiling linked-hash-map v0.5.1 [INFO] [stderr] Compiling unicase v2.2.0 [INFO] [stderr] Compiling v_escape v0.3.2 [INFO] [stderr] Compiling v_htmlescape v0.3.2 [INFO] [stderr] Compiling actix-web v0.7.18 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling owning_ref v0.4.0 [INFO] [stderr] Compiling encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-japanese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Compiling encoding-index-korean v1.20141219.5 [INFO] [stderr] Compiling crossbeam-utils v0.6.5 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.3 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling unicode-normalization v0.1.8 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling backtrace v0.3.14 [INFO] [stderr] Compiling lru-cache v0.1.1 [INFO] [stderr] Compiling yaml-rust v0.4.2 [INFO] [stderr] Compiling regex-syntax v0.6.5 [INFO] [stderr] Compiling arrayvec v0.4.10 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling petgraph v0.4.13 [INFO] [stderr] Compiling lock_api v0.1.5 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling crc32fast v1.1.2 [INFO] [stderr] Compiling tokio-sync v0.1.2 [INFO] [stderr] Compiling want v0.0.6 [INFO] [stderr] Compiling tower-service v0.1.0 [INFO] [stderr] Compiling tokio-executor v0.1.6 [INFO] [stderr] Compiling crossbeam-channel v0.3.8 [INFO] [stderr] Compiling encoding v0.2.33 [INFO] [stderr] Compiling rand_os v0.1.2 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling socket2 v0.3.8 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling hostname v0.1.5 [INFO] [stderr] Compiling signal-hook v0.1.8 [INFO] [stderr] Compiling memchr v0.1.11 [INFO] [stderr] Compiling isatty v0.1.9 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling crossbeam-epoch v0.7.1 [INFO] [stderr] Compiling backtrace-sys v0.1.28 [INFO] [stderr] Compiling openssl-sys v0.9.41 [INFO] [stderr] Compiling ring v0.13.5 [INFO] [stderr] Compiling miniz-sys v0.1.11 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling tokio-timer v0.2.10 [INFO] [stderr] Compiling tokio-current-thread v0.1.4 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling nom v4.2.0 [INFO] [stderr] Compiling aho-corasick v0.6.10 [INFO] [stderr] Compiling slog-async v2.3.0 [INFO] [stderr] Compiling slog-atomic v2.0.0 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling bytes v0.4.11 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling term v0.5.1 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling libflate v0.1.20 [INFO] [stderr] Compiling quote v0.6.11 [INFO] [stderr] Compiling resolv-conf v0.6.2 [INFO] [stderr] Compiling aho-corasick v0.5.3 [INFO] [stderr] Compiling mio v0.6.16 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling thread-id v2.0.0 [INFO] [stderr] Compiling mime v0.3.13 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Compiling crossbeam-deque v0.6.3 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling tokio-io v0.1.11 [INFO] [stderr] Compiling http v0.1.16 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling syn v0.15.26 [INFO] [stderr] Compiling phf v0.7.24 [INFO] [stderr] Compiling thread_local v0.2.7 [INFO] [stderr] Compiling chrono v0.4.6 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling regex v0.1.80 [INFO] [stderr] Compiling tokio-codec v0.1.1 [INFO] [stderr] Compiling flate2 v1.0.6 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling uuid v0.7.2 [INFO] [stderr] Compiling serde_urlencoded v0.5.4 [INFO] [stderr] Compiling serde_json v1.0.38 [INFO] [stderr] Compiling toml v0.4.10 [INFO] [stderr] Compiling serde_yaml v0.8.8 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling parking_lot v0.7.1 [INFO] [stderr] Compiling cookie v0.11.0 [INFO] [stderr] Compiling slog-term v2.4.0 [INFO] [stderr] Compiling mime_guess v2.0.0-alpha.6 [INFO] [stderr] Compiling tokio-reactor v0.1.8 [INFO] [stderr] Compiling crossbeam v0.6.0 [INFO] [stderr] Compiling tokio-threadpool v0.1.11 [INFO] [stderr] Compiling slog-scope v4.1.1 [INFO] [stderr] Compiling h2 v0.1.16 [INFO] [stderr] Compiling tokio-tcp v0.1.3 [INFO] [stderr] Compiling tokio-udp v0.1.3 [INFO] [stderr] Compiling tokio-uds v0.2.5 [INFO] [stderr] Compiling tokio-signal v0.2.7 [INFO] [stderr] Compiling slog-stdlog v3.0.2 [INFO] [stderr] Compiling tokio-fs v0.1.5 [INFO] [stderr] Compiling slog-envlogger v2.1.0 [INFO] [stderr] Compiling brotli2 v0.3.2 [INFO] [stderr] Compiling tokio v0.1.15 [INFO] [stderr] Compiling hyper v0.12.24 [INFO] [stderr] Compiling synstructure v0.10.1 [INFO] [stderr] Compiling hyper-tls v0.3.1 [INFO] [stderr] Compiling reqwest v0.9.10 [INFO] [stderr] Compiling actix_derive v0.3.2 [INFO] [stderr] Compiling v_escape_derive v0.2.1 [INFO] [stderr] Compiling serde_derive v1.0.88 [INFO] [stderr] Compiling serde_repr v0.1.3 [INFO] [stderr] Compiling failure v0.1.5 [INFO] [stderr] Compiling trust-dns-proto v0.6.3 [INFO] [stderr] Compiling trust-dns-proto v0.5.0 [INFO] [stderr] Compiling trust-dns-resolver v0.10.3 [INFO] [stderr] Compiling actix v0.7.9 [INFO] [stderr] Compiling actix-net v0.2.6 [INFO] [stderr] Compiling observatory v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `App`, `HttpRequest`, `Responder` [INFO] [stdout] --> src/main.rs:8:25 [INFO] [stdout] | [INFO] [stdout] 8 | use actix_web::{server, App, HttpRequest, Responder}; [INFO] [stdout] | ^^^ ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/logging/mod.rs:18:26 [INFO] [stdout] | [INFO] [stdout] 18 | fn timestamp_fn(io: &mut io::Write) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn io::Write` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/model/mod.rs:80:24 [INFO] [stdout] | [INFO] [stdout] 80 | Some((idx, n)) => idx, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `logger` [INFO] [stdout] --> src/api.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | logger: Logger, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `set_global_level` [INFO] [stdout] --> src/logging/mod.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn set_global_level(level: Level) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `graph_name` [INFO] [stdout] --> src/model/mod.rs:143:4 [INFO] [stdout] | [INFO] [stdout] 143 | fn graph_name(name: &str, parent: Option<&str>) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/model/mod.rs:247:12 [INFO] [stdout] | [INFO] [stdout] 247 | pub fn new(normal: f64, warning: f64, danger: f64) -> Metrics { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4m 33s [INFO] running `Command { std: "docker" "inspect" "3a53856445b18f82fc403e38d07cb507ee7ba2e566acb1ffed224e581e0ae9fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a53856445b18f82fc403e38d07cb507ee7ba2e566acb1ffed224e581e0ae9fe", kill_on_drop: false }` [INFO] [stdout] 3a53856445b18f82fc403e38d07cb507ee7ba2e566acb1ffed224e581e0ae9fe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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] 6a6351af0441ff00cc89f5ccaf6b4bff2e3d9303d87f35e72bfb9e911e6bd628 [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" "6a6351af0441ff00cc89f5ccaf6b4bff2e3d9303d87f35e72bfb9e911e6bd628", kill_on_drop: false }` [INFO] [stderr] Compiling observatory v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `App`, `HttpRequest`, `Responder` [INFO] [stdout] --> src/main.rs:8:25 [INFO] [stdout] | [INFO] [stdout] 8 | use actix_web::{server, App, HttpRequest, Responder}; [INFO] [stdout] | ^^^ ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/logging/mod.rs:18:26 [INFO] [stdout] | [INFO] [stdout] 18 | fn timestamp_fn(io: &mut io::Write) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn io::Write` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/model/mod.rs:80:24 [INFO] [stdout] | [INFO] [stdout] 80 | Some((idx, n)) => idx, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `logger` [INFO] [stdout] --> src/api.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | logger: Logger, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `graph_name` [INFO] [stdout] --> src/model/mod.rs:143:4 [INFO] [stdout] | [INFO] [stdout] 143 | fn graph_name(name: &str, parent: Option<&str>) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/model/mod.rs:247:12 [INFO] [stdout] | [INFO] [stdout] 247 | pub fn new(normal: f64, warning: f64, danger: f64) -> Metrics { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 9.62s [INFO] running `Command { std: "docker" "inspect" "6a6351af0441ff00cc89f5ccaf6b4bff2e3d9303d87f35e72bfb9e911e6bd628", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6a6351af0441ff00cc89f5ccaf6b4bff2e3d9303d87f35e72bfb9e911e6bd628", kill_on_drop: false }` [INFO] [stdout] 6a6351af0441ff00cc89f5ccaf6b4bff2e3d9303d87f35e72bfb9e911e6bd628 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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] 410d3ef1e7a64c2c593aa690dc96787e12229ca99962e73672276937ed04c053 [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" "410d3ef1e7a64c2c593aa690dc96787e12229ca99962e73672276937ed04c053", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `App`, `HttpRequest`, `Responder` [INFO] [stderr] --> src/main.rs:8:25 [INFO] [stderr] | [INFO] [stderr] 8 | use actix_web::{server, App, HttpRequest, Responder}; [INFO] [stderr] | ^^^ ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/logging/mod.rs:18:26 [INFO] [stderr] | [INFO] [stderr] 18 | fn timestamp_fn(io: &mut io::Write) -> io::Result<()> { [INFO] [stderr] | ^^^^^^^^^ help: use `dyn`: `dyn io::Write` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `n` [INFO] [stderr] --> src/model/mod.rs:80:24 [INFO] [stderr] | [INFO] [stderr] 80 | Some((idx, n)) => idx, [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field is never read: `logger` [INFO] [stderr] --> src/api.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | logger: Logger, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `graph_name` [INFO] [stderr] --> src/model/mod.rs:143:4 [INFO] [stderr] | [INFO] [stderr] 143 | fn graph_name(name: &str, parent: Option<&str>) -> String { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/model/mod.rs:247:12 [INFO] [stderr] | [INFO] [stderr] 247 | pub fn new(normal: f64, warning: f64, danger: f64) -> Metrics { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: 6 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.24s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/observatory-2d8b4acbc924682f [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stderr] 2020-11-30 06:54:11.533 DEBG Creating new graph node 'Global' [INFO] [stdout] test model::test::load_parsed_file ... ok [INFO] [stderr] 2020-11-30 06:54:11.533 DEBG Creating leaf node 'foo' [INFO] [stderr] 2020-11-30 06:54:11.534 TRCE Adding node 'foo' to graph [INFO] [stderr] 2020-11-30 06:54:11.534 DEBG Creating leaf node 'bar' [INFO] [stderr] 2020-11-30 06:54:11.534 TRCE Adding node 'bar' to graph [INFO] [stderr] 2020-11-30 06:54:11.534 TRCE Adding connections [INFO] [stderr] 2020-11-30 06:54:11.534 TRCE Connected foo => bar [INFO] [stderr] 2020-11-30 06:54:11.534 DEBG Creating new graph node 'nested' [INFO] [stderr] 2020-11-30 06:54:11.534 DEBG Creating leaf node 'INTERNET' [INFO] [stderr] 2020-11-30 06:54:11.534 TRCE Adding node 'INTERNET' to graph [INFO] [stderr] 2020-11-30 06:54:11.534 DEBG Creating new graph node 'foo' [INFO] [stderr] 2020-11-30 06:54:11.534 DEBG Creating leaf node 'foo-1' [INFO] [stderr] 2020-11-30 06:54:11.534 TRCE Adding node 'foo-1' to graph [INFO] [stderr] 2020-11-30 06:54:11.534 DEBG Creating leaf node 'foo-2' [INFO] [stderr] 2020-11-30 06:54:11.534 TRCE Adding node 'foo-2' to graph [INFO] [stderr] 2020-11-30 06:54:11.534 TRCE Adding connections [INFO] [stderr] 2020-11-30 06:54:11.534 TRCE Connected foo-1 => foo-2 [INFO] [stderr] 2020-11-30 06:54:11.534 TRCE Adding node 'foo' to graph [INFO] [stderr] 2020-11-30 06:54:11.534 TRCE Adding connections [INFO] [stderr] 2020-11-30 06:54:11.534 TRCE Connected INTERNET => foo [INFO] [stdout] test config::test::load_simple_sample ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- config::test::load_simple_sample stdout ---- [INFO] [stdout] thread 'config::test::load_simple_sample' panicked at 'assertion failed: `(left == right)` [INFO] [stdout] left: `1`, [INFO] [stdout] right: `2`', src/config/mod.rs:32:9 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x560aa3c2f880 - 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: 0x560aa3c2f880 - 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: 0x560aa3c2f880 - std::sys_common::backtrace::_print_fmt::h93d302d001a3bf01 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x560aa3c2f880 - ::fmt::h7881e3a580134f9a [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x560aa3c563cc - core::fmt::write::h1857a60b204f1b6a [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/core/src/fmt/mod.rs:1078:17 [INFO] [stdout] 5: 0x560aa3c2bc12 - std::io::Write::write_fmt::hd17811b9a5dec54b [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/io/mod.rs:1519:15 [INFO] [stdout] 6: 0x560aa3c320b5 - std::sys_common::backtrace::_print::h3e3f9fed81bc11e9 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x560aa3c320b5 - std::sys_common::backtrace::print::hd22ac23fed5071c8 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x560aa3c320b5 - std::panicking::default_hook::{{closure}}::h1647bdcf68060e17 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/panicking.rs:208:50 [INFO] [stdout] 9: 0x560aa3c31c42 - std::panicking::default_hook::hb08853b392b9404b [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/panicking.rs:222:9 [INFO] [stdout] 10: 0x560aa3c32851 - std::panicking::rust_panic_with_hook::h3624ee29da369ede [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/panicking.rs:591:17 [INFO] [stdout] 11: 0x560aa3c32397 - std::panicking::begin_panic_handler::{{closure}}::hefcfcedcde6bb6d9 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/panicking.rs:497:13 [INFO] [stdout] 12: 0x560aa3c2fd3c - 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: 0x560aa3c322f9 - rust_begin_unwind [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/panicking.rs:493:5 [INFO] [stdout] 14: 0x560aa3c322ab - std::panicking::begin_panic_fmt::h37a25c59c4d54517 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/panicking.rs:435:5 [INFO] [stdout] 15: 0x560aa3ac5886 - observatory::config::test::load_simple_sample::hb5c21e04a4684934 [INFO] [stdout] at /opt/rustwide/workdir/src/config/mod.rs:32:9 [INFO] [stdout] 16: 0x560aa3ac564a - observatory::config::test::load_simple_sample::{{closure}}::h13d2ad6554247f4d [INFO] [stdout] at /opt/rustwide/workdir/src/config/mod.rs:26:5 [INFO] [stdout] 17: 0x560aa3a981ae - core::ops::function::FnOnce::call_once::h115021c45c83148b [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 18: 0x560aa3af1143 - core::ops::function::FnOnce::call_once::h72b3efc134abec04 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 19: 0x560aa3af1143 - test::__rust_begin_short_backtrace::hf76173a3f44f554b [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/test/src/lib.rs:516:5 [INFO] [stdout] 20: 0x560aa3aef838 - as core::ops::function::FnOnce>::call_once::h49f5b686efed1e06 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/alloc/src/boxed.rs:1318:9 [INFO] [stdout] 21: 0x560aa3aef838 - as core::ops::function::FnOnce<()>>::call_once::h4879f836ca9aaead [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/panic.rs:322:9 [INFO] [stdout] 22: 0x560aa3aef838 - std::panicking::try::do_call::h9655796ce3021b6c [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/panicking.rs:379:40 [INFO] [stdout] 23: 0x560aa3aef838 - std::panicking::try::h346508ed448399f4 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/panicking.rs:343:19 [INFO] [stdout] 24: 0x560aa3aef838 - std::panic::catch_unwind::h00e84f4e9c3caaa0 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/panic.rs:396:14 [INFO] [stdout] 25: 0x560aa3aef838 - test::run_test_in_process::hc80321f825c30106 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/test/src/lib.rs:538:18 [INFO] [stdout] 26: 0x560aa3aef838 - test::run_test::run_test_inner::{{closure}}::h89c217441620999f [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/test/src/lib.rs:449:39 [INFO] [stdout] 27: 0x560aa3ac9e26 - 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] 28: 0x560aa3ace5ed - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::h7c7dfff4b938ae67 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/thread/mod.rs:474:17 [INFO] [stdout] 29: 0x560aa3ace5ed - as core::ops::function::FnOnce<()>>::call_once::h8db0dd15c072a403 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/panic.rs:322:9 [INFO] [stdout] 30: 0x560aa3ace5ed - std::panicking::try::do_call::haad8639857ae1187 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/panicking.rs:379:40 [INFO] [stdout] 31: 0x560aa3ace5ed - std::panicking::try::h61de115e9dce60f6 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/panicking.rs:343:19 [INFO] [stdout] 32: 0x560aa3ace5ed - std::panic::catch_unwind::h50601fd82666a838 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/panic.rs:396:14 [INFO] [stdout] 33: 0x560aa3ace5ed - std::thread::Builder::spawn_unchecked::{{closure}}::hac267391ef9d21bd [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/std/src/thread/mod.rs:473:30 [INFO] [stdout] 34: 0x560aa3ace5ed - core::ops::function::FnOnce::call_once{{vtable.shim}}::heb15d2d9c42706b7 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 35: 0x560aa3c37e4a - as core::ops::function::FnOnce>::call_once::h5446ed3fdb82006e [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/alloc/src/boxed.rs:1318:9 [INFO] [stdout] 36: 0x560aa3c37e4a - as core::ops::function::FnOnce>::call_once::h62a21a889329a3f2 [INFO] [stdout] at /rustc/5d5ff84130da0d74c6ece368dbe821d8f83fa526/library/alloc/src/boxed.rs:1318:9 [INFO] [stdout] 37: 0x560aa3c37e4a - 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] 38: 0x7f09b7072609 - start_thread [INFO] [stdout] 39: 0x7f09b6e42293 - clone [INFO] [stdout] 40: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] config::test::load_simple_sample [INFO] [stdout] [INFO] [stdout] test result: FAILED. 1 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--bin observatory' [INFO] running `Command { std: "docker" "inspect" "410d3ef1e7a64c2c593aa690dc96787e12229ca99962e73672276937ed04c053", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "410d3ef1e7a64c2c593aa690dc96787e12229ca99962e73672276937ed04c053", kill_on_drop: false }` [INFO] [stdout] 410d3ef1e7a64c2c593aa690dc96787e12229ca99962e73672276937ed04c053