[INFO] fetching crate sonar-as-code 0.0.1... [INFO] checking sonar-as-code-0.0.1 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate sonar-as-code 0.0.1 into /workspace/builds/worker-9/source [INFO] validating manifest of crates.io crate sonar-as-code 0.0.1 on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "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-9/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" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded envsubst v0.2.0 [INFO] [stderr] Downloaded thiserror-impl v1.0.14 [INFO] [stderr] Downloaded clap-verbosity-flag v0.3.1 [INFO] [stderr] Downloaded proc-macro-error-attr v0.4.12 [INFO] [stderr] Downloaded thiserror v1.0.14 [INFO] [stderr] Downloaded h2 v0.2.3 [INFO] [stderr] Downloaded structopt-derive v0.4.5 [INFO] [stderr] Downloaded structopt v0.3.12 [INFO] [stderr] Downloaded serde_json v1.0.50 [INFO] [stderr] Downloaded proc-macro-error v0.4.12 [INFO] [stderr] Downloaded retry v1.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c891140e1380cc8ae373fc4a8262b673957d85fedfd3d5a2b7b5348a5b5e9d91 [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" "c891140e1380cc8ae373fc4a8262b673957d85fedfd3d5a2b7b5348a5b5e9d91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c891140e1380cc8ae373fc4a8262b673957d85fedfd3d5a2b7b5348a5b5e9d91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c891140e1380cc8ae373fc4a8262b673957d85fedfd3d5a2b7b5348a5b5e9d91", kill_on_drop: false }` [INFO] [stdout] c891140e1380cc8ae373fc4a8262b673957d85fedfd3d5a2b7b5348a5b5e9d91 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5021d0e5dd1451f58bef0504240015d6ebdd5a89a13c366fc6839a1f6ae93b7b [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" "5021d0e5dd1451f58bef0504240015d6ebdd5a89a13c366fc6839a1f6ae93b7b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.68 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling version_check v0.9.1 [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] Checking fnv v1.0.6 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking bytes v0.5.4 [INFO] [stderr] Checking itoa v0.4.5 [INFO] [stderr] Compiling serde v1.0.105 [INFO] [stderr] Compiling openssl v0.10.28 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Checking smallvec v1.2.0 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Checking try-lock v0.2.2 [INFO] [stderr] Checking tower-service v0.3.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking dtoa v0.4.5 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Compiling encoding_rs v0.8.22 [INFO] [stderr] Checking linked-hash-map v0.5.2 [INFO] [stderr] Checking base64 v0.11.0 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking unicode-normalization v0.1.12 [INFO] [stderr] Checking http v0.2.1 [INFO] [stderr] Compiling proc-macro2 v1.0.9 [INFO] [stderr] Checking log v0.4.8 [INFO] [stderr] Checking yaml-rust v0.4.3 [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] Checking want v0.3.0 [INFO] [stderr] Checking futures-util v0.3.4 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking num_cpus v1.12.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Compiling openssl-sys v0.9.54 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking mio v0.6.21 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Checking url v2.1.1 [INFO] [stderr] Checking tokio v0.2.13 [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Checking retry v1.0.0 [INFO] [stderr] Checking serde_urlencoded v0.6.1 [INFO] [stderr] Checking serde_json v1.0.50 [INFO] [stderr] Checking serde_yaml v0.8.11 [INFO] [stderr] Checking tokio-util v0.2.0 [INFO] [stderr] Checking h2 v0.2.3 [INFO] [stderr] Compiling syn-mid v0.5.0 [INFO] [stderr] Checking tokio-tls v0.3.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] Checking thiserror v1.0.14 [INFO] [stderr] Checking envsubst v0.2.0 [INFO] [stderr] Checking pin-project v0.4.8 [INFO] [stderr] Checking hyper v0.13.4 [INFO] [stderr] Checking structopt v0.3.12 [INFO] [stderr] Checking clap-verbosity-flag v0.3.1 [INFO] [stderr] Checking hyper-tls v0.4.1 [INFO] [stderr] Checking reqwest v0.10.4 [INFO] [stderr] Checking sonar-as-code v0.0.1 (/opt/rustwide/workdir) [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_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 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 is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 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 is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 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 is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 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: 6 warnings emitted [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_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 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 is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 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 is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 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 is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 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: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 43s [INFO] running `Command { std: "docker" "inspect" "5021d0e5dd1451f58bef0504240015d6ebdd5a89a13c366fc6839a1f6ae93b7b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5021d0e5dd1451f58bef0504240015d6ebdd5a89a13c366fc6839a1f6ae93b7b", kill_on_drop: false }` [INFO] [stdout] 5021d0e5dd1451f58bef0504240015d6ebdd5a89a13c366fc6839a1f6ae93b7b