[INFO] fetching crate sonar-as-code 0.0.1... [INFO] building sonar-as-code-0.0.1 against master#222c5724ecc922fe67815f428c19f82c129d9386 for pr-97334 [INFO] extracting crate sonar-as-code 0.0.1 into /workspace/builds/worker-12/source [INFO] validating manifest of crates.io crate sonar-as-code 0.0.1 on toolchain 222c5724ecc922fe67815f428c19f82c129d9386 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+222c5724ecc922fe67815f428c19f82c129d9386" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate sonar-as-code 0.0.1 [INFO] finished tweaking crates.io crate sonar-as-code 0.0.1 [INFO] tweaked toml for crates.io crate sonar-as-code 0.0.1 written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate crates.io crate sonar-as-code 0.0.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+222c5724ecc922fe67815f428c19f82c129d9386" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_derive v1.0.105 [INFO] [stderr] Downloaded serde v1.0.105 [INFO] [stderr] Downloaded syn v1.0.17 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.60 [INFO] [stderr] Downloaded syn-mid v0.5.0 [INFO] [stderr] Downloaded structopt-derive v0.4.5 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.60 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.60 [INFO] [stderr] Downloaded structopt v0.3.12 [INFO] [stderr] Downloaded native-tls v0.2.4 [INFO] [stderr] Downloaded ryu v1.0.3 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.10 [INFO] [stderr] Downloaded security-framework v0.4.2 [INFO] [stderr] Downloaded thiserror v1.0.14 [INFO] [stderr] Downloaded schannel v0.1.18 [INFO] [stderr] Downloaded clap-verbosity-flag v0.3.1 [INFO] [stderr] Downloaded serde_json v1.0.50 [INFO] [stderr] Downloaded js-sys v0.3.37 [INFO] [stderr] Downloaded hyper v0.13.4 [INFO] [stderr] Downloaded thiserror-impl v1.0.14 [INFO] [stderr] Downloaded proc-macro-error v0.4.12 [INFO] [stderr] Downloaded quote v1.0.3 [INFO] [stderr] Downloaded yaml-rust v0.4.3 [INFO] [stderr] Downloaded libc v0.2.68 [INFO] [stderr] Downloaded envsubst v0.2.0 [INFO] [stderr] Downloaded bumpalo v3.2.1 [INFO] [stderr] Downloaded h2 v0.2.3 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.60 [INFO] [stderr] Downloaded security-framework-sys v0.4.2 [INFO] [stderr] Downloaded web-sys v0.3.37 [INFO] [stderr] Downloaded retry v1.0.0 [INFO] [stderr] Downloaded linked-hash-map v0.5.2 [INFO] [stderr] Downloaded proc-macro-error-attr v0.4.12 [INFO] [stderr] Downloaded serde_yaml v0.8.11 [INFO] [stderr] Downloaded wasm-bindgen v0.2.60 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+222c5724ecc922fe67815f428c19f82c129d9386" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6d1c43638f9aa4f7ea4e96a75ee19b69f68318e314150ef27b50f9b03fe7a8e2 [INFO] running `Command { std: "docker" "start" "-a" "6d1c43638f9aa4f7ea4e96a75ee19b69f68318e314150ef27b50f9b03fe7a8e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6d1c43638f9aa4f7ea4e96a75ee19b69f68318e314150ef27b50f9b03fe7a8e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d1c43638f9aa4f7ea4e96a75ee19b69f68318e314150ef27b50f9b03fe7a8e2", kill_on_drop: false }` [INFO] [stdout] 6d1c43638f9aa4f7ea4e96a75ee19b69f68318e314150ef27b50f9b03fe7a8e2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+222c5724ecc922fe67815f428c19f82c129d9386" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ede9ede48a68615e412a4db2fcf88868cc3e86fceca5788266c6bdf6c85256a2 [INFO] running `Command { std: "docker" "start" "-a" "ede9ede48a68615e412a4db2fcf88868cc3e86fceca5788266c6bdf6c85256a2", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.68 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling proc-macro2 v1.0.9 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling bytes v0.5.4 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling futures-core v0.3.4 [INFO] [stderr] Compiling pin-project-lite v0.1.4 [INFO] [stderr] Compiling serde v1.0.105 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.28 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling smallvec v1.2.0 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling futures-io v0.3.4 [INFO] [stderr] Compiling futures-sink v0.3.4 [INFO] [stderr] Compiling futures-task v0.3.4 [INFO] [stderr] Compiling pin-utils v0.1.0-alpha.4 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Compiling unicode-width v0.1.7 [INFO] [stderr] Compiling try-lock v0.2.2 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling ryu v1.0.3 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling tower-service v0.3.0 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling encoding_rs v0.8.22 [INFO] [stderr] Compiling dtoa v0.4.5 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling linked-hash-map v0.5.2 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling base64 v0.11.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling futures-channel v0.3.4 [INFO] [stderr] Compiling unicode-normalization v0.1.12 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling yaml-rust v0.4.3 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling proc-macro-error-attr v0.4.12 [INFO] [stderr] Compiling proc-macro-error v0.4.12 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling futures-util v0.3.4 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling num_cpus v1.12.0 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling mio v0.6.21 [INFO] [stderr] Compiling openssl-sys v0.9.54 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling tokio v0.2.13 [INFO] [stderr] Compiling retry v1.0.0 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling syn-mid v0.5.0 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling serde_json v1.0.50 [INFO] [stderr] Compiling serde_yaml v0.8.11 [INFO] [stderr] Compiling tokio-util v0.2.0 [INFO] [stderr] Compiling h2 v0.2.3 [INFO] [stderr] Compiling pin-project-internal v0.4.8 [INFO] [stderr] Compiling thiserror-impl v1.0.14 [INFO] [stderr] Compiling serde_derive v1.0.105 [INFO] [stderr] Compiling tokio-tls v0.3.0 [INFO] [stderr] Compiling thiserror v1.0.14 [INFO] [stderr] Compiling envsubst v0.2.0 [INFO] [stderr] Compiling structopt-derive v0.4.5 [INFO] [stderr] Compiling pin-project v0.4.8 [INFO] [stderr] Compiling hyper v0.13.4 [INFO] [stderr] Compiling structopt v0.3.12 [INFO] [stderr] Compiling hyper-tls v0.4.1 [INFO] [stderr] Compiling clap-verbosity-flag v0.3.1 [INFO] [stderr] Compiling reqwest v0.10.4 [INFO] [stderr] Compiling sonar-as-code v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `verbose` [INFO] [stdout] --> src/main.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | verbose: Verbosity, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `MainCmd` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:25:21 [INFO] [stdout] | [INFO] [stdout] 25 | #[derive(StructOpt, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/setup.rs:69:55 [INFO] [stdout] | [INFO] [stdout] 69 | assert!(!envsubst::is_templated(&resolve_string), format!("Cannot resolve all variables from [{}].", tokenized)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the assert!() 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] 69 - assert!(!envsubst::is_templated(&resolve_string), format!("Cannot resolve all variables from [{}].", tokenized)); [INFO] [stdout] 69 + assert!(!envsubst::is_templated(&resolve_string), "Cannot resolve all variables from [{}].", tokenized); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/sonar_api.rs:200:20 [INFO] [stdout] | [INFO] [stdout] 200 | panic!(format!("Pagination of user groups is not supported. The user is [{}].", _user)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [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] 200 - panic!(format!("Pagination of user groups is not supported. The user is [{}].", _user)) [INFO] [stdout] 200 + panic!("Pagination of user groups is not supported. The user is [{}].", _user) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/sonar_api.rs:264:20 [INFO] [stdout] | [INFO] [stdout] 264 | panic!(format!("{}.\nResponse:\n{:#?}", msg, resp.json::())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [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] 264 - panic!(format!("{}.\nResponse:\n{:#?}", msg, resp.json::())); [INFO] [stdout] 264 + panic!("{}.\nResponse:\n{:#?}", msg, resp.json::()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/sonar_api.rs:271:20 [INFO] [stdout] | [INFO] [stdout] 271 | panic!(format!("{}.\nResponse:\n{:#?}", msg, resp.json::())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [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] 271 - panic!(format!("{}.\nResponse:\n{:#?}", msg, resp.json::())); [INFO] [stdout] 271 + panic!("{}.\nResponse:\n{:#?}", msg, resp.json::()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | setup::setup(setup_cmd); [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: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | generate_token::generate_token(generate_token_cmd); [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: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 24.78s [INFO] running `Command { std: "docker" "inspect" "ede9ede48a68615e412a4db2fcf88868cc3e86fceca5788266c6bdf6c85256a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ede9ede48a68615e412a4db2fcf88868cc3e86fceca5788266c6bdf6c85256a2", kill_on_drop: false }` [INFO] [stdout] ede9ede48a68615e412a4db2fcf88868cc3e86fceca5788266c6bdf6c85256a2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+222c5724ecc922fe67815f428c19f82c129d9386" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7ea9c5aa7fef67e329e35109bd68a4eefa2559cf04534843b03a0c0d3d7d3650 [INFO] running `Command { std: "docker" "start" "-a" "7ea9c5aa7fef67e329e35109bd68a4eefa2559cf04534843b03a0c0d3d7d3650", kill_on_drop: false }` [INFO] [stderr] Compiling sonar-as-code v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `verbose` [INFO] [stdout] --> src/main.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | verbose: Verbosity, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `MainCmd` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:25:21 [INFO] [stdout] | [INFO] [stdout] 25 | #[derive(StructOpt, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/setup.rs:69:55 [INFO] [stdout] | [INFO] [stdout] 69 | assert!(!envsubst::is_templated(&resolve_string), format!("Cannot resolve all variables from [{}].", tokenized)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the assert!() 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] 69 - assert!(!envsubst::is_templated(&resolve_string), format!("Cannot resolve all variables from [{}].", tokenized)); [INFO] [stdout] 69 + assert!(!envsubst::is_templated(&resolve_string), "Cannot resolve all variables from [{}].", tokenized); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/sonar_api.rs:200:20 [INFO] [stdout] | [INFO] [stdout] 200 | panic!(format!("Pagination of user groups is not supported. The user is [{}].", _user)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [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] 200 - panic!(format!("Pagination of user groups is not supported. The user is [{}].", _user)) [INFO] [stdout] 200 + panic!("Pagination of user groups is not supported. The user is [{}].", _user) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/sonar_api.rs:264:20 [INFO] [stdout] | [INFO] [stdout] 264 | panic!(format!("{}.\nResponse:\n{:#?}", msg, resp.json::())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [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] 264 - panic!(format!("{}.\nResponse:\n{:#?}", msg, resp.json::())); [INFO] [stdout] 264 + panic!("{}.\nResponse:\n{:#?}", msg, resp.json::()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/sonar_api.rs:271:20 [INFO] [stdout] | [INFO] [stdout] 271 | panic!(format!("{}.\nResponse:\n{:#?}", msg, resp.json::())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [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] 271 - panic!(format!("{}.\nResponse:\n{:#?}", msg, resp.json::())); [INFO] [stdout] 271 + panic!("{}.\nResponse:\n{:#?}", msg, resp.json::()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | setup::setup(setup_cmd); [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: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | generate_token::generate_token(generate_token_cmd); [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: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 26.89s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/sonar_as_code-6149482546b5ea8c) [INFO] running `Command { std: "docker" "inspect" "7ea9c5aa7fef67e329e35109bd68a4eefa2559cf04534843b03a0c0d3d7d3650", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ea9c5aa7fef67e329e35109bd68a4eefa2559cf04534843b03a0c0d3d7d3650", kill_on_drop: false }` [INFO] [stdout] 7ea9c5aa7fef67e329e35109bd68a4eefa2559cf04534843b03a0c0d3d7d3650