[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 try#722e1797249a965b6335aebd65d777f917e498f1 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbsundsrud%2Fobservatory" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/bsundsrud/observatory on toolchain 722e1797249a965b6335aebd65d777f917e498f1 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-13/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" "+722e1797249a965b6335aebd65d777f917e498f1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded v_escape_derive v0.2.1 [INFO] [stderr] Downloaded v_htmlescape v0.3.2 [INFO] [stderr] Downloaded ipconfig v0.1.9 [INFO] [stderr] Downloaded v_escape v0.3.2 [INFO] [stderr] Downloaded openssl-sys v0.9.41 [INFO] [stderr] Downloaded actix-net v0.2.6 [INFO] [stderr] Downloaded trust-dns-resolver v0.10.3 [INFO] [stderr] Downloaded libflate v0.1.20 [INFO] [stderr] Downloaded trust-dns-proto v0.6.3 [INFO] [stderr] Downloaded reqwest v0.9.10 [INFO] [stderr] Downloaded slog-stdlog v3.0.2 [INFO] [stderr] Downloaded actix v0.7.9 [INFO] [stderr] Downloaded actix-web v0.7.18 [INFO] [stderr] Downloaded openssl v0.10.18 [INFO] [stderr] Downloaded slog-scope v4.1.1 [INFO] [stderr] Downloaded slog-envlogger v2.1.0 [INFO] [stderr] Downloaded slog-atomic v2.0.0 [INFO] [stderr] Downloaded serde_repr v0.1.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0027ca27144e7582a076e05d763f048017c12692a3956ab3a3680b165ee0f549 [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" "0027ca27144e7582a076e05d763f048017c12692a3956ab3a3680b165ee0f549", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0027ca27144e7582a076e05d763f048017c12692a3956ab3a3680b165ee0f549", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0027ca27144e7582a076e05d763f048017c12692a3956ab3a3680b165ee0f549", kill_on_drop: false }` [INFO] [stdout] 0027ca27144e7582a076e05d763f048017c12692a3956ab3a3680b165ee0f549 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eb5188a2892202442e3cf7cbbfd0b7f448d5b764cabbec2cec005af79c30ef89 [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" "eb5188a2892202442e3cf7cbbfd0b7f448d5b764cabbec2cec005af79c30ef89", 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 cc v1.0.29 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Compiling futures v0.1.25 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling proc-macro2 v0.4.27 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling itoa v0.4.3 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling serde v1.0.88 [INFO] [stderr] Compiling rustc-demangle v0.1.13 [INFO] [stderr] Compiling slog v2.4.1 [INFO] [stderr] Compiling bitflags v1.0.4 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling linked-hash-map v0.4.2 [INFO] [stderr] Compiling httparse v1.3.3 [INFO] [stderr] Compiling crc32fast v1.1.2 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling openssl v0.10.18 [INFO] [stderr] Compiling indexmap v1.0.2 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling arc-swap v0.3.7 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling quick-error v1.2.2 [INFO] [stderr] Compiling string v0.1.3 [INFO] [stderr] Compiling try-lock v0.2.2 [INFO] [stderr] Compiling dtoa v0.4.3 [INFO] [stderr] Compiling native-tls v0.2.2 [INFO] [stderr] Compiling safemem v0.3.0 [INFO] [stderr] Compiling regex v1.1.0 [INFO] [stderr] Compiling crossbeam v0.2.12 [INFO] [stderr] Compiling untrusted v0.6.2 [INFO] [stderr] Compiling ucd-util v0.1.3 [INFO] [stderr] Compiling encoding_rs v0.8.17 [INFO] [stderr] Compiling utf8-ranges v1.0.2 [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 ordermap v0.3.5 [INFO] [stderr] Compiling rand_jitter v0.1.3 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling crossbeam-utils v0.6.5 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling lru-cache v0.1.1 [INFO] [stderr] Compiling yaml-rust v0.4.2 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [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 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 regex-syntax v0.6.5 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling crossbeam-channel v0.3.8 [INFO] [stderr] Compiling petgraph v0.4.13 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling crossbeam-epoch v0.7.1 [INFO] [stderr] Compiling nom v4.2.0 [INFO] [stderr] Compiling aho-corasick v0.6.10 [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 backtrace-sys v0.1.28 [INFO] [stderr] Compiling openssl-sys v0.9.41 [INFO] [stderr] Compiling miniz-sys v0.1.11 [INFO] [stderr] Compiling ring v0.13.5 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling slog-async v2.3.0 [INFO] [stderr] Compiling slog-atomic v2.0.0 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Compiling quote v0.6.11 [INFO] [stderr] Compiling crossbeam-deque v0.6.3 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling term v0.5.1 [INFO] [stderr] Compiling libflate v0.1.20 [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 thread-id v2.0.0 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling tokio-timer v0.2.10 [INFO] [stderr] Compiling tokio-current-thread v0.1.4 [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 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 mime v0.3.13 [INFO] [stderr] Compiling phf_shared 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 phf v0.7.24 [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 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 cookie v0.11.0 [INFO] [stderr] Compiling tokio-reactor v0.1.8 [INFO] [stderr] Compiling crossbeam v0.6.0 [INFO] [stderr] Compiling tokio-udp v0.1.3 [INFO] [stderr] Compiling tokio-tcp 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 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 tokio v0.1.15 [INFO] [stderr] Compiling synstructure v0.10.1 [INFO] [stderr] Compiling brotli2 v0.3.2 [INFO] [stderr] Compiling hyper v0.12.24 [INFO] [stderr] Compiling failure_derive v0.1.5 [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 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] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [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 32s [INFO] running `Command { std: "docker" "inspect" "eb5188a2892202442e3cf7cbbfd0b7f448d5b764cabbec2cec005af79c30ef89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb5188a2892202442e3cf7cbbfd0b7f448d5b764cabbec2cec005af79c30ef89", kill_on_drop: false }` [INFO] [stdout] eb5188a2892202442e3cf7cbbfd0b7f448d5b764cabbec2cec005af79c30ef89 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "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] b48b38f0ecd9836dc47901257638b89157f661645ab01bf5eb450d3368eb4f16 [INFO] running `Command { std: "docker" "start" "-a" "b48b38f0ecd9836dc47901257638b89157f661645ab01bf5eb450d3368eb4f16", 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] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [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.64s [INFO] running `Command { std: "docker" "inspect" "b48b38f0ecd9836dc47901257638b89157f661645ab01bf5eb450d3368eb4f16", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b48b38f0ecd9836dc47901257638b89157f661645ab01bf5eb450d3368eb4f16", kill_on_drop: false }` [INFO] [stdout] b48b38f0ecd9836dc47901257638b89157f661645ab01bf5eb450d3368eb4f16 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 252ac5da5466831a8c2b01424549441482f157d34c4367c389889bfcb8461f6e [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" "252ac5da5466831a8c2b01424549441482f157d34c4367c389889bfcb8461f6e", 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] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [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: `observatory` (bin "observatory" test) generated 6 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.25s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/observatory-e623aedf8116d38e) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stderr] 2021-11-22 14:56:06.945 DEBG Creating new graph node 'Global' [INFO] [stderr] 2021-11-22 14:56:06.946 DEBG Creating leaf node 'foo' [INFO] [stderr] 2021-11-22 14:56:06.946 TRCE Adding node 'foo' to graph [INFO] [stderr] 2021-11-22 14:56:06.946 DEBG Creating leaf node 'bar' [INFO] [stderr] 2021-11-22 14:56:06.946 TRCE Adding node 'bar' to graph [INFO] [stderr] 2021-11-22 14:56:06.946 TRCE Adding connections [INFO] [stderr] 2021-11-22 14:56:06.946 TRCE Connected foo => bar [INFO] [stderr] 2021-11-22 14:56:06.947 DEBG Creating new graph node 'nested' [INFO] [stderr] 2021-11-22 14:56:06.947 DEBG Creating leaf node 'INTERNET' [INFO] [stderr] 2021-11-22 14:56:06.947 TRCE Adding node 'INTERNET' to graph [INFO] [stderr] 2021-11-22 14:56:06.947 DEBG Creating new graph node 'foo' [INFO] [stderr] 2021-11-22 14:56:06.947 DEBG Creating leaf node 'foo-1' [INFO] [stderr] 2021-11-22 14:56:06.947 TRCE Adding node 'foo-1' to graph [INFO] [stderr] 2021-11-22 14:56:06.947 DEBG Creating leaf node 'foo-2' [INFO] [stderr] 2021-11-22 14:56:06.947 TRCE Adding node 'foo-2' to graph [INFO] [stderr] 2021-11-22 14:56:06.947 TRCE Adding connections [INFO] [stderr] 2021-11-22 14:56:06.947 TRCE Connected foo-1 => foo-2 [INFO] [stderr] 2021-11-22 14:56:06.947 TRCE Adding node 'foo' to graph [INFO] [stderr] 2021-11-22 14:56:06.947 TRCE Adding connections [INFO] [stderr] 2021-11-22 14:56:06.947 TRCE Connected INTERNET => foo [INFO] [stdout] test model::test::load_parsed_file ... ok [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: 0x55da18f9068c - std::backtrace_rs::backtrace::libunwind::trace::h7630ba4cba718aa0 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x55da18f9068c - std::backtrace_rs::backtrace::trace_unsynchronized::he7498e79c157f5ac [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x55da18f9068c - std::sys_common::backtrace::_print_fmt::hdaebadaee17bca49 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x55da18f9068c - ::fmt::h82b0e3aaf8a96140 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x55da18fb585c - core::fmt::write::h72801a82c94e6ff1 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/core/src/fmt/mod.rs:1149:17 [INFO] [stdout] 5: 0x55da18f8c4f5 - std::io::Write::write_fmt::h21d7683cabdb4c35 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/io/mod.rs:1697:15 [INFO] [stdout] 6: 0x55da18f920e0 - std::sys_common::backtrace::_print::h1c9a1d19c48821c1 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x55da18f920e0 - std::sys_common::backtrace::print::h7ce8802039fa9d0e [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x55da18f920e0 - std::panicking::default_hook::{{closure}}::hb2a74a8c1499c326 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panicking.rs:211:50 [INFO] [stdout] 9: 0x55da18f91cc6 - std::panicking::default_hook::hf4f180b00076f2b2 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panicking.rs:225:9 [INFO] [stdout] 10: 0x55da18f92794 - std::panicking::rust_panic_with_hook::he85ce8435493b711 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panicking.rs:606:17 [INFO] [stdout] 11: 0x55da18f92270 - std::panicking::begin_panic_handler::{{closure}}::h31e15f69e6235bd2 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panicking.rs:502:13 [INFO] [stdout] 12: 0x55da18f90b44 - std::sys_common::backtrace::__rust_end_short_backtrace::hfce2fadb61aaa3ae [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/sys_common/backtrace.rs:139:18 [INFO] [stdout] 13: 0x55da18f921d9 - rust_begin_unwind [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panicking.rs:498:5 [INFO] [stdout] 14: 0x55da18e06871 - core::panicking::panic_fmt::h7b8580d81fcbbacd [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/core/src/panicking.rs:107:14 [INFO] [stdout] 15: 0x55da18fb32c8 - core::panicking::assert_failed_inner::hc71171cfb6f4bc69 [INFO] [stdout] 16: 0x55da18ec758a - core::panicking::assert_failed::h6700acdd2973b7cc [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/core/src/panicking.rs:145:5 [INFO] [stdout] 17: 0x55da18e2cb8d - observatory::config::test::load_simple_sample::h16df9aee5be0fa31 [INFO] [stdout] at /opt/rustwide/workdir/src/config/mod.rs:32:9 [INFO] [stdout] 18: 0x55da18e2ca1a - observatory::config::test::load_simple_sample::{{closure}}::hc750fd98f0556149 [INFO] [stdout] at /opt/rustwide/workdir/src/config/mod.rs:26:5 [INFO] [stdout] 19: 0x55da18e2930e - core::ops::function::FnOnce::call_once::h75a0e12cf7c23c90 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 20: 0x55da18e747a3 - core::ops::function::FnOnce::call_once::h449577f1c5b077cb [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 21: 0x55da18e747a3 - test::__rust_begin_short_backtrace::h8c2a0a5090591869 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/test/src/lib.rs:585:5 [INFO] [stdout] 22: 0x55da18e73337 - as core::ops::function::FnOnce>::call_once::hea00a22128a38543 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/alloc/src/boxed.rs:1694:9 [INFO] [stdout] 23: 0x55da18e73337 - as core::ops::function::FnOnce<()>>::call_once::he10b35c3c50d78a0 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 24: 0x55da18e73337 - std::panicking::try::do_call::hc868e78bbc5af2ab [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panicking.rs:406:40 [INFO] [stdout] 25: 0x55da18e73337 - std::panicking::try::he468aede74df1b04 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panicking.rs:370:19 [INFO] [stdout] 26: 0x55da18e73337 - std::panic::catch_unwind::hce3c9152e1cf772d [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panic.rs:133:14 [INFO] [stdout] 27: 0x55da18e73337 - test::run_test_in_process::h9c4ab8162080cf8c [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/test/src/lib.rs:608:18 [INFO] [stdout] 28: 0x55da18e73337 - test::run_test::run_test_inner::{{closure}}::he9483433cef16afe [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/test/src/lib.rs:500:39 [INFO] [stdout] 29: 0x55da18e4067e - test::run_test::run_test_inner::{{closure}}::h479f1f872a5501ea [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/test/src/lib.rs:527:37 [INFO] [stdout] 30: 0x55da18e4067e - std::sys_common::backtrace::__rust_begin_short_backtrace::h0f1e9b1f279687bc [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/sys_common/backtrace.rs:123:18 [INFO] [stdout] 31: 0x55da18e454a8 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::he5560613c5f5cb83 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/thread/mod.rs:484:17 [INFO] [stdout] 32: 0x55da18e454a8 - as core::ops::function::FnOnce<()>>::call_once::h8190a68cb05ab92f [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 33: 0x55da18e454a8 - std::panicking::try::do_call::h6ae22f5ac22596e4 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panicking.rs:406:40 [INFO] [stdout] 34: 0x55da18e454a8 - std::panicking::try::h2381c25487d6a7c2 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panicking.rs:370:19 [INFO] [stdout] 35: 0x55da18e454a8 - std::panic::catch_unwind::hfe902f4d5c9d7b6d [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/panic.rs:133:14 [INFO] [stdout] 36: 0x55da18e454a8 - std::thread::Builder::spawn_unchecked::{{closure}}::h547fad40771a584e [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/thread/mod.rs:483:30 [INFO] [stdout] 37: 0x55da18e454a8 - core::ops::function::FnOnce::call_once{{vtable.shim}}::he8602a9971738410 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 38: 0x55da18f97243 - as core::ops::function::FnOnce>::call_once::he162a5c338a10a39 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/alloc/src/boxed.rs:1694:9 [INFO] [stdout] 39: 0x55da18f97243 - as core::ops::function::FnOnce>::call_once::hb27497b21740dd97 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/alloc/src/boxed.rs:1694:9 [INFO] [stdout] 40: 0x55da18f97243 - std::sys::unix::thread::Thread::new::thread_start::he467e990e49c5136 [INFO] [stdout] at /rustc/722e1797249a965b6335aebd65d777f917e498f1/library/std/src/sys/unix/thread.rs:106:17 [INFO] [stdout] 41: 0x7f81a59fd609 - start_thread [INFO] [stdout] 42: 0x7f81a57cd293 - clone [INFO] [stdout] 43: 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; finished in 0.16s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--bin observatory' [INFO] running `Command { std: "docker" "inspect" "252ac5da5466831a8c2b01424549441482f157d34c4367c389889bfcb8461f6e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "252ac5da5466831a8c2b01424549441482f157d34c4367c389889bfcb8461f6e", kill_on_drop: false }` [INFO] [stdout] 252ac5da5466831a8c2b01424549441482f157d34c4367c389889bfcb8461f6e