[INFO] cloning repository https://github.com/Lyr3x/soa [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Lyr3x/soa" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLyr3x%2Fsoa", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLyr3x%2Fsoa'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5e17eb6f39e4e751825bc0e260370eb9d053aa41 [INFO] testing Lyr3x/soa against try#ce59db7a1b1b012fb2793c4641c1bdecad7a128b for pr-85530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLyr3x%2Fsoa" "/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/Lyr3x/soa on toolchain ce59db7a1b1b012fb2793c4641c1bdecad7a128b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Lyr3x/soa [INFO] finished tweaking git repo https://github.com/Lyr3x/soa [INFO] tweaked toml for git repo https://github.com/Lyr3x/soa written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/Lyr3x/soa already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded backtrace v0.3.30 [INFO] [stderr] Downloaded reqwest v0.9.18 [INFO] [stderr] Downloaded h2 v0.1.24 [INFO] [stderr] Downloaded syn v0.15.36 [INFO] [stderr] Downloaded serde-xml-rs v0.3.1 [INFO] [stderr] Downloaded xmlJSON v0.2.0 [INFO] [stderr] Downloaded restson v0.5.3 [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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8a0afa4e10cd2cb0523d194cb193bfe6fa5334c094ba2f199e885bc7f319aad7 [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" "8a0afa4e10cd2cb0523d194cb193bfe6fa5334c094ba2f199e885bc7f319aad7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8a0afa4e10cd2cb0523d194cb193bfe6fa5334c094ba2f199e885bc7f319aad7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a0afa4e10cd2cb0523d194cb193bfe6fa5334c094ba2f199e885bc7f319aad7", kill_on_drop: false }` [INFO] [stdout] 8a0afa4e10cd2cb0523d194cb193bfe6fa5334c094ba2f199e885bc7f319aad7 [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=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" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "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] 6646fefbc237c62de5b97bd778c4065461ce021eae9de8dd133a85e518c4461d [INFO] running `Command { std: "docker" "start" "-a" "6646fefbc237c62de5b97bd778c4065461ce021eae9de8dd133a85e518c4461d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.58 [INFO] [stderr] Compiling autocfg v0.1.4 [INFO] [stderr] Compiling cfg-if v0.1.9 [INFO] [stderr] Compiling rand_core v0.4.0 [INFO] [stderr] Compiling lazy_static v1.3.0 [INFO] [stderr] Compiling cc v1.0.37 [INFO] [stderr] Compiling futures v0.1.27 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling smallvec v0.6.10 [INFO] [stderr] Compiling either v1.5.2 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling syn v0.15.36 [INFO] [stderr] Compiling stable_deref_trait v1.1.1 [INFO] [stderr] Compiling nodrop v0.1.13 [INFO] [stderr] Compiling pkg-config v0.3.14 [INFO] [stderr] Compiling itoa v0.4.4 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling serde v1.0.92 [INFO] [stderr] Compiling rustc-demangle v0.1.15 [INFO] [stderr] Compiling memchr v2.2.0 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Compiling ryu v0.2.8 [INFO] [stderr] Compiling openssl v0.10.23 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Compiling indexmap v1.0.2 [INFO] [stderr] Compiling native-tls v0.2.3 [INFO] [stderr] Compiling try-lock v0.2.2 [INFO] [stderr] Compiling regex v1.1.7 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling utf8-ranges v1.0.3 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling encoding_rs v0.8.17 [INFO] [stderr] Compiling bitflags v0.7.0 [INFO] [stderr] Compiling dtoa v0.4.4 [INFO] [stderr] Compiling xml-rs v0.8.0 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling error-chain v0.12.1 [INFO] [stderr] Compiling unicase v2.4.0 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling try_from v0.3.2 [INFO] [stderr] Compiling owning_ref v0.4.0 [INFO] [stderr] Compiling crossbeam-utils v0.6.5 [INFO] [stderr] Compiling tokio-trace-core v0.2.0 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling unicode-normalization v0.1.8 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling backtrace v0.3.30 [INFO] [stderr] Compiling regex-syntax v0.6.7 [INFO] [stderr] Compiling miniz_oxide v0.2.1 [INFO] [stderr] Compiling xml-rs v0.3.6 [INFO] [stderr] Compiling arrayvec v0.4.10 [INFO] [stderr] Compiling lock_api v0.1.5 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling crossbeam-queue v0.1.2 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling crossbeam-epoch v0.7.1 [INFO] [stderr] Compiling tokio-executor v0.1.7 [INFO] [stderr] Compiling tokio-sync v0.1.6 [INFO] [stderr] Compiling want v0.0.6 [INFO] [stderr] Compiling backtrace-sys v0.1.28 [INFO] [stderr] Compiling openssl-sys v0.9.47 [INFO] [stderr] Compiling miniz_oxide_c_api v0.2.1 [INFO] [stderr] Compiling quote v0.6.12 [INFO] [stderr] Compiling aho-corasick v0.7.3 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling num_cpus v1.10.1 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling tokio-current-thread v0.1.6 [INFO] [stderr] Compiling tokio-timer v0.2.11 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Compiling mime v0.3.13 [INFO] [stderr] Compiling crossbeam-deque v0.7.1 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling phf v0.7.24 [INFO] [stderr] Compiling xmlJSON v0.2.0 [INFO] [stderr] Compiling mio v0.6.19 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling tokio-io v0.1.12 [INFO] [stderr] Compiling http v0.1.17 [INFO] [stderr] Compiling tokio-buf v0.1.1 [INFO] [stderr] Compiling string v0.2.0 [INFO] [stderr] Compiling flate2 v1.0.9 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling tokio-codec v0.1.1 [INFO] [stderr] Compiling tokio-threadpool v0.1.14 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling uuid v0.7.4 [INFO] [stderr] Compiling cookie v0.12.0 [INFO] [stderr] Compiling error-chain v0.10.0 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling parking_lot v0.7.1 [INFO] [stderr] Compiling mime_guess v2.0.0-alpha.6 [INFO] [stderr] Compiling tokio-reactor v0.1.9 [INFO] [stderr] Compiling publicsuffix v1.5.2 [INFO] [stderr] Compiling tokio-fs v0.1.6 [INFO] [stderr] Compiling tokio-tcp v0.1.3 [INFO] [stderr] Compiling tokio-uds v0.2.5 [INFO] [stderr] Compiling tokio-udp v0.1.3 [INFO] [stderr] Compiling synstructure v0.10.2 [INFO] [stderr] Compiling tokio v0.1.21 [INFO] [stderr] Compiling tokio-core v0.1.17 [INFO] [stderr] Compiling http-body v0.1.0 [INFO] [stderr] Compiling h2 v0.1.24 [INFO] [stderr] Compiling serde_derive v1.0.92 [INFO] [stderr] Compiling failure v0.1.5 [INFO] [stderr] Compiling hyper v0.12.30 [INFO] [stderr] Compiling hyper-tls v0.3.2 [INFO] [stderr] Compiling serde_json v1.0.39 [INFO] [stderr] Compiling serde_urlencoded v0.5.5 [INFO] [stderr] Compiling serde-xml-rs v0.3.1 [INFO] [stderr] Compiling cookie_store v0.7.0 [INFO] [stderr] Compiling restson v0.5.3 [INFO] [stderr] Compiling reqwest v0.9.18 [INFO] [stderr] Compiling rest_api v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/openCRX/get.rs:25:32 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn get() -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn std::error::Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RestClient` [INFO] [stdout] --> src/openCRX/auth.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | use restson::{Error, RestClient, RestPath}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `orangeHrmDocker` [INFO] [stdout] --> src/main.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | let orangeHrmDocker = "https://orangehrm.ironmanserver.de"; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_orangeHrmDocker` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `write_to_file` [INFO] [stdout] --> src/openCRX/get.rs:12:4 [INFO] [stdout] | [INFO] [stdout] 12 | fn write_to_file(body : &String) -> std::io::Result<()>{ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `build_header` [INFO] [stdout] --> src/openCRX/get.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn build_header() -> hyper::HeaderMap{ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get` [INFO] [stdout] --> src/openCRX/get.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn get() -> Result<(), Box> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_json` [INFO] [stdout] --> src/openCRX/get.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn get_json(){ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `write_to_file` [INFO] [stdout] --> src/openCRX/get_json.rs:36:4 [INFO] [stdout] | [INFO] [stdout] 36 | fn write_to_file(body : &Vec) -> std::io::Result<()>{ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `orangeHrm` should have a snake case name [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | mod orangeHrm; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `orange_hrm` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `openCRX` should have a snake case name [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | mod openCRX; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `open_crx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `orangeHrm` should have a snake case name [INFO] [stdout] --> src/main.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | let orangeHrm = "https://sepp-hrm.inf.h-brs.de"; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `orange_hrm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `orangeHrmDocker` should have a snake case name [INFO] [stdout] --> src/main.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | let orangeHrmDocker = "https://orangehrm.ironmanserver.de"; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `orange_hrm_docker` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/orangeHrm/post.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | write_to_file(&resp.access_token); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `userName` should have a snake case name [INFO] [stdout] --> src/orangeHrm/get.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | userName: String, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `user_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `userRole` should have a snake case name [INFO] [stdout] --> src/orangeHrm/get.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | userRole: String, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `user_role` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `employeeName` should have a snake case name [INFO] [stdout] --> src/orangeHrm/get.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | employeeName: String, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `employee_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `employeeId` should have a snake case name [INFO] [stdout] --> src/orangeHrm/get.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | employeeId: String [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `employee_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/orangeHrm/get.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | write!(&mut writer, "{:#?}", &body); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getUserList` should have a snake case name [INFO] [stdout] --> src/orangeHrm/get.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn getUserList(url: &str, access_token: &str) { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `get_user_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/openCRX/get.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | write_to_file(&body); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `userName` should have a snake case name [INFO] [stdout] --> src/openCRX/get_json.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | userName: String, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `user_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `userRole` should have a snake case name [INFO] [stdout] --> src/openCRX/get_json.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | userRole: String, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `user_role` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `employeeName` should have a snake case name [INFO] [stdout] --> src/openCRX/get_json.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | employeeName: String, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `employee_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `employeeId` should have a snake case name [INFO] [stdout] --> src/openCRX/get_json.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | employeeId: String [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `employee_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/openCRX/get_json.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | write!(&mut writer, "{:#?}", &body); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getUserList` should have a snake case name [INFO] [stdout] --> src/openCRX/get_json.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn getUserList(url: &str) { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `get_user_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 28s [INFO] running `Command { std: "docker" "inspect" "6646fefbc237c62de5b97bd778c4065461ce021eae9de8dd133a85e518c4461d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6646fefbc237c62de5b97bd778c4065461ce021eae9de8dd133a85e518c4461d", kill_on_drop: false }` [INFO] [stdout] 6646fefbc237c62de5b97bd778c4065461ce021eae9de8dd133a85e518c4461d [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=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" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8fd3065539f8e6cddbf53e40943a7f1416d8789530e469026ec7732f36f6bb1c [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" "8fd3065539f8e6cddbf53e40943a7f1416d8789530e469026ec7732f36f6bb1c", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling rest_api v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/openCRX/get.rs:25:32 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn get() -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn std::error::Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `orangeHrmDocker` [INFO] [stdout] --> src/main.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | let orangeHrmDocker = "https://orangehrm.ironmanserver.de"; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_orangeHrmDocker` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `write_to_file` [INFO] [stdout] --> src/openCRX/get.rs:12:4 [INFO] [stdout] | [INFO] [stdout] 12 | fn write_to_file(body : &String) -> std::io::Result<()>{ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `build_header` [INFO] [stdout] --> src/openCRX/get.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn build_header() -> hyper::HeaderMap{ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get` [INFO] [stdout] --> src/openCRX/get.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn get() -> Result<(), Box> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_json` [INFO] [stdout] --> src/openCRX/get.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn get_json(){ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `write_to_file` [INFO] [stdout] --> src/openCRX/get_json.rs:36:4 [INFO] [stdout] | [INFO] [stdout] 36 | fn write_to_file(body : &Vec) -> std::io::Result<()>{ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `orangeHrm` should have a snake case name [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | mod orangeHrm; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `orange_hrm` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `openCRX` should have a snake case name [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | mod openCRX; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `open_crx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `orangeHrm` should have a snake case name [INFO] [stdout] --> src/main.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | let orangeHrm = "https://sepp-hrm.inf.h-brs.de"; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `orange_hrm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `orangeHrmDocker` should have a snake case name [INFO] [stdout] --> src/main.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | let orangeHrmDocker = "https://orangehrm.ironmanserver.de"; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `orange_hrm_docker` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/orangeHrm/post.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | write_to_file(&resp.access_token); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `userName` should have a snake case name [INFO] [stdout] --> src/orangeHrm/get.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | userName: String, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `user_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `userRole` should have a snake case name [INFO] [stdout] --> src/orangeHrm/get.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | userRole: String, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `user_role` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `employeeName` should have a snake case name [INFO] [stdout] --> src/orangeHrm/get.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | employeeName: String, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `employee_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `employeeId` should have a snake case name [INFO] [stdout] --> src/orangeHrm/get.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | employeeId: String [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `employee_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/orangeHrm/get.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | write!(&mut writer, "{:#?}", &body); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getUserList` should have a snake case name [INFO] [stdout] --> src/orangeHrm/get.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn getUserList(url: &str, access_token: &str) { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `get_user_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/openCRX/get.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | write_to_file(&body); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `userName` should have a snake case name [INFO] [stdout] --> src/openCRX/get_json.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | userName: String, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `user_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `userRole` should have a snake case name [INFO] [stdout] --> src/openCRX/get_json.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | userRole: String, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `user_role` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `employeeName` should have a snake case name [INFO] [stdout] --> src/openCRX/get_json.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | employeeName: String, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `employee_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `employeeId` should have a snake case name [INFO] [stdout] --> src/openCRX/get_json.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | employeeId: String [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `employee_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/openCRX/get_json.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | write!(&mut writer, "{:#?}", &body); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getUserList` should have a snake case name [INFO] [stdout] --> src/openCRX/get_json.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn getUserList(url: &str) { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `get_user_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 5.51s [INFO] running `Command { std: "docker" "inspect" "8fd3065539f8e6cddbf53e40943a7f1416d8789530e469026ec7732f36f6bb1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8fd3065539f8e6cddbf53e40943a7f1416d8789530e469026ec7732f36f6bb1c", kill_on_drop: false }` [INFO] [stdout] 8fd3065539f8e6cddbf53e40943a7f1416d8789530e469026ec7732f36f6bb1c [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=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" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 31bb2ee89026f3985705e84c5f77ae3bd62f220b29cd72131e5091b49c90b664 [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" "31bb2ee89026f3985705e84c5f77ae3bd62f220b29cd72131e5091b49c90b664", kill_on_drop: false }` [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/openCRX/get.rs:25:32 [INFO] [stderr] | [INFO] [stderr] 25 | pub fn get() -> Result<(), Box> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn std::error::Error` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: unused variable: `orangeHrmDocker` [INFO] [stderr] --> src/main.rs:16:9 [INFO] [stderr] | [INFO] [stderr] 16 | let orangeHrmDocker = "https://orangehrm.ironmanserver.de"; [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_orangeHrmDocker` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `write_to_file` [INFO] [stderr] --> src/openCRX/get.rs:12:4 [INFO] [stderr] | [INFO] [stderr] 12 | fn write_to_file(body : &String) -> std::io::Result<()>{ [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `build_header` [INFO] [stderr] --> src/openCRX/get.rs:19:8 [INFO] [stderr] | [INFO] [stderr] 19 | pub fn build_header() -> hyper::HeaderMap{ [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `get` [INFO] [stderr] --> src/openCRX/get.rs:25:8 [INFO] [stderr] | [INFO] [stderr] 25 | pub fn get() -> Result<(), Box> { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `get_json` [INFO] [stderr] --> src/openCRX/get.rs:40:8 [INFO] [stderr] | [INFO] [stderr] 40 | pub fn get_json(){ [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `write_to_file` [INFO] [stderr] --> src/openCRX/get_json.rs:36:4 [INFO] [stderr] | [INFO] [stderr] 36 | fn write_to_file(body : &Vec) -> std::io::Result<()>{ [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: module `orangeHrm` should have a snake case name [INFO] [stderr] --> src/main.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | mod orangeHrm; [INFO] [stderr] | ^^^^^^^^^ help: convert the identifier to snake case: `orange_hrm` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] [INFO] [stderr] warning: module `openCRX` should have a snake case name [INFO] [stderr] --> src/main.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | mod openCRX; [INFO] [stderr] | ^^^^^^^ help: convert the identifier to snake case: `open_crx` [INFO] [stderr] [INFO] [stderr] warning: variable `orangeHrm` should have a snake case name [INFO] [stderr] --> src/main.rs:15:9 [INFO] [stderr] | [INFO] [stderr] 15 | let orangeHrm = "https://sepp-hrm.inf.h-brs.de"; [INFO] [stderr] | ^^^^^^^^^ help: convert the identifier to snake case: `orange_hrm` [INFO] [stderr] [INFO] [stderr] warning: variable `orangeHrmDocker` should have a snake case name [INFO] [stderr] --> src/main.rs:16:9 [INFO] [stderr] | [INFO] [stderr] 16 | let orangeHrmDocker = "https://orangehrm.ironmanserver.de"; [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `orange_hrm_docker` [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/orangeHrm/post.rs:37:5 [INFO] [stderr] | [INFO] [stderr] 37 | write_to_file(&resp.access_token); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: structure field `userName` should have a snake case name [INFO] [stderr] --> src/orangeHrm/get.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | userName: String, [INFO] [stderr] | ^^^^^^^^ help: convert the identifier to snake case: `user_name` [INFO] [stderr] [INFO] [stderr] warning: structure field `userRole` should have a snake case name [INFO] [stderr] --> src/orangeHrm/get.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | userRole: String, [INFO] [stderr] | ^^^^^^^^ help: convert the identifier to snake case: `user_role` [INFO] [stderr] [INFO] [stderr] warning: structure field `employeeName` should have a snake case name [INFO] [stderr] --> src/orangeHrm/get.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | employeeName: String, [INFO] [stderr] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `employee_name` [INFO] [stderr] [INFO] [stderr] warning: structure field `employeeId` should have a snake case name [INFO] [stderr] --> src/orangeHrm/get.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 20 | employeeId: String [INFO] [stderr] | ^^^^^^^^^^ help: convert the identifier to snake case: `employee_id` [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/orangeHrm/get.rs:37:5 [INFO] [stderr] | [INFO] [stderr] 37 | write!(&mut writer, "{:#?}", &body); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: function `getUserList` should have a snake case name [INFO] [stderr] --> src/orangeHrm/get.rs:41:8 [INFO] [stderr] | [INFO] [stderr] 41 | pub fn getUserList(url: &str, access_token: &str) { [INFO] [stderr] | ^^^^^^^^^^^ help: convert the identifier to snake case: `get_user_list` [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/openCRX/get.rs:35:5 [INFO] [stderr] | [INFO] [stderr] 35 | write_to_file(&body); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: structure field `userName` should have a snake case name [INFO] [stderr] --> src/openCRX/get_json.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | userName: String, [INFO] [stderr] | ^^^^^^^^ help: convert the identifier to snake case: `user_name` [INFO] [stderr] [INFO] [stderr] warning: structure field `userRole` should have a snake case name [INFO] [stderr] --> src/openCRX/get_json.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | userRole: String, [INFO] [stderr] | ^^^^^^^^ help: convert the identifier to snake case: `user_role` [INFO] [stderr] [INFO] [stderr] warning: structure field `employeeName` should have a snake case name [INFO] [stderr] --> src/openCRX/get_json.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | employeeName: String, [INFO] [stderr] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `employee_name` [INFO] [stderr] [INFO] [stderr] warning: structure field `employeeId` should have a snake case name [INFO] [stderr] --> src/openCRX/get_json.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 20 | employeeId: String [INFO] [stderr] | ^^^^^^^^^^ help: convert the identifier to snake case: `employee_id` [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/openCRX/get_json.rs:39:5 [INFO] [stderr] | [INFO] [stderr] 39 | write!(&mut writer, "{:#?}", &body); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: function `getUserList` should have a snake case name [INFO] [stderr] --> src/openCRX/get_json.rs:43:8 [INFO] [stderr] | [INFO] [stderr] 43 | pub fn getUserList(url: &str) { [INFO] [stderr] | ^^^^^^^^^^^ help: convert the identifier to snake case: `get_user_list` [INFO] [stderr] [INFO] [stderr] warning: 25 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.17s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/rest_api-d7cd4333055c272c) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test openCRX::auth::basic_auth ... FAILED [INFO] [stdout] test openCRX::auth::basic_auth_fail ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- openCRX::auth::basic_auth stdout ---- [INFO] [stdout] thread 'openCRX::auth::basic_auth' panicked at 'called `Result::unwrap()` on an `Err` value: HyperError(Error(Connect, Custom { kind: Other, error: "failed to lookup address information: Temporary failure in name resolution" }))', src/openCRX/auth.rs:22:10 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x559ff589a960 - std[77c0456e0eb29f0c]::backtrace_rs::backtrace::libunwind::trace [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/../../backtrace/src/backtrace/libunwind.rs:90:5 [INFO] [stdout] 1: 0x559ff589a960 - std[77c0456e0eb29f0c]::backtrace_rs::backtrace::trace_unsynchronized:: [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x559ff589a960 - std[77c0456e0eb29f0c]::sys_common::backtrace::_print_fmt [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x559ff589a960 - ::fmt [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x559ff58bdf0c - core[ee1ca6415511a9c4]::fmt::write [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/core/src/fmt/mod.rs:1110:17 [INFO] [stdout] 5: 0x559ff5894405 - as std[77c0456e0eb29f0c]::io::Write>::write_fmt [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/io/mod.rs:1584:15 [INFO] [stdout] 6: 0x559ff589cb3b - std[77c0456e0eb29f0c]::sys_common::backtrace::_print [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x559ff589cb3b - std[77c0456e0eb29f0c]::sys_common::backtrace::print [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x559ff589cb3b - std[77c0456e0eb29f0c]::panicking::default_hook::{closure#1} [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panicking.rs:208:50 [INFO] [stdout] 9: 0x559ff589c64c - std[77c0456e0eb29f0c]::panicking::default_hook [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panicking.rs:222:9 [INFO] [stdout] 10: 0x559ff589d1e1 - std[77c0456e0eb29f0c]::panicking::rust_panic_with_hook [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panicking.rs:622:17 [INFO] [stdout] 11: 0x559ff589cce7 - std[77c0456e0eb29f0c]::panicking::begin_panic_handler::{closure#0} [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panicking.rs:519:13 [INFO] [stdout] 12: 0x559ff589ae5c - std[77c0456e0eb29f0c]::sys_common::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/sys_common/backtrace.rs:141:18 [INFO] [stdout] 13: 0x559ff589cc49 - rust_begin_unwind [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panicking.rs:515:5 [INFO] [stdout] 14: 0x559ff5454af1 - core[ee1ca6415511a9c4]::panicking::panic_fmt [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/core/src/panicking.rs:92:14 [INFO] [stdout] 15: 0x559ff5454be3 - core[ee1ca6415511a9c4]::result::unwrap_failed [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/core/src/result.rs:1355:5 [INFO] [stdout] 16: 0x559ff54584fc - >::unwrap [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/core/src/result.rs:1037:23 [INFO] [stdout] 17: 0x559ff545b83c - rest_api[a0583d8a57522ee3]::openCRX::auth::basic_auth [INFO] [stdout] at /opt/rustwide/workdir/src/openCRX/auth.rs:20:5 [INFO] [stdout] 18: 0x559ff545b73a - rest_api[a0583d8a57522ee3]::openCRX::auth::basic_auth::{closure#0} [INFO] [stdout] at /opt/rustwide/workdir/src/openCRX/auth.rs:16:1 [INFO] [stdout] 19: 0x559ff545c91e - >::call_once [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 20: 0x559ff5482ed3 - >::call_once [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 21: 0x559ff5482ed3 - test[eeb9024d9ac7bc83]::__rust_begin_short_backtrace:: [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/test/src/lib.rs:577:5 [INFO] [stdout] 22: 0x559ff548199c - + core[ee1ca6415511a9c4]::marker::Send> as core[ee1ca6415511a9c4]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/alloc/src/boxed.rs:1575:9 [INFO] [stdout] 23: 0x559ff548199c - + core[ee1ca6415511a9c4]::marker::Send>> as core[ee1ca6415511a9c4]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panic.rs:346:9 [INFO] [stdout] 24: 0x559ff548199c - std[77c0456e0eb29f0c]::panicking::try::do_call:: + core[ee1ca6415511a9c4]::marker::Send>>, ()> [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panicking.rs:401:40 [INFO] [stdout] 25: 0x559ff548199c - std[77c0456e0eb29f0c]::panicking::try::<(), std[77c0456e0eb29f0c]::panic::AssertUnwindSafe + core[ee1ca6415511a9c4]::marker::Send>>> [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panicking.rs:365:19 [INFO] [stdout] 26: 0x559ff548199c - std[77c0456e0eb29f0c]::panic::catch_unwind:: + core[ee1ca6415511a9c4]::marker::Send>>, ()> [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panic.rs:433:14 [INFO] [stdout] 27: 0x559ff548199c - test[eeb9024d9ac7bc83]::run_test_in_process [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/test/src/lib.rs:600:18 [INFO] [stdout] 28: 0x559ff548199c - test[eeb9024d9ac7bc83]::run_test::run_test_inner::{closure#0} [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/test/src/lib.rs:492:39 [INFO] [stdout] 29: 0x559ff5461662 - test[eeb9024d9ac7bc83]::run_test::run_test_inner::{closure#1} [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/test/src/lib.rs:519:37 [INFO] [stdout] 30: 0x559ff5461662 - std[77c0456e0eb29f0c]::sys_common::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/sys_common/backtrace.rs:125:18 [INFO] [stdout] 31: 0x559ff5461f48 - ::spawn_unchecked::::{closure#0}::{closure#0} [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/thread/mod.rs:481:17 [INFO] [stdout] 32: 0x559ff5461f48 - ::spawn_unchecked::{closure#0}::{closure#0}> as core[ee1ca6415511a9c4]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panic.rs:346:9 [INFO] [stdout] 33: 0x559ff5461f48 - std[77c0456e0eb29f0c]::panicking::try::do_call::::spawn_unchecked::{closure#0}::{closure#0}>, ()> [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panicking.rs:401:40 [INFO] [stdout] 34: 0x559ff5461f48 - std[77c0456e0eb29f0c]::panicking::try::<(), std[77c0456e0eb29f0c]::panic::AssertUnwindSafe<::spawn_unchecked::{closure#0}::{closure#0}>> [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panicking.rs:365:19 [INFO] [stdout] 35: 0x559ff5461f48 - std[77c0456e0eb29f0c]::panic::catch_unwind::::spawn_unchecked::{closure#0}::{closure#0}>, ()> [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panic.rs:433:14 [INFO] [stdout] 36: 0x559ff5461f48 - ::spawn_unchecked::::{closure#0} [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/thread/mod.rs:480:30 [INFO] [stdout] 37: 0x559ff5461f48 - <::spawn_unchecked::{closure#0} as core[ee1ca6415511a9c4]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 38: 0x559ff58a2567 - > as core[ee1ca6415511a9c4]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/alloc/src/boxed.rs:1575:9 [INFO] [stdout] 39: 0x559ff58a2567 - >> as core[ee1ca6415511a9c4]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/alloc/src/boxed.rs:1575:9 [INFO] [stdout] 40: 0x559ff58a2567 - ::new::thread_start [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/sys/unix/thread.rs:71:17 [INFO] [stdout] 41: 0x7fe6959a8609 - start_thread [INFO] [stdout] 42: 0x7fe695778293 - clone [INFO] [stdout] 43: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- openCRX::auth::basic_auth_fail stdout ---- [INFO] [stdout] thread 'openCRX::auth::basic_auth_fail' panicked at 'Expected Unauthorized/Forbidden HTTP error', src/openCRX/auth.rs:32:14 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x559ff589a960 - std[77c0456e0eb29f0c]::backtrace_rs::backtrace::libunwind::trace [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/../../backtrace/src/backtrace/libunwind.rs:90:5 [INFO] [stdout] 1: 0x559ff589a960 - std[77c0456e0eb29f0c]::backtrace_rs::backtrace::trace_unsynchronized:: [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x559ff589a960 - std[77c0456e0eb29f0c]::sys_common::backtrace::_print_fmt [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x559ff589a960 - ::fmt [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x559ff58bdf0c - core[ee1ca6415511a9c4]::fmt::write [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/core/src/fmt/mod.rs:1110:17 [INFO] [stdout] 5: 0x559ff5894405 - as std[77c0456e0eb29f0c]::io::Write>::write_fmt [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/io/mod.rs:1584:15 [INFO] [stdout] 6: 0x559ff589cb3b - std[77c0456e0eb29f0c]::sys_common::backtrace::_print [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x559ff589cb3b - std[77c0456e0eb29f0c]::sys_common::backtrace::print [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x559ff589cb3b - std[77c0456e0eb29f0c]::panicking::default_hook::{closure#1} [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panicking.rs:208:50 [INFO] [stdout] 9: 0x559ff589c64c - std[77c0456e0eb29f0c]::panicking::default_hook [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panicking.rs:222:9 [INFO] [stdout] 10: 0x559ff589d1e1 - std[77c0456e0eb29f0c]::panicking::rust_panic_with_hook [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panicking.rs:622:17 [INFO] [stdout] 11: 0x559ff5639373 - std[77c0456e0eb29f0c]::panicking::begin_panic::<&str>::{closure#0} [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panicking.rs:542:9 [INFO] [stdout] 12: 0x559ff563eeb9 - std[77c0456e0eb29f0c]::sys_common::backtrace::__rust_end_short_backtrace::::{closure#0}, !> [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/sys_common/backtrace.rs:141:18 [INFO] [stdout] 13: 0x559ff5638f49 - std[77c0456e0eb29f0c]::panicking::begin_panic::<&str> [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panicking.rs:541:12 [INFO] [stdout] 14: 0x559ff545b9b6 - rest_api[a0583d8a57522ee3]::openCRX::auth::basic_auth_fail [INFO] [stdout] at /opt/rustwide/workdir/src/openCRX/auth.rs:32:14 [INFO] [stdout] 15: 0x559ff545b87a - rest_api[a0583d8a57522ee3]::openCRX::auth::basic_auth_fail::{closure#0} [INFO] [stdout] at /opt/rustwide/workdir/src/openCRX/auth.rs:26:1 [INFO] [stdout] 16: 0x559ff545c95e - >::call_once [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 17: 0x559ff5482ed3 - >::call_once [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 18: 0x559ff5482ed3 - test[eeb9024d9ac7bc83]::__rust_begin_short_backtrace:: [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/test/src/lib.rs:577:5 [INFO] [stdout] 19: 0x559ff548199c - + core[ee1ca6415511a9c4]::marker::Send> as core[ee1ca6415511a9c4]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/alloc/src/boxed.rs:1575:9 [INFO] [stdout] 20: 0x559ff548199c - + core[ee1ca6415511a9c4]::marker::Send>> as core[ee1ca6415511a9c4]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panic.rs:346:9 [INFO] [stdout] 21: 0x559ff548199c - std[77c0456e0eb29f0c]::panicking::try::do_call:: + core[ee1ca6415511a9c4]::marker::Send>>, ()> [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panicking.rs:401:40 [INFO] [stdout] 22: 0x559ff548199c - std[77c0456e0eb29f0c]::panicking::try::<(), std[77c0456e0eb29f0c]::panic::AssertUnwindSafe + core[ee1ca6415511a9c4]::marker::Send>>> [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panicking.rs:365:19 [INFO] [stdout] 23: 0x559ff548199c - std[77c0456e0eb29f0c]::panic::catch_unwind:: + core[ee1ca6415511a9c4]::marker::Send>>, ()> [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panic.rs:433:14 [INFO] [stdout] 24: 0x559ff548199c - test[eeb9024d9ac7bc83]::run_test_in_process [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/test/src/lib.rs:600:18 [INFO] [stdout] 25: 0x559ff548199c - test[eeb9024d9ac7bc83]::run_test::run_test_inner::{closure#0} [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/test/src/lib.rs:492:39 [INFO] [stdout] 26: 0x559ff5461662 - test[eeb9024d9ac7bc83]::run_test::run_test_inner::{closure#1} [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/test/src/lib.rs:519:37 [INFO] [stdout] 27: 0x559ff5461662 - std[77c0456e0eb29f0c]::sys_common::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/sys_common/backtrace.rs:125:18 [INFO] [stdout] 28: 0x559ff5461f48 - ::spawn_unchecked::::{closure#0}::{closure#0} [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/thread/mod.rs:481:17 [INFO] [stdout] 29: 0x559ff5461f48 - ::spawn_unchecked::{closure#0}::{closure#0}> as core[ee1ca6415511a9c4]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panic.rs:346:9 [INFO] [stdout] 30: 0x559ff5461f48 - std[77c0456e0eb29f0c]::panicking::try::do_call::::spawn_unchecked::{closure#0}::{closure#0}>, ()> [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panicking.rs:401:40 [INFO] [stdout] 31: 0x559ff5461f48 - std[77c0456e0eb29f0c]::panicking::try::<(), std[77c0456e0eb29f0c]::panic::AssertUnwindSafe<::spawn_unchecked::{closure#0}::{closure#0}>> [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panicking.rs:365:19 [INFO] [stdout] 32: 0x559ff5461f48 - std[77c0456e0eb29f0c]::panic::catch_unwind::::spawn_unchecked::{closure#0}::{closure#0}>, ()> [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panic.rs:433:14 [INFO] [stdout] 33: 0x559ff5461f48 - ::spawn_unchecked::::{closure#0} [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/thread/mod.rs:480:30 [INFO] [stdout] 34: 0x559ff5461f48 - <::spawn_unchecked::{closure#0} as core[ee1ca6415511a9c4]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 35: 0x559ff58a2567 - > as core[ee1ca6415511a9c4]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/alloc/src/boxed.rs:1575:9 [INFO] [stdout] 36: 0x559ff58a2567 - >> as core[ee1ca6415511a9c4]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/alloc/src/boxed.rs:1575:9 [INFO] [stdout] 37: 0x559ff58a2567 - ::new::thread_start [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/sys/unix/thread.rs:71:17 [INFO] [stdout] 38: 0x7fe6959a8609 - start_thread [INFO] [stdout] 39: 0x7fe695778293 - clone [INFO] [stdout] 40: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] openCRX::auth::basic_auth [INFO] [stdout] openCRX::auth::basic_auth_fail [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.10s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--bin rest_api' [INFO] running `Command { std: "docker" "inspect" "31bb2ee89026f3985705e84c5f77ae3bd62f220b29cd72131e5091b49c90b664", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "31bb2ee89026f3985705e84c5f77ae3bd62f220b29cd72131e5091b49c90b664", kill_on_drop: false }` [INFO] [stdout] 31bb2ee89026f3985705e84c5f77ae3bd62f220b29cd72131e5091b49c90b664