[INFO] cloning repository https://github.com/FairyTail2000/process_reader [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/FairyTail2000/process_reader" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFairyTail2000%2Fprocess_reader", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFairyTail2000%2Fprocess_reader'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ff626d08d3945a0e2ced613b6599eace67cccc36 [INFO] testing FairyTail2000/process_reader against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFairyTail2000%2Fprocess_reader" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/FairyTail2000/process_reader on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/FairyTail2000/process_reader [INFO] finished tweaking git repo https://github.com/FairyTail2000/process_reader [INFO] tweaked toml for git repo https://github.com/FairyTail2000/process_reader written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/FairyTail2000/process_reader already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sysinfo v0.21.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "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] 530a91c041bf5d0b26baa2ad6829a2b6c675ce9ce317c8e1c8f7ade82de945a4 [INFO] running `Command { std: "docker" "start" "-a" "530a91c041bf5d0b26baa2ad6829a2b6c675ce9ce317c8e1c8f7ade82de945a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "530a91c041bf5d0b26baa2ad6829a2b6c675ce9ce317c8e1c8f7ade82de945a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "530a91c041bf5d0b26baa2ad6829a2b6c675ce9ce317c8e1c8f7ade82de945a4", kill_on_drop: false }` [INFO] [stdout] 530a91c041bf5d0b26baa2ad6829a2b6c675ce9ce317c8e1c8f7ade82de945a4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "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] 9d4c8a2fec710a6afa120bcac60824932795f67bf4f8eafcc684d2099918768d [INFO] running `Command { std: "docker" "start" "-a" "9d4c8a2fec710a6afa120bcac60824932795f67bf4f8eafcc684d2099918768d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.107 [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling pkg-config v0.3.22 [INFO] [stderr] Compiling smallvec v1.7.0 [INFO] [stderr] Compiling futures-task v0.3.17 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling whoami v1.2.0 [INFO] [stderr] Compiling futures-sink v0.3.17 [INFO] [stderr] Compiling serde_json v1.0.70 [INFO] [stderr] Compiling futures-channel v0.3.17 [INFO] [stderr] Compiling crc-catalog v1.1.1 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling sysinfo v0.21.1 [INFO] [stderr] Compiling anyhow v1.0.45 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling tokio v1.13.0 [INFO] [stderr] Compiling num-bigint v0.3.3 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Compiling nom v7.1.0 [INFO] [stderr] Compiling itertools v0.10.1 [INFO] [stderr] Compiling crc v2.1.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling crossbeam-queue v0.3.2 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling atoi v0.4.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling openssl-sys v0.9.70 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.11.1 [INFO] [stderr] Compiling hmac v0.11.0 [INFO] [stderr] Compiling md-5 v0.9.1 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling sha2 v0.9.8 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling dirs-sys v0.3.6 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling dirs v3.0.2 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling futures-intrusive v0.4.0 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling sqlformat v0.1.8 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling bigdecimal v0.2.2 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling hashlink v0.7.0 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling tokio-macros v1.5.1 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling tokio-stream v0.1.8 [INFO] [stderr] Compiling sqlx-rt v0.5.9 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling sqlx-core v0.5.9 [INFO] [stderr] Compiling sqlx-macros v0.5.9 [INFO] [stderr] Compiling sqlx v0.5.9 [INFO] [stderr] Compiling process_reader v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/main.rs:23:2 [INFO] [stdout] | [INFO] [stdout] 23 | sqlx::query!("INSERT INTO system (id, total_memory, used_memory, total_swap, used_swap, timestamp) VALUES ($1, $2, $3, $4, $5, $6)", sysid, sys.total_memory() as i64, sys.used_memory() as i64, sys.total_swap() as i64, sys.used_swap() as i64, now) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/main.rs:28:3 [INFO] [stdout] | [INFO] [stdout] 28 | ... sqlx::query!("INSERT INTO process VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12)", sql_pid, process.gid as i64, process.uid as i64, pid, process.name(), process.exe().to_str().unwrap(), BigDecimal::from_f32(process.cpu_usage()).unwrap(), process.memory() as i64, process.virtual_memory() as i64, process.start_time() as i64, process.parent(), sysid) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/main.rs:33:4 [INFO] [stdout] | [INFO] [stdout] 33 | ... sqlx::query!("INSERT INTO thread VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9)", sql_tid, task.gid as i64, task.uid as i64, BigDecimal::from_f32(task.cpu_usage()).unwrap(), task.memory() as i64, task.virtual_memory() as i64, task.start_time() as i64, task.parent(), sql_pid) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sqlx::types::BigDecimal` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use sqlx::types::BigDecimal; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ProcessExt` [INFO] [stdout] --> src/main.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | use sysinfo::{ProcessExt, System, SystemExt}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num_traits::cast::FromPrimitive` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use num_traits::cast::FromPrimitive; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `process_reader` due to 4 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "9d4c8a2fec710a6afa120bcac60824932795f67bf4f8eafcc684d2099918768d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d4c8a2fec710a6afa120bcac60824932795f67bf4f8eafcc684d2099918768d", kill_on_drop: false }` [INFO] [stdout] 9d4c8a2fec710a6afa120bcac60824932795f67bf4f8eafcc684d2099918768d