[INFO] updating cached repository https://github.com/telia-oss/rustana [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] adea7df6bf2bfdf605400d71a95d5b8c0b18bf35 [INFO] testing telia-oss/rustana against master#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftelia-oss%2Frustana" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/telia-oss/rustana 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/telia-oss/rustana [INFO] finished tweaking git repo https://github.com/telia-oss/rustana [INFO] tweaked toml for git repo https://github.com/telia-oss/rustana written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/telia-oss/rustana 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-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "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" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 24e2e64e4d402aa8c512a20d32d840eb5520c524c1845265878fd34e9b05ae17 [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" "24e2e64e4d402aa8c512a20d32d840eb5520c524c1845265878fd34e9b05ae17", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "24e2e64e4d402aa8c512a20d32d840eb5520c524c1845265878fd34e9b05ae17", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "24e2e64e4d402aa8c512a20d32d840eb5520c524c1845265878fd34e9b05ae17", kill_on_drop: false }` [INFO] [stdout] 24e2e64e4d402aa8c512a20d32d840eb5520c524c1845265878fd34e9b05ae17 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/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] 75405c53a12db1d9ba659c20b9483292d21f6cff08b0101baab6fe3c5a798486 [INFO] running `Command { std: "docker" "start" "-a" "75405c53a12db1d9ba659c20b9483292d21f6cff08b0101baab6fe3c5a798486", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.55 [INFO] [stderr] Compiling lazy_static v1.3.0 [INFO] [stderr] Compiling cc v1.0.37 [INFO] [stderr] Compiling futures v0.1.27 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling either v1.5.2 [INFO] [stderr] Compiling rustc-demangle v0.1.14 [INFO] [stderr] Compiling openssl v0.10.23 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Compiling dtoa v0.4.4 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling backtrace v0.3.20 [INFO] [stderr] Compiling unicase v2.4.0 [INFO] [stderr] Compiling error-chain v0.12.1 [INFO] [stderr] Compiling try_from v0.3.2 [INFO] [stderr] Compiling regex-syntax v0.6.6 [INFO] [stderr] Compiling miniz_oxide v0.2.1 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling crossbeam-utils v0.6.5 [INFO] [stderr] Compiling tokio-trace-core v0.1.0 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling encoding_rs v0.8.17 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling aho-corasick v0.7.3 [INFO] [stderr] Compiling crossbeam-epoch v0.7.1 [INFO] [stderr] Compiling crossbeam-queue v0.1.2 [INFO] [stderr] Compiling mime v0.3.13 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling crossbeam-deque v0.7.1 [INFO] [stderr] Compiling quote v0.6.12 [INFO] [stderr] Compiling openssl-sys v0.9.47 [INFO] [stderr] Compiling backtrace-sys v0.1.28 [INFO] [stderr] Compiling miniz_oxide_c_api v0.2.1 [INFO] [stderr] Compiling rand_os v0.1.3 [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 syn v0.15.34 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling tokio-executor v0.1.7 [INFO] [stderr] Compiling tokio-sync v0.1.5 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling want v0.0.6 [INFO] [stderr] Compiling mio v0.6.17 [INFO] [stderr] Compiling tokio-current-thread v0.1.6 [INFO] [stderr] Compiling tokio-timer v0.2.11 [INFO] [stderr] Compiling flate2 v1.0.7 [INFO] [stderr] Compiling tokio-io v0.1.12 [INFO] [stderr] Compiling http v0.1.17 [INFO] [stderr] Compiling tokio-buf v0.1.1 [INFO] [stderr] Compiling cookie v0.12.0 [INFO] [stderr] Compiling native-tls v0.2.3 [INFO] [stderr] Compiling regex v1.1.6 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling tokio-threadpool v0.1.14 [INFO] [stderr] Compiling uuid v0.7.4 [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 tokio-reactor v0.1.9 [INFO] [stderr] Compiling tokio-tcp v0.1.3 [INFO] [stderr] Compiling tokio v0.1.20 [INFO] [stderr] Compiling publicsuffix v1.5.2 [INFO] [stderr] Compiling h2 v0.1.20 [INFO] [stderr] Compiling http-body v0.1.0 [INFO] [stderr] Compiling synstructure v0.10.2 [INFO] [stderr] Compiling serde_derive v1.0.91 [INFO] [stderr] Compiling failure v0.1.5 [INFO] [stderr] Compiling hyper v0.12.29 [INFO] [stderr] Compiling hyper-tls v0.3.2 [INFO] [stderr] Compiling serde v1.0.91 [INFO] [stderr] Compiling serde_json v1.0.39 [INFO] [stderr] Compiling serde_urlencoded v0.5.5 [INFO] [stderr] Compiling cookie_store v0.7.0 [INFO] [stderr] Compiling reqwest v0.9.17 [INFO] [stderr] Compiling rustana v0.0.2 (/opt/rustwide/workdir) [INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:17:93 [INFO] [stdout] | [INFO] [stdout] 17 | fn get_dashboard_by_id(base_url: &str, token: &str, _id: &str) -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | #![deny(warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(bare_trait_objects)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:29:125 [INFO] [stdout] | [INFO] [stdout] 29 | fn create_or_update_dashboard(base_url: &str, token: &str, dashboard: RootInterface) -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:49:83 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn get_dashboard_by_id(&mut self, _id: &str) -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:56:117 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn update_dashboard_by_id(&mut self, _id: &str, panels: Vec) -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rustana`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "75405c53a12db1d9ba659c20b9483292d21f6cff08b0101baab6fe3c5a798486", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "75405c53a12db1d9ba659c20b9483292d21f6cff08b0101baab6fe3c5a798486", kill_on_drop: false }` [INFO] [stdout] 75405c53a12db1d9ba659c20b9483292d21f6cff08b0101baab6fe3c5a798486