[INFO] fetching crate sonar-as-code 0.0.1... [INFO] testing sonar-as-code-0.0.1 against master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] extracting crate sonar-as-code 0.0.1 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate sonar-as-code 0.0.1 on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "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-1/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" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0ec940bf7ef5aa7d35e4b0f53a32764e2adf40283d3eb143a774143cd3336f99 [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" "0ec940bf7ef5aa7d35e4b0f53a32764e2adf40283d3eb143a774143cd3336f99", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0ec940bf7ef5aa7d35e4b0f53a32764e2adf40283d3eb143a774143cd3336f99", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ec940bf7ef5aa7d35e4b0f53a32764e2adf40283d3eb143a774143cd3336f99", kill_on_drop: false }` [INFO] [stdout] 0ec940bf7ef5aa7d35e4b0f53a32764e2adf40283d3eb143a774143cd3336f99 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "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] aa4a515ceee57a12c29905cda79edc039b227a51121750723bee6fd08e3b3f3c [INFO] running `Command { std: "docker" "start" "-a" "aa4a515ceee57a12c29905cda79edc039b227a51121750723bee6fd08e3b3f3c", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling proc-macro2 v1.0.9 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling serde v1.0.105 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling proc-macro-error-attr v0.4.12 [INFO] [stderr] Compiling proc-macro-error v0.4.12 [INFO] [stderr] Compiling yaml-rust v0.4.3 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling encoding_rs v0.8.22 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling openssl v0.10.28 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling futures-util v0.3.4 [INFO] [stderr] Compiling mio v0.6.21 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling tokio v0.2.13 [INFO] [stderr] Compiling retry v1.0.0 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Compiling tokio-util v0.2.0 [INFO] [stderr] Compiling tokio-tls v0.3.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 h2 v0.2.3 [INFO] [stderr] Compiling syn-mid v0.5.0 [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 structopt-derive v0.4.5 [INFO] [stderr] Compiling thiserror v1.0.14 [INFO] [stderr] Compiling envsubst v0.2.0 [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] [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 1m 38s [INFO] running `Command { std: "docker" "inspect" "aa4a515ceee57a12c29905cda79edc039b227a51121750723bee6fd08e3b3f3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa4a515ceee57a12c29905cda79edc039b227a51121750723bee6fd08e3b3f3c", kill_on_drop: false }` [INFO] [stdout] aa4a515ceee57a12c29905cda79edc039b227a51121750723bee6fd08e3b3f3c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen" "--no-run" "--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] d8ed463d16bf468d3640d62bfb937ec6f8061839900e3d79faafe3eb4b6e8e6b [INFO] running `Command { std: "docker" "start" "-a" "d8ed463d16bf468d3640d62bfb937ec6f8061839900e3d79faafe3eb4b6e8e6b", 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] [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 2.23s [INFO] running `Command { std: "docker" "inspect" "d8ed463d16bf468d3640d62bfb937ec6f8061839900e3d79faafe3eb4b6e8e6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d8ed463d16bf468d3640d62bfb937ec6f8061839900e3d79faafe3eb4b6e8e6b", kill_on_drop: false }` [INFO] [stdout] d8ed463d16bf468d3640d62bfb937ec6f8061839900e3d79faafe3eb4b6e8e6b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] cc70941343f750895608898ba92f260e4b0f1a917df5777e6ec57c991c2b662b [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" "cc70941343f750895608898ba92f260e4b0f1a917df5777e6ec57c991c2b662b", kill_on_drop: false }` [INFO] [stderr] warning: field is never read: `verbose` [INFO] [stderr] --> src/main.rs:29:5 [INFO] [stderr] | [INFO] [stderr] 29 | verbose: Verbosity, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/setup.rs:69:55 [INFO] [stderr] | [INFO] [stderr] 69 | assert!(!envsubst::is_templated(&resolve_string), format!("Cannot resolve all variables from [{}].", tokenized)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 69 - assert!(!envsubst::is_templated(&resolve_string), format!("Cannot resolve all variables from [{}].", tokenized)); [INFO] [stderr] 69 + assert!(!envsubst::is_templated(&resolve_string), "Cannot resolve all variables from [{}].", tokenized); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/sonar_api.rs:200:20 [INFO] [stderr] | [INFO] [stderr] 200 | panic!(format!("Pagination of user groups is not supported. The user is [{}].", _user)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 200 - panic!(format!("Pagination of user groups is not supported. The user is [{}].", _user)) [INFO] [stderr] 200 + panic!("Pagination of user groups is not supported. The user is [{}].", _user) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/sonar_api.rs:264:20 [INFO] [stderr] | [INFO] [stderr] 264 | panic!(format!("{}.\nResponse:\n{:#?}", msg, resp.json::())); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 264 - panic!(format!("{}.\nResponse:\n{:#?}", msg, resp.json::())); [INFO] [stderr] 264 + panic!("{}.\nResponse:\n{:#?}", msg, resp.json::()); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/sonar_api.rs:271:20 [INFO] [stderr] | [INFO] [stderr] 271 | panic!(format!("{}.\nResponse:\n{:#?}", msg, resp.json::())); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 271 - panic!(format!("{}.\nResponse:\n{:#?}", msg, resp.json::())); [INFO] [stderr] 271 + panic!("{}.\nResponse:\n{:#?}", msg, resp.json::()); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/main.rs:56:13 [INFO] [stderr] | [INFO] [stderr] 56 | setup::setup(setup_cmd); [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: unused `Result` that must be used [INFO] [stderr] --> src/main.rs:59:13 [INFO] [stderr] | [INFO] [stderr] 59 | generate_token::generate_token(generate_token_cmd); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: `sonar-as-code` (bin "sonar-as-code" test) generated 7 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.14s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/sonar_as_code-6149482546b5ea8c) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "cc70941343f750895608898ba92f260e4b0f1a917df5777e6ec57c991c2b662b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc70941343f750895608898ba92f260e4b0f1a917df5777e6ec57c991c2b662b", kill_on_drop: false }` [INFO] [stdout] cc70941343f750895608898ba92f260e4b0f1a917df5777e6ec57c991c2b662b