[INFO] updating cached repository https://github.com/bsundsrud/observatory [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f7e635c7a7d463099ec38beb98a5f8a41d8dec50 [INFO] testing bsundsrud/observatory against 1.45.2 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbsundsrud%2Fobservatory" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/bsundsrud/observatory on toolchain 1.45.2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "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-4/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" "+1.45.2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "metadata" "--no-deps" "--format-version=1", 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] 37b5721bbc087dd25eaf79829105bde9b5a7baa35d43ca21866de3885d53a700 [INFO] running `Command { std: "docker" "start" "-a" "37b5721bbc087dd25eaf79829105bde9b5a7baa35d43ca21866de3885d53a700", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "37b5721bbc087dd25eaf79829105bde9b5a7baa35d43ca21866de3885d53a700", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "37b5721bbc087dd25eaf79829105bde9b5a7baa35d43ca21866de3885d53a700", kill_on_drop: false }` [INFO] [stdout] 37b5721bbc087dd25eaf79829105bde9b5a7baa35d43ca21866de3885d53a700 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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=warn" "-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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 910ea8a861ffe72f98944773809acf6191ffc39f1e7b3b6e5010e7379e60ccfe [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" "910ea8a861ffe72f98944773809acf6191ffc39f1e7b3b6e5010e7379e60ccfe", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.49 [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 scopeguard v0.3.3 [INFO] [stderr] Compiling version_check v0.1.5 [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 arrayvec v0.4.10 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling lazycell v1.2.1 [INFO] [stderr] Compiling nodrop v0.1.13 [INFO] [stderr] Compiling memoffset v0.2.1 [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 siphasher v0.2.3 [INFO] [stderr] Compiling memchr v2.2.0 [INFO] [stderr] Compiling slog v2.4.1 [INFO] [stderr] Compiling itoa v0.4.3 [INFO] [stderr] Compiling rustc-demangle v0.1.13 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling serde v1.0.88 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling bitflags v1.0.4 [INFO] [stderr] Compiling linked-hash-map v0.4.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 openssl v0.10.18 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling string v0.1.3 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling indexmap v1.0.2 [INFO] [stderr] Compiling arc-swap v0.3.7 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling ryu v0.2.7 [INFO] [stderr] Compiling try-lock v0.2.2 [INFO] [stderr] Compiling native-tls v0.2.2 [INFO] [stderr] Compiling dtoa v0.4.3 [INFO] [stderr] Compiling safemem v0.3.0 [INFO] [stderr] Compiling regex v1.1.0 [INFO] [stderr] Compiling untrusted v0.6.2 [INFO] [stderr] Compiling encoding_rs v0.8.17 [INFO] [stderr] Compiling crossbeam v0.2.12 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling ucd-util v0.1.3 [INFO] [stderr] Compiling utf8-ranges v1.0.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 ordermap v0.3.5 [INFO] [stderr] Compiling linked-hash-map v0.5.1 [INFO] [stderr] Compiling sha1 v0.6.0 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling fixedbitset v0.1.9 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling owning_ref v0.4.0 [INFO] [stderr] Compiling crossbeam-utils v0.6.5 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling encoding-index-korean v1.20141219.5 [INFO] [stderr] Compiling encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Compiling encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-japanese v1.20141219.5 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling unicode-normalization v0.1.8 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.3 [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_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 kernel32-sys v0.2.2 [INFO] [stderr] Compiling lru-cache v0.1.1 [INFO] [stderr] Compiling yaml-rust v0.4.2 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling regex-syntax v0.6.5 [INFO] [stderr] Compiling lock_api v0.1.5 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling petgraph v0.4.13 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling crossbeam-channel v0.3.8 [INFO] [stderr] Compiling encoding v0.2.33 [INFO] [stderr] Compiling backtrace-sys v0.1.28 [INFO] [stderr] Compiling openssl-sys v0.9.41 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling ring v0.13.5 [INFO] [stderr] Compiling miniz-sys v0.1.11 [INFO] [stderr] Compiling rustc_version v0.2.3 [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 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 rand v0.5.6 [INFO] [stderr] Compiling socket2 v0.3.8 [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 quote v0.6.11 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling tokio-timer v0.2.10 [INFO] [stderr] Compiling tokio-current-thread v0.1.4 [INFO] [stderr] Compiling crossbeam-epoch v0.7.1 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Compiling term v0.5.1 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling libflate v0.1.20 [INFO] [stderr] Compiling phf_shared v0.7.24 [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 bytes v0.4.11 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling mio v0.6.16 [INFO] [stderr] Compiling resolv-conf v0.6.2 [INFO] [stderr] Compiling aho-corasick v0.5.3 [INFO] [stderr] Compiling syn v0.15.26 [INFO] [stderr] Compiling mime v0.3.13 [INFO] [stderr] Compiling thread-id v2.0.0 [INFO] [stderr] Compiling crossbeam-deque v0.6.3 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling phf v0.7.24 [INFO] [stderr] Compiling tokio-io v0.1.11 [INFO] [stderr] Compiling http v0.1.16 [INFO] [stderr] Compiling flate2 v1.0.6 [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 tokio-codec v0.1.1 [INFO] [stderr] Compiling regex v0.1.80 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling uuid v0.7.2 [INFO] [stderr] Compiling cookie v0.11.0 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling parking_lot v0.7.1 [INFO] [stderr] Compiling mime_guess v2.0.0-alpha.6 [INFO] [stderr] Compiling brotli2 v0.3.2 [INFO] [stderr] Compiling tokio-reactor v0.1.8 [INFO] [stderr] Compiling crossbeam v0.6.0 [INFO] [stderr] Compiling slog-term v2.4.0 [INFO] [stderr] Compiling tokio-threadpool v0.1.11 [INFO] [stderr] Compiling slog-scope v4.1.1 [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 h2 v0.1.16 [INFO] [stderr] Compiling slog-envlogger v2.1.0 [INFO] [stderr] Compiling tokio-fs v0.1.5 [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 tokio v0.1.15 [INFO] [stderr] Compiling hyper v0.12.24 [INFO] [stderr] Compiling synstructure v0.10.1 [INFO] [stderr] Compiling v_escape_derive v0.2.1 [INFO] [stderr] Compiling actix_derive v0.3.2 [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 53s [INFO] running `Command { std: "docker" "inspect" "910ea8a861ffe72f98944773809acf6191ffc39f1e7b3b6e5010e7379e60ccfe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "910ea8a861ffe72f98944773809acf6191ffc39f1e7b3b6e5010e7379e60ccfe", kill_on_drop: false }` [INFO] [stdout] 910ea8a861ffe72f98944773809acf6191ffc39f1e7b3b6e5010e7379e60ccfe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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=warn" "-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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] de8b144aa60564b67e5664d222fc7dcdc23b0aa34e7f5c8f4949b6bb23b43fe3 [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" "de8b144aa60564b67e5664d222fc7dcdc23b0aa34e7f5c8f4949b6bb23b43fe3", 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.57s [INFO] running `Command { std: "docker" "inspect" "de8b144aa60564b67e5664d222fc7dcdc23b0aa34e7f5c8f4949b6bb23b43fe3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de8b144aa60564b67e5664d222fc7dcdc23b0aa34e7f5c8f4949b6bb23b43fe3", kill_on_drop: false }` [INFO] [stdout] de8b144aa60564b67e5664d222fc7dcdc23b0aa34e7f5c8f4949b6bb23b43fe3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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=warn" "-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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8b3f1ca30407a996de48258bb600bda55a6eec8b31207f226333210dfcebab33 [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" "8b3f1ca30407a996de48258bb600bda55a6eec8b31207f226333210dfcebab33", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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.40s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/observatory-a8932aa2d8c57827 [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stderr] 2020-08-09 11:10:10.543 DEBG Creating new graph node 'Global' [INFO] [stdout] test model::test::load_parsed_file ... ok [INFO] [stderr] 2020-08-09 11:10:10.543 DEBG Creating leaf node 'foo' [INFO] [stderr] 2020-08-09 11:10:10.544 TRCE Adding node 'foo' to graph [INFO] [stderr] 2020-08-09 11:10:10.544 DEBG Creating leaf node 'bar' [INFO] [stderr] 2020-08-09 11:10:10.544 TRCE Adding node 'bar' to graph [INFO] [stderr] 2020-08-09 11:10:10.544 TRCE Adding connections [INFO] [stderr] 2020-08-09 11:10:10.544 TRCE Connected foo => bar [INFO] [stderr] 2020-08-09 11:10:10.544 DEBG Creating new graph node 'nested' [INFO] [stderr] 2020-08-09 11:10:10.544 DEBG Creating leaf node 'INTERNET' [INFO] [stderr] 2020-08-09 11:10:10.544 TRCE Adding node 'INTERNET' to graph [INFO] [stderr] 2020-08-09 11:10:10.544 DEBG Creating new graph node 'foo' [INFO] [stderr] 2020-08-09 11:10:10.544 DEBG Creating leaf node 'foo-1' [INFO] [stderr] 2020-08-09 11:10:10.544 TRCE Adding node 'foo-1' to graph [INFO] [stderr] 2020-08-09 11:10:10.544 DEBG Creating leaf node 'foo-2' [INFO] [stderr] 2020-08-09 11:10:10.544 TRCE Adding node 'foo-2' to graph [INFO] [stderr] 2020-08-09 11:10:10.544 TRCE Adding connections [INFO] [stderr] 2020-08-09 11:10:10.544 TRCE Connected foo-1 => foo-2 [INFO] [stderr] 2020-08-09 11:10:10.544 TRCE Adding node 'foo' to graph [INFO] [stderr] 2020-08-09 11:10:10.544 TRCE Adding connections [INFO] [stderr] 2020-08-09 11:10:10.544 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: 0x55ff07777ad5 - backtrace::backtrace::libunwind::trace::ha215bbf14e328799 [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/libunwind.rs:86 [INFO] [stdout] 1: 0x55ff07777ad5 - backtrace::backtrace::trace_unsynchronized::h3384b099b135857a [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/mod.rs:66 [INFO] [stdout] 2: 0x55ff07777ad5 - std::sys_common::backtrace::_print_fmt::hfec93740f7294682 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:78 [INFO] [stdout] 3: 0x55ff07777ad5 - ::fmt::h5fe20777f4174074 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:59 [INFO] [stdout] 4: 0x55ff077a1fdc - core::fmt::write::he14c3177144df275 [INFO] [stdout] at src/libcore/fmt/mod.rs:1076 [INFO] [stdout] 5: 0x55ff07623e45 - std::io::Write::write_fmt::ha866504c9998fe5e [INFO] [stdout] at /rustc/d3fb005a39e62501b8b0b356166e515ae24e2e54/src/libstd/io/mod.rs:1537 [INFO] [stdout] 6: 0x55ff07771321 - std::io::impls::>::write_fmt::h8f0a2af895559593 [INFO] [stdout] at src/libstd/io/impls.rs:176 [INFO] [stdout] 7: 0x55ff0777a300 - std::sys_common::backtrace::_print::h9cfa4c87526ba064 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:62 [INFO] [stdout] 8: 0x55ff0777a300 - std::sys_common::backtrace::print::h94936584848b3272 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:49 [INFO] [stdout] 9: 0x55ff0777a300 - std::panicking::default_hook::{{closure}}::h733b20cc9b496e46 [INFO] [stdout] at src/libstd/panicking.rs:198 [INFO] [stdout] 10: 0x55ff07779ffa - std::panicking::default_hook::h556d8cff6c12a651 [INFO] [stdout] at src/libstd/panicking.rs:215 [INFO] [stdout] 11: 0x55ff0777a937 - std::panicking::rust_panic_with_hook::ha0c7ca5b39baa9d5 [INFO] [stdout] at src/libstd/panicking.rs:486 [INFO] [stdout] 12: 0x55ff0777a53b - rust_begin_unwind [INFO] [stdout] at src/libstd/panicking.rs:388 [INFO] [stdout] 13: 0x55ff0777a4ab - std::panicking::begin_panic_fmt::ha757bc84d5ed8cb6 [INFO] [stdout] at src/libstd/panicking.rs:342 [INFO] [stdout] 14: 0x55ff0761d70d - observatory::config::test::load_simple_sample::h67232b8c4ac2b1c2 [INFO] [stdout] at src/config/mod.rs:32 [INFO] [stdout] 15: 0x55ff0761d48a - observatory::config::test::load_simple_sample::{{closure}}::h0266fc4b000129b8 [INFO] [stdout] at src/config/mod.rs:26 [INFO] [stdout] 16: 0x55ff075ed9ce - core::ops::function::FnOnce::call_once::h82de7683ecc9cda8 [INFO] [stdout] at /rustc/d3fb005a39e62501b8b0b356166e515ae24e2e54/src/libcore/ops/function.rs:232 [INFO] [stdout] 17: 0x55ff0764b032 - as core::ops::function::FnOnce>::call_once::h1efcc6525b6aa145 [INFO] [stdout] at /rustc/d3fb005a39e62501b8b0b356166e515ae24e2e54/src/liballoc/boxed.rs:1076 [INFO] [stdout] 18: 0x55ff0764b032 - as core::ops::function::FnOnce<()>>::call_once::hafd7ae2f3c23f399 [INFO] [stdout] at /rustc/d3fb005a39e62501b8b0b356166e515ae24e2e54/src/libstd/panic.rs:318 [INFO] [stdout] 19: 0x55ff0764b032 - std::panicking::try::do_call::h83baf26f5fc8b0a5 [INFO] [stdout] at /rustc/d3fb005a39e62501b8b0b356166e515ae24e2e54/src/libstd/panicking.rs:297 [INFO] [stdout] 20: 0x55ff0764b032 - std::panicking::try::h8d28a678b90bb6ac [INFO] [stdout] at /rustc/d3fb005a39e62501b8b0b356166e515ae24e2e54/src/libstd/panicking.rs:274 [INFO] [stdout] 21: 0x55ff0764b032 - std::panic::catch_unwind::h20734e8710644f59 [INFO] [stdout] at /rustc/d3fb005a39e62501b8b0b356166e515ae24e2e54/src/libstd/panic.rs:394 [INFO] [stdout] 22: 0x55ff0764b032 - test::run_test_in_process::h2c1fb2dd0c9013bb [INFO] [stdout] at src/libtest/lib.rs:541 [INFO] [stdout] 23: 0x55ff0764b032 - test::run_test::run_test_inner::{{closure}}::h7c58b7aefdb9adf3 [INFO] [stdout] at src/libtest/lib.rs:450 [INFO] [stdout] 24: 0x55ff07623306 - std::sys_common::backtrace::__rust_begin_short_backtrace::h498f21fd16bdff05 [INFO] [stdout] at /rustc/d3fb005a39e62501b8b0b356166e515ae24e2e54/src/libstd/sys_common/backtrace.rs:130 [INFO] [stdout] 25: 0x55ff07628645 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::hb35336a0a0430e6d [INFO] [stdout] at /rustc/d3fb005a39e62501b8b0b356166e515ae24e2e54/src/libstd/thread/mod.rs:475 [INFO] [stdout] 26: 0x55ff07628645 - as core::ops::function::FnOnce<()>>::call_once::h8569a86268e08ad1 [INFO] [stdout] at /rustc/d3fb005a39e62501b8b0b356166e515ae24e2e54/src/libstd/panic.rs:318 [INFO] [stdout] 27: 0x55ff07628645 - std::panicking::try::do_call::hcc5472a0f1ff31ac [INFO] [stdout] at /rustc/d3fb005a39e62501b8b0b356166e515ae24e2e54/src/libstd/panicking.rs:297 [INFO] [stdout] 28: 0x55ff07628645 - std::panicking::try::h774b0c4fd770945c [INFO] [stdout] at /rustc/d3fb005a39e62501b8b0b356166e515ae24e2e54/src/libstd/panicking.rs:274 [INFO] [stdout] 29: 0x55ff07628645 - std::panic::catch_unwind::hfaf7c6beb53320e7 [INFO] [stdout] at /rustc/d3fb005a39e62501b8b0b356166e515ae24e2e54/src/libstd/panic.rs:394 [INFO] [stdout] 30: 0x55ff07628645 - std::thread::Builder::spawn_unchecked::{{closure}}::h481343a824704446 [INFO] [stdout] at /rustc/d3fb005a39e62501b8b0b356166e515ae24e2e54/src/libstd/thread/mod.rs:474 [INFO] [stdout] 31: 0x55ff07628645 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h9dcbc7fc2c4c6c48 [INFO] [stdout] at /rustc/d3fb005a39e62501b8b0b356166e515ae24e2e54/src/libcore/ops/function.rs:232 [INFO] [stdout] 32: 0x55ff07780c4a - as core::ops::function::FnOnce>::call_once::hf311c88f1fadb9b8 [INFO] [stdout] at /rustc/d3fb005a39e62501b8b0b356166e515ae24e2e54/src/liballoc/boxed.rs:1076 [INFO] [stdout] 33: 0x55ff07780c4a - as core::ops::function::FnOnce>::call_once::h8cfb7235b81393ef [INFO] [stdout] at /rustc/d3fb005a39e62501b8b0b356166e515ae24e2e54/src/liballoc/boxed.rs:1076 [INFO] [stdout] 34: 0x55ff07780c4a - std::sys::unix::thread::Thread::new::thread_start::hf745c8cf29a89648 [INFO] [stdout] at src/libstd/sys/unix/thread.rs:87 [INFO] [stdout] 35: 0x7f06cc4f2609 - start_thread [INFO] [stdout] 36: 0x7f06cc3fe103 - __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" "8b3f1ca30407a996de48258bb600bda55a6eec8b31207f226333210dfcebab33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b3f1ca30407a996de48258bb600bda55a6eec8b31207f226333210dfcebab33", kill_on_drop: false }` [INFO] [stdout] 8b3f1ca30407a996de48258bb600bda55a6eec8b31207f226333210dfcebab33