[INFO] cloning repository https://github.com/dcuenot/sonar-qg-in-cli [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dcuenot/sonar-qg-in-cli" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdcuenot%2Fsonar-qg-in-cli", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdcuenot%2Fsonar-qg-in-cli'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e97c2b6aba427b9da659063d2c578575d802151a [INFO] testing dcuenot/sonar-qg-in-cli against master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdcuenot%2Fsonar-qg-in-cli" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dcuenot/sonar-qg-in-cli 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 git repo https://github.com/dcuenot/sonar-qg-in-cli [INFO] finished tweaking git repo https://github.com/dcuenot/sonar-qg-in-cli [INFO] tweaked toml for git repo https://github.com/dcuenot/sonar-qg-in-cli written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/dcuenot/sonar-qg-in-cli 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-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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] e683b29e671fd8bc8394ac087ea352d9192593a273b4bde4729b0cd5d03f2a55 [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" "e683b29e671fd8bc8394ac087ea352d9192593a273b4bde4729b0cd5d03f2a55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e683b29e671fd8bc8394ac087ea352d9192593a273b4bde4729b0cd5d03f2a55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e683b29e671fd8bc8394ac087ea352d9192593a273b4bde4729b0cd5d03f2a55", kill_on_drop: false }` [INFO] [stdout] e683b29e671fd8bc8394ac087ea352d9192593a273b4bde4729b0cd5d03f2a55 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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] c5ec42921fde108a7b81ea18cbd5fa25fc49ada1784cceca398ef4845a8c0158 [INFO] running `Command { std: "docker" "start" "-a" "c5ec42921fde108a7b81ea18cbd5fa25fc49ada1784cceca398ef4845a8c0158", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.13 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.22 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling bytes v0.5.4 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling futures-core v0.3.5 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling once_cell v1.4.0 [INFO] [stderr] Compiling openssl v0.10.29 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling futures-io v0.3.5 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-sink v0.3.5 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling encoding_rs v0.8.23 [INFO] [stderr] Compiling unicode-width v0.1.7 [INFO] [stderr] Compiling ppv-lite86 v0.2.8 [INFO] [stderr] Compiling tower-service v0.3.0 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling base64 v0.11.0 [INFO] [stderr] Compiling base64 v0.12.1 [INFO] [stderr] Compiling exitcode v1.1.2 [INFO] [stderr] Compiling openssl-sys v0.9.56 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.2 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling proc-macro-error v1.0.2 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling futures-task v0.3.5 [INFO] [stderr] Compiling futures-channel v0.3.5 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling signal-hook-registry v1.2.0 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling memchr v0.1.11 [INFO] [stderr] Compiling serde_json v1.0.53 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling aho-corasick v0.5.3 [INFO] [stderr] Compiling clap v2.33.1 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling quote v1.0.6 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling thread-id v2.0.0 [INFO] [stderr] Compiling thread_local v0.2.7 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling regex v0.1.80 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling chrono v0.4.11 [INFO] [stderr] Compiling retry v1.0.0 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling simplelog v0.8.0 [INFO] [stderr] Compiling Inflector v0.5.1 [INFO] [stderr] Compiling syn-mid v0.5.0 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling pin-project-internal v0.4.17 [INFO] [stderr] Compiling async-trait v0.1.31 [INFO] [stderr] Compiling serde_derive v1.0.110 [INFO] [stderr] Compiling tokio v0.2.21 [INFO] [stderr] Compiling structopt-derive v0.4.7 [INFO] [stderr] Compiling pin-project v0.4.17 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling structopt v0.3.14 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling tokio-tls v0.3.1 [INFO] [stderr] Compiling h2 v0.2.5 [INFO] [stderr] Compiling hyper v0.13.5 [INFO] [stderr] Compiling hyper-tls v0.4.1 [INFO] [stderr] Compiling reqwest v0.10.4 [INFO] [stderr] Compiling sonar_qg v1.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 38s [INFO] running `Command { std: "docker" "inspect" "c5ec42921fde108a7b81ea18cbd5fa25fc49ada1784cceca398ef4845a8c0158", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5ec42921fde108a7b81ea18cbd5fa25fc49ada1784cceca398ef4845a8c0158", kill_on_drop: false }` [INFO] [stdout] c5ec42921fde108a7b81ea18cbd5fa25fc49ada1784cceca398ef4845a8c0158 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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] [stdout] 401149a56d1392accdf668a3a35e8f11200f813aa11c63b6be3fa08362497810 [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" "401149a56d1392accdf668a3a35e8f11200f813aa11c63b6be3fa08362497810", kill_on_drop: false }` [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling wait-timeout v0.2.0 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling rusty-fork v0.2.2 [INFO] [stderr] Compiling proptest v0.9.6 [INFO] [stderr] Compiling sonar_qg v1.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 27.00s [INFO] running `Command { std: "docker" "inspect" "401149a56d1392accdf668a3a35e8f11200f813aa11c63b6be3fa08362497810", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "401149a56d1392accdf668a3a35e8f11200f813aa11c63b6be3fa08362497810", kill_on_drop: false }` [INFO] [stdout] 401149a56d1392accdf668a3a35e8f11200f813aa11c63b6be3fa08362497810 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] a124ca4be3b898d8146e154fea3ccb748f003020a4a920b60cb6685d4bd8834f [INFO] running `Command { std: "docker" "start" "-a" "a124ca4be3b898d8146e154fea3ccb748f003020a4a920b60cb6685d4bd8834f", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.16s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/sonar_qg-b5eb5a4dde3c32a7) [INFO] [stdout] [INFO] [stdout] running 16 tests [INFO] [stdout] test domain::sonar::condition::tests::a_KO_status_should_display_a_red_cross ... ok [INFO] [stdout] test domain::sonar::condition::tests::duplicated_lines_density_with_0_GT_3_should_display_6percent_gte_3percent ... ok [INFO] [stdout] test domain::sonar::project_status::tests::passed_quality_gate_should_display_green_check ... ok [INFO] [stdout] test domain::sonar::condition::tests::reliability_rating_with_1_LT_2_should_display_A_better_B ... ok [INFO] [stdout] test infra::sonar_analysis_params::read_scanner_work::tests::check_stub ... ok [INFO] [stdout] test domain::sonar::condition::tests::coverage_with_85_8_LT_80_should_display_86percent_gte_80percent ... ok [INFO] [stdout] test domain::sonar::condition::tests::metric_key_should_be_display_starting_with_uppercase_and_without_underscore ... ok [INFO] [stdout] test domain::sonar::condition::tests::a_OK_status_should_display_a_green_check ... ok [INFO] [stdout] test domain::sonar::condition::tests::new_coverage_with_0_LT_80_should_display_0percent_lt_80percent ... ok [INFO] [stdout] test domain::sonar::condition::tests::new_reliability_rating_with_4_GT_1_should_display_D_worse_B ... ok [INFO] [stdout] test domain::sonar::project_status::tests::conditions_should_be_displayed_in_a_sorted_way ... ok [INFO] [stdout] test domain::sonar::condition::tests::new_duplicated_lines_density_with_6_33162_GT_3_should_display_6percent_gte_3percent ... ok [INFO] [stdout] test domain::sonar::condition::tests::empty_status_should_display_a_red_cross ... ok [INFO] [stdout] test domain::sonar::condition::tests::random_should_display_with_fallback_display ... ok [INFO] [stdout] test domain::sonar::condition::tests::for_ratings_if_actual_equals_expected_display_should_be_simplified ... ok [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/sonar_qg-7f9de7eda8960206) [INFO] [stdout] test infra::sonar_client::tests::test_retry_mechanism ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 16 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 4.00s [INFO] [stdout] [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] [stderr] Doc-tests sonar_qg [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" "a124ca4be3b898d8146e154fea3ccb748f003020a4a920b60cb6685d4bd8834f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a124ca4be3b898d8146e154fea3ccb748f003020a4a920b60cb6685d4bd8834f", kill_on_drop: false }` [INFO] [stdout] a124ca4be3b898d8146e154fea3ccb748f003020a4a920b60cb6685d4bd8834f