[INFO] cloning repository https://github.com/netsle-monitoring/restapi [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/netsle-monitoring/restapi" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnetsle-monitoring%2Frestapi", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnetsle-monitoring%2Frestapi'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] afca9d1c49fda2c9f31d20958dd104532a6b0809 [INFO] checking netsle-monitoring/restapi against try#3bb2879ea9e58d65b875f9a98df44f4a43ce2597 for pr-85387 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnetsle-monitoring%2Frestapi" "/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/netsle-monitoring/restapi on toolchain 3bb2879ea9e58d65b875f9a98df44f4a43ce2597 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3bb2879ea9e58d65b875f9a98df44f4a43ce2597" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/netsle-monitoring/restapi [INFO] finished tweaking git repo https://github.com/netsle-monitoring/restapi [INFO] tweaked toml for git repo https://github.com/netsle-monitoring/restapi written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/netsle-monitoring/restapi already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3bb2879ea9e58d65b875f9a98df44f4a43ce2597" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: dependencies.rocket_contrib.deafult-features [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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+3bb2879ea9e58d65b875f9a98df44f4a43ce2597" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 36f699ceab6851c1bf44920da6c4d5f53d49dd19241e8444ac4ae0a512e4866a [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" "36f699ceab6851c1bf44920da6c4d5f53d49dd19241e8444ac4ae0a512e4866a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "36f699ceab6851c1bf44920da6c4d5f53d49dd19241e8444ac4ae0a512e4866a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "36f699ceab6851c1bf44920da6c4d5f53d49dd19241e8444ac4ae0a512e4866a", kill_on_drop: false }` [INFO] [stdout] 36f699ceab6851c1bf44920da6c4d5f53d49dd19241e8444ac4ae0a512e4866a [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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+3bb2879ea9e58d65b875f9a98df44f4a43ce2597" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 780fbed126565fceab436c7742bf26b78e01fb576194c6c41c1a468de660dad3 [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" "780fbed126565fceab436c7742bf26b78e01fb576194c6c41c1a468de660dad3", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: dependencies.rocket_contrib.deafult-features [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.54 [INFO] [stderr] Compiling yansi v0.5.0 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling cc v1.0.66 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Checking once_cell v1.5.2 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking smallvec v1.5.1 [INFO] [stderr] Checking futures-core v0.3.8 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Checking subtle v1.0.0 [INFO] [stderr] Compiling pin-project-internal v0.4.27 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling zeroize v1.2.0 [INFO] [stderr] Checking pin-project-lite v0.1.11 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling typeable v0.1.2 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Checking pin-project-lite v0.2.0 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling traitobject v0.1.0 [INFO] [stderr] Checking futures-io v0.3.8 [INFO] [stderr] Checking futures-sink v0.3.8 [INFO] [stderr] Compiling serde_json v1.0.60 [INFO] [stderr] Compiling state v0.4.2 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking unicode-xid v0.1.0 [INFO] [stderr] Checking httpdate v0.3.2 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Checking tracing-core v0.1.17 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking tinyvec v1.1.0 [INFO] [stderr] Compiling pear_codegen v0.1.4 [INFO] [stderr] Compiling rocket_codegen v0.4.6 [INFO] [stderr] Compiling rocket v0.4.6 [INFO] [stderr] Compiling rocket_contrib_codegen v0.4.6 [INFO] [stderr] Checking futures-task v0.3.8 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Checking form_urlencoded v1.0.0 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Checking futures-channel v0.3.8 [INFO] [stderr] Checking lock_api v0.4.2 [INFO] [stderr] Checking http v0.2.2 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling libsqlite3-sys v0.18.0 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling unicode-normalization v0.1.16 [INFO] [stderr] Checking encoding_rs v0.8.26 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Checking tracing v0.1.22 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking parking_lot_core v0.8.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking inotify-sys v0.1.4 [INFO] [stderr] Checking socket2 v0.3.18 [INFO] [stderr] Checking filetime v0.2.13 [INFO] [stderr] Compiling openssl-sys v0.9.59 [INFO] [stderr] Compiling ring v0.16.19 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking inotify v0.7.1 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking pem v0.8.2 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling block-cipher-trait v0.6.2 [INFO] [stderr] Compiling universal-hash v0.3.0 [INFO] [stderr] Compiling crypto-mac v0.7.0 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling aead v0.2.0 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking scheduled-thread-pool v0.2.5 [INFO] [stderr] Compiling aes-soft v0.3.3 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Compiling polyval v0.3.3 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling hmac v0.7.1 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Checking tokio v0.2.24 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking r2d2 v0.8.9 [INFO] [stderr] Compiling hkdf v0.8.0 [INFO] [stderr] Compiling ghash v0.2.3 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling aes v0.3.2 [INFO] [stderr] Checking notify v4.0.15 [INFO] [stderr] Compiling openssl v0.10.31 [INFO] [stderr] Compiling native-tls v0.2.6 [INFO] [stderr] Compiling aes-gcm v0.5.0 [INFO] [stderr] Checking url v2.2.0 [INFO] [stderr] Compiling hyper v0.10.16 [INFO] [stderr] Checking simple_asn1 v0.4.1 [INFO] [stderr] Checking cookie v0.11.3 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking tokio-tls v0.3.1 [INFO] [stderr] Compiling devise_core v0.2.0 [INFO] [stderr] Compiling pin-project-internal v1.0.2 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling devise_codegen v0.2.0 [INFO] [stderr] Checking pin-project v1.0.2 [INFO] [stderr] Checking futures-util v0.3.8 [INFO] [stderr] Checking pin-project v0.4.27 [INFO] [stderr] Checking tracing-futures v0.2.4 [INFO] [stderr] Compiling devise v0.2.0 [INFO] [stderr] Compiling pear v0.1.4 [INFO] [stderr] Checking rocket_http v0.4.6 [INFO] [stderr] Checking h2 v0.2.7 [INFO] [stderr] Checking diesel v1.4.5 [INFO] [stderr] Checking toml v0.4.10 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking unicase_serde v0.1.0 [INFO] [stderr] Checking hyper v0.13.9 [INFO] [stderr] Checking jsonwebtoken v7.2.0 [INFO] [stderr] Checking rocket_cors v0.5.2 [INFO] [stderr] Checking hyper-tls v0.4.3 [INFO] [stderr] Checking reqwest v0.10.10 [INFO] [stderr] Checking rocket_contrib v0.4.6 [INFO] [stderr] Checking backend v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/guards/auth.rs:55:29 [INFO] [stdout] | [INFO] [stdout] 55 | _ => panic!(format!("{:?}", *err.kind())), [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] 55 | _ => panic!("{:?}", *err.kind()), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/guards/auth.rs:223:29 [INFO] [stdout] | [INFO] [stdout] 223 | _ => panic!(format!("{:?}", *err.kind())), [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] 223 | _ => panic!("{:?}", *err.kind()), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/guards/auth.rs:276:29 [INFO] [stdout] | [INFO] [stdout] 276 | _ => panic!(format!("{:?}", *err.kind())), [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] 276 | _ => panic!("{:?}", *err.kind()), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:90:26 [INFO] [stdout] | [INFO] [stdout] 90 | Err(e) => panic!(e), [INFO] [stdout] | ^ [INFO] [stdout] | [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] 90 | Err(e) => panic!("{}", e), [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 90 | 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] --> src/guards/auth.rs:55:29 [INFO] [stdout] | [INFO] [stdout] 55 | _ => panic!(format!("{:?}", *err.kind())), [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] 55 | _ => panic!("{:?}", *err.kind()), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/guards/auth.rs:223:29 [INFO] [stdout] | [INFO] [stdout] 223 | _ => panic!(format!("{:?}", *err.kind())), [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] 223 | _ => panic!("{:?}", *err.kind()), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/guards/auth.rs:276:29 [INFO] [stdout] | [INFO] [stdout] 276 | _ => panic!(format!("{:?}", *err.kind())), [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] 276 | _ => panic!("{:?}", *err.kind()), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:90:26 [INFO] [stdout] | [INFO] [stdout] 90 | Err(e) => panic!(e), [INFO] [stdout] | ^ [INFO] [stdout] | [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] 90 | Err(e) => panic!("{}", e), [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 90 | Err(e) => std::panic::panic_any(e), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 53s [INFO] running `Command { std: "docker" "inspect" "780fbed126565fceab436c7742bf26b78e01fb576194c6c41c1a468de660dad3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "780fbed126565fceab436c7742bf26b78e01fb576194c6c41c1a468de660dad3", kill_on_drop: false }` [INFO] [stdout] 780fbed126565fceab436c7742bf26b78e01fb576194c6c41c1a468de660dad3