[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#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbsundsrud%2Fobservatory" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/bsundsrud/observatory on toolchain 8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "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-6/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" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a3601a78feeba3f3d12dd311e64961c11440eb3f59b4ba20b1632ce376383bda [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" "a3601a78feeba3f3d12dd311e64961c11440eb3f59b4ba20b1632ce376383bda", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a3601a78feeba3f3d12dd311e64961c11440eb3f59b4ba20b1632ce376383bda", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a3601a78feeba3f3d12dd311e64961c11440eb3f59b4ba20b1632ce376383bda", kill_on_drop: false }` [INFO] [stdout] a3601a78feeba3f3d12dd311e64961c11440eb3f59b4ba20b1632ce376383bda [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] e92b6ee2a9558d14be0d7f1236a43b59c93128daf727599489360f534abbb1cd [INFO] running `Command { std: "docker" "start" "-a" "e92b6ee2a9558d14be0d7f1236a43b59c93128daf727599489360f534abbb1cd", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.49 [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 version_check v0.1.5 [INFO] [stderr] Compiling stable_deref_trait v1.1.1 [INFO] [stderr] Compiling proc-macro2 v0.4.27 [INFO] [stderr] Compiling arrayvec v0.4.10 [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 percent-encoding v1.0.1 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Compiling pkg-config v0.3.14 [INFO] [stderr] Compiling memchr v2.2.0 [INFO] [stderr] Compiling rustc-demangle v0.1.13 [INFO] [stderr] Compiling itoa v0.4.3 [INFO] [stderr] Compiling slog v2.4.1 [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 crc32fast v1.1.2 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling httparse v1.3.3 [INFO] [stderr] Compiling quick-error v1.2.2 [INFO] [stderr] Compiling arc-swap v0.3.7 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling indexmap v1.0.2 [INFO] [stderr] Compiling openssl v0.10.18 [INFO] [stderr] Compiling string v0.1.3 [INFO] [stderr] Compiling dtoa v0.4.3 [INFO] [stderr] Compiling native-tls v0.2.2 [INFO] [stderr] Compiling regex v1.1.0 [INFO] [stderr] Compiling crossbeam v0.2.12 [INFO] [stderr] Compiling encoding_rs v0.8.17 [INFO] [stderr] Compiling ucd-util v0.1.3 [INFO] [stderr] Compiling untrusted v0.6.2 [INFO] [stderr] Compiling safemem v0.3.0 [INFO] [stderr] Compiling regex-syntax v0.3.9 [INFO] [stderr] Compiling utf8-ranges v1.0.2 [INFO] [stderr] Compiling adler32 v1.0.3 [INFO] [stderr] Compiling utf8-ranges v0.1.3 [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 language-tags v0.2.2 [INFO] [stderr] Compiling sha1 v0.6.0 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling crossbeam-utils v0.6.5 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling owning_ref v0.4.0 [INFO] [stderr] Compiling encoding-index-japanese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-korean v1.20141219.5 [INFO] [stderr] Compiling encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [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 unicase v1.4.2 [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 rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [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 log v0.3.9 [INFO] [stderr] Compiling lock_api v0.1.5 [INFO] [stderr] Compiling petgraph v0.4.13 [INFO] [stderr] Compiling crossbeam-channel v0.3.8 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling encoding v0.2.33 [INFO] [stderr] Compiling tokio-executor v0.1.6 [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 rustc_version v0.2.3 [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 brotli-sys v0.3.2 [INFO] [stderr] Compiling miniz-sys v0.1.11 [INFO] [stderr] Compiling tokio-timer v0.2.10 [INFO] [stderr] Compiling tokio-current-thread v0.1.4 [INFO] [stderr] Compiling term v0.5.1 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling crossbeam-epoch v0.7.1 [INFO] [stderr] Compiling quote v0.6.11 [INFO] [stderr] Compiling rand_os v0.1.2 [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling num_cpus v1.10.0 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling time v0.1.42 [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 libflate v0.1.20 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling slog-async v2.3.0 [INFO] [stderr] Compiling slog-atomic v2.0.0 [INFO] [stderr] Compiling nom v4.2.0 [INFO] [stderr] Compiling aho-corasick v0.6.10 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Compiling thread-id v2.0.0 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling crossbeam-deque v0.6.3 [INFO] [stderr] Compiling syn v0.15.26 [INFO] [stderr] Compiling bytes v0.4.11 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling mime v0.3.13 [INFO] [stderr] Compiling resolv-conf v0.6.2 [INFO] [stderr] Compiling mio v0.6.16 [INFO] [stderr] Compiling aho-corasick v0.5.3 [INFO] [stderr] Compiling thread_local v0.2.7 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling phf v0.7.24 [INFO] [stderr] Compiling chrono v0.4.6 [INFO] [stderr] Compiling tokio-io v0.1.11 [INFO] [stderr] Compiling http v0.1.16 [INFO] [stderr] Compiling regex v0.1.80 [INFO] [stderr] Compiling flate2 v1.0.6 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling tokio-codec v0.1.1 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling uuid v0.7.2 [INFO] [stderr] Compiling slog-term v2.4.0 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling mime_guess v2.0.0-alpha.6 [INFO] [stderr] Compiling parking_lot v0.7.1 [INFO] [stderr] Compiling cookie v0.11.0 [INFO] [stderr] Compiling serde_json v1.0.38 [INFO] [stderr] Compiling serde_urlencoded v0.5.4 [INFO] [stderr] Compiling toml v0.4.10 [INFO] [stderr] Compiling serde_yaml v0.8.8 [INFO] [stderr] Compiling tokio-reactor v0.1.8 [INFO] [stderr] Compiling crossbeam v0.6.0 [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 tokio-threadpool v0.1.11 [INFO] [stderr] Compiling slog-scope v4.1.1 [INFO] [stderr] Compiling brotli2 v0.3.2 [INFO] [stderr] Compiling slog-stdlog v3.0.2 [INFO] [stderr] Compiling slog-envlogger v2.1.0 [INFO] [stderr] Compiling tokio-fs v0.1.5 [INFO] [stderr] Compiling tokio v0.1.15 [INFO] [stderr] Compiling synstructure v0.10.1 [INFO] [stderr] Compiling hyper v0.12.24 [INFO] [stderr] Compiling actix_derive v0.3.2 [INFO] [stderr] Compiling v_escape_derive v0.2.1 [INFO] [stderr] Compiling serde_repr v0.1.3 [INFO] [stderr] Compiling serde_derive v1.0.88 [INFO] [stderr] Compiling hyper-tls v0.3.1 [INFO] [stderr] Compiling reqwest v0.9.10 [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 3m 31s [INFO] running `Command { std: "docker" "inspect" "e92b6ee2a9558d14be0d7f1236a43b59c93128daf727599489360f534abbb1cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e92b6ee2a9558d14be0d7f1236a43b59c93128daf727599489360f534abbb1cd", kill_on_drop: false }` [INFO] [stdout] e92b6ee2a9558d14be0d7f1236a43b59c93128daf727599489360f534abbb1cd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 7f87f56d1dd5b32fc9cdc3171c625804dd2d97f4cbd9c6e6103e40008103241c [INFO] running `Command { std: "docker" "start" "-a" "7f87f56d1dd5b32fc9cdc3171c625804dd2d97f4cbd9c6e6103e40008103241c", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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.52s [INFO] running `Command { std: "docker" "inspect" "7f87f56d1dd5b32fc9cdc3171c625804dd2d97f4cbd9c6e6103e40008103241c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f87f56d1dd5b32fc9cdc3171c625804dd2d97f4cbd9c6e6103e40008103241c", kill_on_drop: false }` [INFO] [stdout] 7f87f56d1dd5b32fc9cdc3171c625804dd2d97f4cbd9c6e6103e40008103241c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ba9f4b33aa6b77ce47f5f06a272cd651cef523ccf63e05ce0d805bd5378e7751 [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" "ba9f4b33aa6b77ce47f5f06a272cd651cef523ccf63e05ce0d805bd5378e7751", 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.38s [INFO] [stdout] [INFO] [stderr] Running /opt/rustwide/target/debug/deps/observatory-62e061b89bcf4e4d [INFO] [stdout] running 2 tests [INFO] [stderr] 2020-07-26 07:01:24.443 DEBG Creating new graph node 'Global' [INFO] [stdout] test model::test::load_parsed_file ... ok [INFO] [stderr] 2020-07-26 07:01:24.443 DEBG Creating leaf node 'foo' [INFO] [stderr] 2020-07-26 07:01:24.443 TRCE Adding node 'foo' to graph [INFO] [stderr] 2020-07-26 07:01:24.444 DEBG Creating leaf node 'bar' [INFO] [stderr] 2020-07-26 07:01:24.444 TRCE Adding node 'bar' to graph [INFO] [stderr] 2020-07-26 07:01:24.444 TRCE Adding connections [INFO] [stderr] 2020-07-26 07:01:24.444 TRCE Connected foo => bar [INFO] [stderr] 2020-07-26 07:01:24.444 DEBG Creating new graph node 'nested' [INFO] [stderr] 2020-07-26 07:01:24.444 DEBG Creating leaf node 'INTERNET' [INFO] [stderr] 2020-07-26 07:01:24.444 TRCE Adding node 'INTERNET' to graph [INFO] [stderr] 2020-07-26 07:01:24.444 DEBG Creating new graph node 'foo' [INFO] [stderr] 2020-07-26 07:01:24.444 DEBG Creating leaf node 'foo-1' [INFO] [stderr] 2020-07-26 07:01:24.444 TRCE Adding node 'foo-1' to graph [INFO] [stderr] 2020-07-26 07:01:24.444 DEBG Creating leaf node 'foo-2' [INFO] [stderr] 2020-07-26 07:01:24.444 TRCE Adding node 'foo-2' to graph [INFO] [stderr] 2020-07-26 07:01:24.444 TRCE Adding connections [INFO] [stderr] 2020-07-26 07:01:24.444 TRCE Connected foo-1 => foo-2 [INFO] [stderr] 2020-07-26 07:01:24.444 TRCE Adding node 'foo' to graph [INFO] [stderr] 2020-07-26 07:01:24.444 TRCE Adding connections [INFO] [stderr] 2020-07-26 07:01:24.444 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: 0x5642c444f1f5 - backtrace::backtrace::libunwind::trace::hea89dfbbfe67f40d [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/libunwind.rs:86 [INFO] [stdout] 1: 0x5642c444f1f5 - backtrace::backtrace::trace_unsynchronized::h0513dd713d7644d4 [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/mod.rs:66 [INFO] [stdout] 2: 0x5642c444f1f5 - std::sys_common::backtrace::_print_fmt::h040abae64e4a24a9 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:78 [INFO] [stdout] 3: 0x5642c444f1f5 - ::fmt::hb4bdb37c3c335733 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:59 [INFO] [stdout] 4: 0x5642c447951c - core::fmt::write::h540ac4a6a1232abc [INFO] [stdout] at src/libcore/fmt/mod.rs:1076 [INFO] [stdout] 5: 0x5642c42f22a5 - std::io::Write::write_fmt::h4be0daababb55bba [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/io/mod.rs:1539 [INFO] [stdout] 6: 0x5642c4448b41 - std::io::impls::>::write_fmt::h83c1e1aa73f374f5 [INFO] [stdout] at src/libstd/io/impls.rs:176 [INFO] [stdout] 7: 0x5642c4451950 - std::sys_common::backtrace::_print::hb55cc635eaf1882e [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:62 [INFO] [stdout] 8: 0x5642c4451950 - std::sys_common::backtrace::print::h2b2218fa55714084 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:49 [INFO] [stdout] 9: 0x5642c4451950 - std::panicking::default_hook::{{closure}}::h578517c025765cf3 [INFO] [stdout] at src/libstd/panicking.rs:198 [INFO] [stdout] 10: 0x5642c445164a - std::panicking::default_hook::h4cafc94c2fc640fb [INFO] [stdout] at src/libstd/panicking.rs:214 [INFO] [stdout] 11: 0x5642c4451f93 - std::panicking::rust_panic_with_hook::h3eeb5001beeca5c3 [INFO] [stdout] at src/libstd/panicking.rs:526 [INFO] [stdout] 12: 0x5642c4451b8b - rust_begin_unwind [INFO] [stdout] at src/libstd/panicking.rs:437 [INFO] [stdout] 13: 0x5642c4451afb - std::panicking::begin_panic_fmt::hbb5e59697acc78ba [INFO] [stdout] at src/libstd/panicking.rs:391 [INFO] [stdout] 14: 0x5642c42ebc4d - observatory::config::test::load_simple_sample::he757cecfd16442fb [INFO] [stdout] at src/config/mod.rs:32 [INFO] [stdout] 15: 0x5642c42eb9ca - observatory::config::test::load_simple_sample::{{closure}}::ha6f9d8cf383ba684 [INFO] [stdout] at src/config/mod.rs:26 [INFO] [stdout] 16: 0x5642c42bdcee - core::ops::function::FnOnce::call_once::ha658817d74645408 [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libcore/ops/function.rs:233 [INFO] [stdout] 17: 0x5642c431981c - as core::ops::function::FnOnce>::call_once::h8340ba6798e0c4ff [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/liballoc/boxed.rs:1081 [INFO] [stdout] 18: 0x5642c431981c - as core::ops::function::FnOnce<()>>::call_once::h5590e98676605094 [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/panic.rs:318 [INFO] [stdout] 19: 0x5642c431981c - std::panicking::try::do_call::hd8680a2dbb0ed3c4 [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/panicking.rs:348 [INFO] [stdout] 20: 0x5642c431981c - std::panicking::try::h46b4de2d705e7a8d [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/panicking.rs:325 [INFO] [stdout] 21: 0x5642c431981c - std::panic::catch_unwind::h059b3f06991e0a9c [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/panic.rs:394 [INFO] [stdout] 22: 0x5642c431981c - test::run_test_in_process::h5ae08a65430494a4 [INFO] [stdout] at src/libtest/lib.rs:541 [INFO] [stdout] 23: 0x5642c431981c - test::run_test::run_test_inner::{{closure}}::h4b36073838376ae8 [INFO] [stdout] at src/libtest/lib.rs:450 [INFO] [stdout] 24: 0x5642c42f1796 - std::sys_common::backtrace::__rust_begin_short_backtrace::h0169d0be588b8bf0 [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/sys_common/backtrace.rs:130 [INFO] [stdout] 25: 0x5642c42f6785 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::h71bfc37e887d3973 [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/thread/mod.rs:475 [INFO] [stdout] 26: 0x5642c42f6785 - as core::ops::function::FnOnce<()>>::call_once::h36c65072907dc180 [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/panic.rs:318 [INFO] [stdout] 27: 0x5642c42f6785 - std::panicking::try::do_call::h4e0f426e17cd216c [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/panicking.rs:348 [INFO] [stdout] 28: 0x5642c42f6785 - std::panicking::try::hd05e4ef6b4303d29 [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/panicking.rs:325 [INFO] [stdout] 29: 0x5642c42f6785 - std::panic::catch_unwind::h19a1127ec729c5dd [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/panic.rs:394 [INFO] [stdout] 30: 0x5642c42f6785 - std::thread::Builder::spawn_unchecked::{{closure}}::h011300735f06b1e2 [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libstd/thread/mod.rs:474 [INFO] [stdout] 31: 0x5642c42f6785 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h1e3c55f31f1d122e [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/libcore/ops/function.rs:233 [INFO] [stdout] 32: 0x5642c445817a - as core::ops::function::FnOnce>::call_once::hc0e15d78a519721e [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/liballoc/boxed.rs:1081 [INFO] [stdout] 33: 0x5642c445817a - as core::ops::function::FnOnce>::call_once::h211da8fffb09f192 [INFO] [stdout] at /rustc/8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e/src/liballoc/boxed.rs:1081 [INFO] [stdout] 34: 0x5642c445817a - std::sys::unix::thread::Thread::new::thread_start::h29594ddebf23e421 [INFO] [stdout] at src/libstd/sys/unix/thread.rs:87 [INFO] [stdout] 35: 0x7fd952a7f609 - start_thread [INFO] [stdout] 36: 0x7fd95298b103 - __clone [INFO] [stdout] 37: 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" "ba9f4b33aa6b77ce47f5f06a272cd651cef523ccf63e05ce0d805bd5378e7751", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba9f4b33aa6b77ce47f5f06a272cd651cef523ccf63e05ce0d805bd5378e7751", kill_on_drop: false }` [INFO] [stdout] ba9f4b33aa6b77ce47f5f06a272cd651cef523ccf63e05ce0d805bd5378e7751