[INFO] cloning repository https://github.com/mengll/ocpc_mtch [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mengll/ocpc_mtch" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmengll%2Focpc_mtch", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmengll%2Focpc_mtch'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a9c9b9b038325538ec2e9c8c8f87168488ce256f [INFO] testing mengll/ocpc_mtch against try#ecabaf78506b7a4668d42dc20268c086b93f0fad for pr-87041 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmengll%2Focpc_mtch" "/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/mengll/ocpc_mtch on toolchain ecabaf78506b7a4668d42dc20268c086b93f0fad [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mengll/ocpc_mtch [INFO] finished tweaking git repo https://github.com/mengll/ocpc_mtch [INFO] tweaked toml for git repo https://github.com/mengll/ocpc_mtch written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/mengll/ocpc_mtch already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_with_macros v1.3.0 [INFO] [stderr] Downloaded os_info v2.0.8 [INFO] [stderr] Downloaded futures-intrusive v0.3.1 [INFO] [stderr] Downloaded typed-builder v0.3.0 [INFO] [stderr] Downloaded combine v4.5.1 [INFO] [stderr] Downloaded serde_with v1.6.0 [INFO] [stderr] Downloaded rdkafka v0.24.0 [INFO] [stderr] Downloaded redis v0.19.0 [INFO] [stderr] Downloaded mongodb v1.1.1 [INFO] [stderr] Downloaded rdkafka-sys v2.1.0+1.5.0 [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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 93d93fc9144c4b6ce47934e3d2aeb50d469f09d7c77ea258d44629ab68d7e0c7 [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" "93d93fc9144c4b6ce47934e3d2aeb50d469f09d7c77ea258d44629ab68d7e0c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "93d93fc9144c4b6ce47934e3d2aeb50d469f09d7c77ea258d44629ab68d7e0c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "93d93fc9144c4b6ce47934e3d2aeb50d469f09d7c77ea258d44629ab68d7e0c7", kill_on_drop: false }` [INFO] [stdout] 93d93fc9144c4b6ce47934e3d2aeb50d469f09d7c77ea258d44629ab68d7e0c7 [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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "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] bf2811af1a18ca36034055e7ae0a0476344d48fcb94b65990e313e70031ac186 [INFO] running `Command { std: "docker" "start" "-a" "bf2811af1a18ca36034055e7ae0a0476344d48fcb94b65990e313e70031ac186", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.54 [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling once_cell v1.5.2 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling futures-core v0.3.8 [INFO] [stderr] Compiling cc v1.0.66 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling futures-io v0.3.8 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling pin-project-lite v0.2.0 [INFO] [stderr] Compiling futures-sink v0.3.8 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Compiling pin-project-lite v0.1.11 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling pin-project-internal v0.4.27 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling cache-padded v1.1.1 [INFO] [stderr] Compiling rustversion v1.0.4 [INFO] [stderr] Compiling serde_json v1.0.60 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling strsim v0.9.3 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling parking v2.0.0 [INFO] [stderr] Compiling fastrand v1.4.0 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling waker-fn v1.1.0 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling smallvec v1.5.1 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling gimli v0.23.0 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling adler v0.2.3 [INFO] [stderr] Compiling object v0.22.0 [INFO] [stderr] Compiling async-task v4.0.3 [INFO] [stderr] Compiling rustc-demangle v0.1.18 [INFO] [stderr] Compiling linked-hash-map v0.5.3 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling vec-arena v1.0.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling httpdate v0.3.2 [INFO] [stderr] Compiling encoding_rs v0.8.26 [INFO] [stderr] Compiling match_cfg v0.1.0 [INFO] [stderr] Compiling subtle v1.0.0 [INFO] [stderr] Compiling tower-service v0.3.0 [INFO] [stderr] Compiling event-listener v2.5.1 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling base64 v0.11.0 [INFO] [stderr] Compiling hex v0.4.2 [INFO] [stderr] Compiling ipnet v2.3.0 [INFO] [stderr] Compiling atomic-waker v1.0.0 [INFO] [stderr] Compiling bytes v1.0.0 [INFO] [stderr] Compiling sha1 v0.6.0 [INFO] [stderr] Compiling dtoa v0.4.7 [INFO] [stderr] Compiling take_mut v0.2.2 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Compiling tracing-core v0.1.17 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling tinyvec v1.1.0 [INFO] [stderr] Compiling futures-channel v0.3.8 [INFO] [stderr] Compiling futures-task v0.3.8 [INFO] [stderr] Compiling form_urlencoded v1.0.0 [INFO] [stderr] Compiling concurrent-queue v1.2.2 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling cmake v0.1.45 [INFO] [stderr] Compiling http v0.2.2 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling async-mutex v1.4.0 [INFO] [stderr] Compiling async-channel v1.5.1 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling tracing v0.1.22 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling os_info v2.0.8 [INFO] [stderr] Compiling futures-lite v1.11.3 [INFO] [stderr] Compiling combine v4.5.1 [INFO] [stderr] Compiling ring v0.16.19 [INFO] [stderr] Compiling libz-sys v1.1.2 [INFO] [stderr] Compiling rdkafka-sys v2.1.0+1.5.0 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling crypto-mac v0.7.0 [INFO] [stderr] Compiling unicode-normalization v0.1.16 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling signal-hook-registry v1.2.2 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling socket2 v0.3.17 [INFO] [stderr] Compiling parking_lot_core v0.7.2 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling polling v2.0.2 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling nb-connect v1.0.2 [INFO] [stderr] Compiling err-derive v0.2.4 [INFO] [stderr] Compiling sha-1 v0.8.2 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling md-5 v0.8.0 [INFO] [stderr] Compiling pbkdf2 v0.3.0 [INFO] [stderr] Compiling hmac v0.7.1 [INFO] [stderr] Compiling addr2line v0.14.0 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling async-executor v1.4.0 [INFO] [stderr] Compiling blocking v1.0.2 [INFO] [stderr] Compiling resolv-conf v0.7.0 [INFO] [stderr] Compiling async-io v1.3.1 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling parking_lot v0.10.2 [INFO] [stderr] Compiling backtrace v0.3.55 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling async-global-executor v1.4.3 [INFO] [stderr] Compiling futures-intrusive v0.3.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling url v2.2.0 [INFO] [stderr] Compiling async-std v1.8.0 [INFO] [stderr] Compiling uuid v0.8.1 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling sct v0.6.0 [INFO] [stderr] Compiling rustls v0.18.1 [INFO] [stderr] Compiling rustls v0.17.0 [INFO] [stderr] Compiling webpki-roots v0.20.0 [INFO] [stderr] Compiling webpki-roots v0.18.0 [INFO] [stderr] Compiling darling_core v0.10.2 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling typed-builder v0.3.0 [INFO] [stderr] Compiling tokio-macros v0.2.6 [INFO] [stderr] Compiling pin-project-internal v1.0.2 [INFO] [stderr] Compiling futures-macro v0.3.8 [INFO] [stderr] Compiling thiserror-impl v1.0.22 [INFO] [stderr] Compiling async-trait v0.1.42 [INFO] [stderr] Compiling derivative v2.1.1 [INFO] [stderr] Compiling enum-as-inner v0.3.3 [INFO] [stderr] Compiling darling_macro v0.10.2 [INFO] [stderr] Compiling tokio v0.2.24 [INFO] [stderr] Compiling darling v0.10.2 [INFO] [stderr] Compiling serde_with_macros v1.3.0 [INFO] [stderr] Compiling redis v0.19.0 [INFO] [stderr] Compiling thiserror v1.0.22 [INFO] [stderr] Compiling pin-project v1.0.2 [INFO] [stderr] Compiling futures-util v0.3.8 [INFO] [stderr] Compiling pin-project v0.4.27 [INFO] [stderr] Compiling tracing-futures v0.2.4 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling tokio-rustls v0.14.1 [INFO] [stderr] Compiling tokio-rustls v0.13.1 [INFO] [stderr] Compiling futures-executor v0.3.8 [INFO] [stderr] Compiling h2 v0.2.7 [INFO] [stderr] Compiling futures v0.3.8 [INFO] [stderr] Compiling trust-dns-proto v0.19.6 [INFO] [stderr] Compiling toml v0.5.7 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling serde_with v1.6.0 [INFO] [stderr] Compiling serde_bytes v0.11.5 [INFO] [stderr] Compiling trust-dns-resolver v0.19.6 [INFO] [stderr] Compiling bson v1.1.0 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling hyper v0.13.9 [INFO] [stderr] Compiling num_enum_derive v0.5.1 [INFO] [stderr] Compiling num_enum v0.5.1 [INFO] [stderr] Compiling rdkafka v0.24.0 [INFO] [stderr] Compiling hyper-rustls v0.21.0 [INFO] [stderr] Compiling reqwest v0.10.10 [INFO] [stderr] Compiling mongodb v1.1.1 [INFO] [stderr] Compiling ocpc_match v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0583]: file not found for module `redis` [INFO] [stdout] --> src/database/mod.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | pub mod redis; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `redis`, create file "src/database/redis.rs" or "src/database/redis/mod.rs" [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found `$` [INFO] [stdout] --> src/parse/msgtype.rs:143:93 [INFO] [stdout] | [INFO] [stdout] 143 | let data = col.search(doc!{"muid":"d04824d869deb938d5f49a5abbd99d4b","nginxts":{$gte:1607042516}},"dspdata").await; [INFO] [stdout] | ^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> src/parse/logparse.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::macros::support::Pin` [INFO] [stdout] --> src/parse/logparse.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use tokio::macros::support::Pin; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Collection` [INFO] [stdout] --> src/parse/msgtype.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | Collection, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::database::mongo` [INFO] [stdout] --> src/parse/afkafka.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | use crate::database::mongo; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Collection` [INFO] [stdout] --> src/database/mongo.rs:1:62 [INFO] [stdout] | [INFO] [stdout] 1 | use mongodb::{Client, options::{ClientOptions, FindOptions}, Collection, Database, Cursor}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Bson` [INFO] [stdout] --> src/database/mongo.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | bson::{Document,Bson}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mongodb::error::Error` [INFO] [stdout] --> src/database/mongo.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use mongodb::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/database/mongo.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 65 | let mut d:OcpcMsg = bson::from_document(res).unwrap(); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0583`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ocpc_match` [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" "bf2811af1a18ca36034055e7ae0a0476344d48fcb94b65990e313e70031ac186", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf2811af1a18ca36034055e7ae0a0476344d48fcb94b65990e313e70031ac186", kill_on_drop: false }` [INFO] [stdout] bf2811af1a18ca36034055e7ae0a0476344d48fcb94b65990e313e70031ac186