[INFO] cloning repository https://github.com/johan-bjareholt/aw-server-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/johan-bjareholt/aw-server-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjohan-bjareholt%2Faw-server-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjohan-bjareholt%2Faw-server-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bb1f36d4cb0b65570fe0f3a73333bb71f14f76db [INFO] checking johan-bjareholt/aw-server-rust against master#9fa580b1175018b0a276b0bc68f9827a106f7260 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjohan-bjareholt%2Faw-server-rust" "/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/johan-bjareholt/aw-server-rust on toolchain 9fa580b1175018b0a276b0bc68f9827a106f7260 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/johan-bjareholt/aw-server-rust [INFO] finished tweaking git repo https://github.com/johan-bjareholt/aw-server-rust [INFO] tweaked toml for git repo https://github.com/johan-bjareholt/aw-server-rust written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate git repo https://github.com/johan-bjareholt/aw-server-rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 706c12115b9e1eb4d64fd43a873a3b6c7f3d05c57fbefca241914372a34cc62e [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" "706c12115b9e1eb4d64fd43a873a3b6c7f3d05c57fbefca241914372a34cc62e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "706c12115b9e1eb4d64fd43a873a3b6c7f3d05c57fbefca241914372a34cc62e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "706c12115b9e1eb4d64fd43a873a3b6c7f3d05c57fbefca241914372a34cc62e", kill_on_drop: false }` [INFO] [stdout] 706c12115b9e1eb4d64fd43a873a3b6c7f3d05c57fbefca241914372a34cc62e [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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 381882a875f57de16e16107b9be6f8219be6f2f402d93095ea7a7cb5607230d0 [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" "381882a875f57de16e16107b9be6f8219be6f2f402d93095ea7a7cb5607230d0", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.88 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling syn v1.0.61 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling yansi v0.5.0 [INFO] [stderr] Checking ahash v0.4.7 [INFO] [stderr] Compiling subtle v2.4.0 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling cpuid-bool v0.2.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling cpuid-bool v0.1.2 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling typeable v0.1.2 [INFO] [stderr] Compiling schemars v0.8.0 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling traitobject v0.1.0 [INFO] [stderr] Compiling state v0.4.2 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Checking dyn-clone v1.0.4 [INFO] [stderr] Checking unicode-xid v0.1.0 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Checking regex-syntax v0.6.22 [INFO] [stderr] Compiling bit-vec v0.4.4 [INFO] [stderr] Checking appdirs v0.2.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling vec_map v0.6.0 [INFO] [stderr] Compiling lalr v0.0.2 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling openssl v0.10.32 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking openssl-probe v0.1.2 [INFO] [stderr] Checking ipnet v2.3.0 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling tokio v1.2.0 [INFO] [stderr] Compiling openssl-src v111.14.0+1.1.1j [INFO] [stderr] Compiling libsqlite3-sys v0.20.1 [INFO] [stderr] Checking tracing-core v0.1.17 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Compiling tinyvec v1.1.1 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Compiling pear_codegen v0.1.4 [INFO] [stderr] Compiling rocket_codegen v0.4.7 [INFO] [stderr] Compiling rocket v0.4.7 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Compiling bit-set v0.4.0 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Checking http v0.2.3 [INFO] [stderr] Compiling httparse v1.3.5 [INFO] [stderr] Checking tracing v0.1.25 [INFO] [stderr] Compiling openssl-sys v0.9.60 [INFO] [stderr] Checking encoding_rs v0.8.28 [INFO] [stderr] Checking buf_redux v0.8.4 [INFO] [stderr] Checking twoway v0.1.8 [INFO] [stderr] Checking futures-util v0.3.13 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking idna v0.2.2 [INFO] [stderr] Checking hashlink v0.6.0 [INFO] [stderr] Compiling redfa v0.0.2 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking cipher v0.2.5 [INFO] [stderr] Checking universal-hash v0.4.0 [INFO] [stderr] Checking aead v0.3.2 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling unicode-normalization v0.1.17 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking getrandom v0.2.2 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Checking filetime v0.2.14 [INFO] [stderr] Checking mio v0.7.9 [INFO] [stderr] Checking gethostname v0.2.1 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Checking url v2.2.1 [INFO] [stderr] Checking sha2 v0.9.3 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Checking polyval v0.4.5 [INFO] [stderr] Checking aes-soft v0.6.4 [INFO] [stderr] Checking ctr v0.6.0 [INFO] [stderr] Checking colored v1.9.3 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Checking crossbeam-channel v0.4.4 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking inotify v0.7.1 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking regex v1.4.3 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.10.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Checking hkdf v0.10.0 [INFO] [stderr] Checking http-body v0.4.0 [INFO] [stderr] Checking ghash v0.3.1 [INFO] [stderr] Checking hyper v0.10.16 [INFO] [stderr] Checking fern v0.6.0 [INFO] [stderr] Checking aes v0.6.0 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Checking mpsc_requests v0.3.3 [INFO] [stderr] Checking aes-gcm v0.8.0 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking notify v4.0.15 [INFO] [stderr] Checking cookie v0.11.4 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Checking multipart v0.17.1 [INFO] [stderr] Checking tokio-util v0.6.3 [INFO] [stderr] Checking h2 v0.3.1 [INFO] [stderr] Compiling serde_derive_internals v0.25.0 [INFO] [stderr] Compiling devise_core v0.2.0 [INFO] [stderr] Compiling serde_derive v1.0.124 [INFO] [stderr] Compiling schemars_derive v0.8.0 [INFO] [stderr] Compiling pin-project-internal v1.0.5 [INFO] [stderr] Compiling devise_codegen v0.2.0 [INFO] [stderr] Compiling plex v0.2.5 [INFO] [stderr] Compiling devise v0.2.0 [INFO] [stderr] Checking pin-project v1.0.5 [INFO] [stderr] Checking hyper v0.14.4 [INFO] [stderr] Compiling pear v0.1.4 [INFO] [stderr] Compiling rocket_http v0.4.7 [INFO] [stderr] Checking serde v1.0.124 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking toml v0.4.10 [INFO] [stderr] Checking unicase_serde v0.1.0 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking rusqlite v0.24.2 [INFO] [stderr] Checking aw-models v0.1.0 (/opt/rustwide/workdir/aw-models) [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.1 [INFO] [stderr] Checking aw-transform v0.1.0 (/opt/rustwide/workdir/aw-transform) [INFO] [stderr] Checking rocket_contrib v0.4.7 [INFO] [stderr] Checking rocket_cors v0.5.2 [INFO] [stderr] Checking aw-datastore v0.1.0 (/opt/rustwide/workdir/aw-datastore) [INFO] [stderr] Checking aw-query v0.1.0 (/opt/rustwide/workdir/aw-query) [INFO] [stderr] Checking aw-client-rust v0.1.0 (/opt/rustwide/workdir/aw-client-rust) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> aw-datastore/src/legacy_import.rs:200:62 [INFO] [stdout] | [INFO] [stdout] 200 | assert!(ds.ensure_legacy_import(&new_conn).unwrap(), true); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 200 | assert!(ds.ensure_legacy_import(&new_conn).unwrap(), "{}", true); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> aw-client-rust/src/lib.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> aw-datastore/tests/datastore.rs:114:30 [INFO] [stdout] | [INFO] [stdout] 114 | Err(e) => panic!(e), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 114 | Err(e) => panic!("{}", e), [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 114 | Err(e) => std::panic::panic_any(e), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking aw-server v0.10.0 (/opt/rustwide/workdir/aw-server) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> aw-query/tests/query.rs:321:30 [INFO] [stdout] | [INFO] [stdout] 321 | Ok(ok) => panic!(format!("Expected QueryError, got {:?}", ok)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 321 | Ok(ok) => panic!("Expected QueryError, got {:?}", ok), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> aw-query/tests/query.rs:324:30 [INFO] [stdout] | [INFO] [stdout] 324 | qe => panic!(format!( [INFO] [stdout] | ______________________________^ [INFO] [stdout] 325 | | "Expected QueryError::VariableNotDefined, got {:?}", [INFO] [stdout] 326 | | qe [INFO] [stdout] 327 | | )), [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 324 | qe => panic!( [INFO] [stdout] 325 | "Expected QueryError::VariableNotDefined, got {:?}", [INFO] [stdout] 326 | qe [INFO] [stdout] 327 | ), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> aw-query/tests/query.rs:333:30 [INFO] [stdout] | [INFO] [stdout] 333 | Ok(ok) => panic!(format!("Expected QueryError, got {:?}", ok)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 333 | Ok(ok) => panic!("Expected QueryError, got {:?}", ok), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> aw-query/tests/query.rs:336:30 [INFO] [stdout] | [INFO] [stdout] 336 | qe => panic!(format!( [INFO] [stdout] | ______________________________^ [INFO] [stdout] 337 | | "Expected QueryError::VariableNotDefined, got {:?}", [INFO] [stdout] 338 | | qe [INFO] [stdout] 339 | | )), [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 336 | qe => panic!( [INFO] [stdout] 337 | "Expected QueryError::VariableNotDefined, got {:?}", [INFO] [stdout] 338 | qe [INFO] [stdout] 339 | ), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking aw-sync v0.1.0 (/opt/rustwide/workdir/aw-sync) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> aw-client-rust/src/lib.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> aw-server/src/main.rs:34:26 [INFO] [stdout] | [INFO] [stdout] 34 | Err(f) => panic!(f.to_string()), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 34 | Err(f) => panic!("{}", f.to_string()), [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 34 | Err(f) => std::panic::panic_any(f.to_string()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start` [INFO] [stdout] --> aw-sync/src/sync.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | start: Option>, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_start` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end` [INFO] [stdout] --> aw-sync/src/sync.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | end: Option>, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `limit` [INFO] [stdout] --> aw-sync/src/sync.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | limit: Option, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_limit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bucket_id` [INFO] [stdout] --> aw-sync/src/sync.rs:90:29 [INFO] [stdout] | [INFO] [stdout] 90 | fn insert_events(&self, bucket_id: &str, events: Vec) -> Result, String> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bucket_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `events` [INFO] [stdout] --> aw-sync/src/sync.rs:90:46 [INFO] [stdout] | [INFO] [stdout] 90 | fn insert_events(&self, bucket_id: &str, events: Vec) -> Result, String> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_events` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bucket_id` [INFO] [stdout] --> aw-sync/src/sync.rs:94:31 [INFO] [stdout] | [INFO] [stdout] 94 | fn get_event_count(&self, bucket_id: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bucket_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bucket_id` [INFO] [stdout] --> aw-sync/src/sync.rs:104:25 [INFO] [stdout] | [INFO] [stdout] 104 | fn heartbeat(&self, bucket_id: &str, event: Event, duration: f64) -> Result { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bucket_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> aw-sync/src/sync.rs:104:42 [INFO] [stdout] | [INFO] [stdout] 104 | fn heartbeat(&self, bucket_id: &str, event: Event, duration: f64) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `duration` [INFO] [stdout] --> aw-sync/src/sync.rs:104:56 [INFO] [stdout] | [INFO] [stdout] 104 | fn heartbeat(&self, bucket_id: &str, event: Event, duration: f64) -> Result { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_duration` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start` [INFO] [stdout] --> aw-sync/src/sync.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | start: Option>, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_start` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end` [INFO] [stdout] --> aw-sync/src/sync.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | end: Option>, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `limit` [INFO] [stdout] --> aw-sync/src/sync.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | limit: Option, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_limit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bucket_id` [INFO] [stdout] --> aw-sync/src/sync.rs:90:29 [INFO] [stdout] | [INFO] [stdout] 90 | fn insert_events(&self, bucket_id: &str, events: Vec) -> Result, String> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bucket_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `events` [INFO] [stdout] --> aw-sync/src/sync.rs:90:46 [INFO] [stdout] | [INFO] [stdout] 90 | fn insert_events(&self, bucket_id: &str, events: Vec) -> Result, String> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_events` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bucket_id` [INFO] [stdout] --> aw-sync/src/sync.rs:94:31 [INFO] [stdout] | [INFO] [stdout] 94 | fn get_event_count(&self, bucket_id: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bucket_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bucket_id` [INFO] [stdout] --> aw-sync/src/sync.rs:104:25 [INFO] [stdout] | [INFO] [stdout] 104 | fn heartbeat(&self, bucket_id: &str, event: Event, duration: f64) -> Result { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bucket_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> aw-sync/src/sync.rs:104:42 [INFO] [stdout] | [INFO] [stdout] 104 | fn heartbeat(&self, bucket_id: &str, event: Event, duration: f64) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `duration` [INFO] [stdout] --> aw-sync/src/sync.rs:104:56 [INFO] [stdout] | [INFO] [stdout] 104 | fn heartbeat(&self, bucket_id: &str, event: Event, duration: f64) -> Result { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_duration` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `sync_run` [INFO] [stdout] --> aw-sync/src/sync.rs:110:8 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn sync_run() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `setup_test` [INFO] [stdout] --> aw-sync/src/sync.rs:141:4 [INFO] [stdout] | [INFO] [stdout] 141 | fn setup_test(sync_directory: &Path) -> std::io::Result> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `log_buckets` [INFO] [stdout] --> aw-sync/src/sync.rs:275:4 [INFO] [stdout] | [INFO] [stdout] 275 | fn log_buckets(ds: &dyn AccessMethod) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> aw-sync/src/sync.rs:219:26 [INFO] [stdout] | [INFO] [stdout] 219 | Err(e) => panic!(e), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 219 | Err(e) => panic!("{}", e), [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 219 | Err(e) => std::panic::panic_any(e), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> aw-server/src/main.rs:34:26 [INFO] [stdout] | [INFO] [stdout] 34 | Err(f) => panic!(f.to_string()), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 34 | Err(f) => panic!("{}", f.to_string()), [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 34 | Err(f) => std::panic::panic_any(f.to_string()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `sync_run` [INFO] [stdout] --> aw-sync/src/sync.rs:110:8 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn sync_run() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `setup_test` [INFO] [stdout] --> aw-sync/src/sync.rs:141:4 [INFO] [stdout] | [INFO] [stdout] 141 | fn setup_test(sync_directory: &Path) -> std::io::Result> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `log_buckets` [INFO] [stdout] --> aw-sync/src/sync.rs:275:4 [INFO] [stdout] | [INFO] [stdout] 275 | fn log_buckets(ds: &dyn AccessMethod) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> aw-sync/src/sync.rs:219:26 [INFO] [stdout] | [INFO] [stdout] 219 | Err(e) => panic!(e), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 219 | Err(e) => panic!("{}", e), [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 219 | Err(e) => std::panic::panic_any(e), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start` [INFO] [stdout] --> aw-sync/src/sync.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | start: Option>, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_start` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end` [INFO] [stdout] --> aw-sync/src/sync.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | end: Option>, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `limit` [INFO] [stdout] --> aw-sync/src/sync.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | limit: Option, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_limit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bucket_id` [INFO] [stdout] --> aw-sync/src/sync.rs:90:29 [INFO] [stdout] | [INFO] [stdout] 90 | fn insert_events(&self, bucket_id: &str, events: Vec) -> Result, String> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bucket_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `events` [INFO] [stdout] --> aw-sync/src/sync.rs:90:46 [INFO] [stdout] | [INFO] [stdout] 90 | fn insert_events(&self, bucket_id: &str, events: Vec) -> Result, String> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_events` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bucket_id` [INFO] [stdout] --> aw-sync/src/sync.rs:94:31 [INFO] [stdout] | [INFO] [stdout] 94 | fn get_event_count(&self, bucket_id: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bucket_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bucket_id` [INFO] [stdout] --> aw-sync/src/sync.rs:104:25 [INFO] [stdout] | [INFO] [stdout] 104 | fn heartbeat(&self, bucket_id: &str, event: Event, duration: f64) -> Result { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bucket_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> aw-sync/src/sync.rs:104:42 [INFO] [stdout] | [INFO] [stdout] 104 | fn heartbeat(&self, bucket_id: &str, event: Event, duration: f64) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `duration` [INFO] [stdout] --> aw-sync/src/sync.rs:104:56 [INFO] [stdout] | [INFO] [stdout] 104 | fn heartbeat(&self, bucket_id: &str, event: Event, duration: f64) -> Result { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_duration` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> aw-sync/src/sync.rs:219:26 [INFO] [stdout] | [INFO] [stdout] 219 | Err(e) => panic!(e), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 219 | Err(e) => panic!("{}", e), [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 219 | Err(e) => std::panic::panic_any(e), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start` [INFO] [stdout] --> aw-sync/src/sync.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | start: Option>, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_start` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end` [INFO] [stdout] --> aw-sync/src/sync.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | end: Option>, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `limit` [INFO] [stdout] --> aw-sync/src/sync.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | limit: Option, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_limit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bucket_id` [INFO] [stdout] --> aw-sync/src/sync.rs:90:29 [INFO] [stdout] | [INFO] [stdout] 90 | fn insert_events(&self, bucket_id: &str, events: Vec) -> Result, String> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bucket_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `events` [INFO] [stdout] --> aw-sync/src/sync.rs:90:46 [INFO] [stdout] | [INFO] [stdout] 90 | fn insert_events(&self, bucket_id: &str, events: Vec) -> Result, String> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_events` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bucket_id` [INFO] [stdout] --> aw-sync/src/sync.rs:94:31 [INFO] [stdout] | [INFO] [stdout] 94 | fn get_event_count(&self, bucket_id: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bucket_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bucket_id` [INFO] [stdout] --> aw-sync/src/sync.rs:104:25 [INFO] [stdout] | [INFO] [stdout] 104 | fn heartbeat(&self, bucket_id: &str, event: Event, duration: f64) -> Result { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bucket_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> aw-sync/src/sync.rs:104:42 [INFO] [stdout] | [INFO] [stdout] 104 | fn heartbeat(&self, bucket_id: &str, event: Event, duration: f64) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `duration` [INFO] [stdout] --> aw-sync/src/sync.rs:104:56 [INFO] [stdout] | [INFO] [stdout] 104 | fn heartbeat(&self, bucket_id: &str, event: Event, duration: f64) -> Result { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_duration` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> aw-sync/src/sync.rs:219:26 [INFO] [stdout] | [INFO] [stdout] 219 | Err(e) => panic!(e), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 219 | Err(e) => panic!("{}", e), [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 219 | Err(e) => std::panic::panic_any(e), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5m 41s [INFO] running `Command { std: "docker" "inspect" "381882a875f57de16e16107b9be6f8219be6f2f402d93095ea7a7cb5607230d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "381882a875f57de16e16107b9be6f8219be6f2f402d93095ea7a7cb5607230d0", kill_on_drop: false }` [INFO] [stdout] 381882a875f57de16e16107b9be6f8219be6f2f402d93095ea7a7cb5607230d0