[INFO] cloning repository https://github.com/arranf/pcmetrics [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/arranf/pcmetrics" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farranf%2Fpcmetrics", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farranf%2Fpcmetrics'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1f53982f230371699af0c529ce0c4cbfbf0c6700 [INFO] testing arranf/pcmetrics against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farranf%2Fpcmetrics" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/arranf/pcmetrics on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/arranf/pcmetrics [INFO] finished tweaking git repo https://github.com/arranf/pcmetrics [INFO] tweaked toml for git repo https://github.com/arranf/pcmetrics written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate git repo https://github.com/arranf/pcmetrics already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: dependencies.tui.required-features [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c92d987d312f4b25b3ab778a6b689bc1de280b276f98096c35ddf0e8cfd53fcb [INFO] running `Command { std: "docker" "start" "-a" "c92d987d312f4b25b3ab778a6b689bc1de280b276f98096c35ddf0e8cfd53fcb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c92d987d312f4b25b3ab778a6b689bc1de280b276f98096c35ddf0e8cfd53fcb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c92d987d312f4b25b3ab778a6b689bc1de280b276f98096c35ddf0e8cfd53fcb", kill_on_drop: false }` [INFO] [stdout] c92d987d312f4b25b3ab778a6b689bc1de280b276f98096c35ddf0e8cfd53fcb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c3f48b1094905c582272d6158c4d194e0d6d6800ff47927c1537168e3b4a0831 [INFO] running `Command { std: "docker" "start" "-a" "c3f48b1094905c582272d6158c4d194e0d6d6800ff47927c1537168e3b4a0831", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: dependencies.tui.required-features [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Compiling libc v0.2.68 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling futures-core v0.3.4 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling futures-sink v0.3.4 [INFO] [stderr] Compiling proc-macro-nested v0.1.4 [INFO] [stderr] Compiling bytes v0.5.4 [INFO] [stderr] Compiling arc-swap v0.4.5 [INFO] [stderr] Compiling proc-macro-hack v0.5.15 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Compiling futures-task v0.3.4 [INFO] [stderr] Compiling pin-utils v0.1.0-alpha.4 [INFO] [stderr] Compiling futures-io v0.3.4 [INFO] [stderr] Compiling pin-project-lite v0.1.4 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling serde v1.0.106 [INFO] [stderr] Compiling openssl v0.10.28 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling smallvec v1.2.0 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling ryu v1.0.3 [INFO] [stderr] Compiling try-lock v0.2.2 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling failure_derive v0.1.7 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling tower-service v0.3.0 [INFO] [stderr] Compiling encoding_rs v0.8.22 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling dtoa v0.4.5 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling anyhow v1.0.28 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling regex-syntax v0.6.17 [INFO] [stderr] Compiling numtoa v0.1.0 [INFO] [stderr] Compiling base64 v0.11.0 [INFO] [stderr] Compiling cassowary v0.3.0 [INFO] [stderr] Compiling kankyo v0.3.0 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling futures-channel v0.3.4 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling unicode-normalization v0.1.12 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling aho-corasick v0.7.10 [INFO] [stderr] Compiling openssl-sys v0.9.54 [INFO] [stderr] Compiling backtrace-sys v0.1.35 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling signal-hook-registry v1.2.0 [INFO] [stderr] Compiling num_cpus v1.12.0 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling termion v1.5.5 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling regex v1.3.6 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling tui v0.8.0 [INFO] [stderr] Compiling mio v0.6.21 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling backtrace v0.3.46 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.4 [INFO] [stderr] Compiling serde_derive v1.0.106 [INFO] [stderr] Compiling pin-project-internal v0.4.8 [INFO] [stderr] Compiling influxdb_derive v0.1.0 [INFO] [stderr] Compiling tokio v0.2.16 [INFO] [stderr] Compiling futures-util v0.3.4 [INFO] [stderr] Compiling failure v0.1.7 [INFO] [stderr] Compiling pin-project v0.4.8 [INFO] [stderr] Compiling futures-executor v0.3.4 [INFO] [stderr] Compiling futures v0.3.4 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling tokio-tls v0.3.0 [INFO] [stderr] Compiling h2 v0.2.4 [INFO] [stderr] Compiling hyper v0.13.4 [INFO] [stderr] Compiling serde_json v1.0.51 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling chrono v0.4.11 [INFO] [stderr] Compiling hyper-tls v0.4.1 [INFO] [stderr] Compiling reqwest v0.10.4 [INFO] [stderr] Compiling influxdb v0.1.0 [INFO] [stderr] Compiling pcmetrics v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/influx_db.rs:31:26 [INFO] [stdout] | [INFO] [stdout] 31 | ... let read_query = Query::raw_read_query("SELECT hardware, value FROM Load WHERE app = 'ohm' and hardware_type = 'HDD' and sensor = '... [INFO] [stdout] | ^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 31 | let read_query = ::raw_read_query("SELECT hardware, value FROM Load WHERE app = 'ohm' and hardware_type = 'HDD' and sensor = 'Used Space' GROUP BY hardware LIMIT 1"); [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/main.rs:78:42 [INFO] [stdout] | [INFO] [stdout] 78 | .constraints(constraints.as_ref()) [INFO] [stdout] | ------------^^^^^^-- [INFO] [stdout] | | | [INFO] [stdout] | | cannot infer type for type parameter `T` declared on the trait `AsRef` [INFO] [stdout] | this method call resolves to `&T` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `Vec: AsRef<_>` found in the `alloc` crate: [INFO] [stdout] - impl AsRef> for Vec [INFO] [stdout] where A: Allocator; [INFO] [stdout] - impl AsRef<[T]> for Vec [INFO] [stdout] where A: Allocator; [INFO] [stdout] help: use the fully qualified path for the potential candidates [INFO] [stdout] | [INFO] [stdout] 78 | .constraints( as AsRef>>::as_ref(constraints)) [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] 78 | .constraints( as AsRef<[T]>>::as_ref(constraints)) [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0283`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pcmetrics` due to 2 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "c3f48b1094905c582272d6158c4d194e0d6d6800ff47927c1537168e3b4a0831", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c3f48b1094905c582272d6158c4d194e0d6d6800ff47927c1537168e3b4a0831", kill_on_drop: false }` [INFO] [stdout] c3f48b1094905c582272d6158c4d194e0d6d6800ff47927c1537168e3b4a0831