[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 beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdcuenot%2Fsonar-qg-in-cli" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dcuenot/sonar-qg-in-cli on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-9/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" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 12e2bcf6e8e20e3b5de0a9e7ffa2e93f1845f8eea54e1669ca080e5c5f460146 [INFO] running `Command { std: "docker" "start" "-a" "12e2bcf6e8e20e3b5de0a9e7ffa2e93f1845f8eea54e1669ca080e5c5f460146", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "12e2bcf6e8e20e3b5de0a9e7ffa2e93f1845f8eea54e1669ca080e5c5f460146", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "12e2bcf6e8e20e3b5de0a9e7ffa2e93f1845f8eea54e1669ca080e5c5f460146", kill_on_drop: false }` [INFO] [stdout] 12e2bcf6e8e20e3b5de0a9e7ffa2e93f1845f8eea54e1669ca080e5c5f460146 [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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 94f444affeaf681e07383198907d0bb98c28fe001f29be9dbdbd6740a0b868a7 [INFO] running `Command { std: "docker" "start" "-a" "94f444affeaf681e07383198907d0bb98c28fe001f29be9dbdbd6740a0b868a7", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.70 [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 version_check v0.9.1 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling cc v1.0.54 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling bytes v0.5.4 [INFO] [stderr] Compiling futures-core v0.3.5 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling arc-swap v0.4.6 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling pin-project-lite v0.1.5 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling once_cell v1.4.0 [INFO] [stderr] Compiling openssl v0.10.29 [INFO] [stderr] Compiling smallvec v1.4.0 [INFO] [stderr] Compiling serde v1.0.110 [INFO] [stderr] Compiling futures-io v0.3.5 [INFO] [stderr] Compiling futures-sink v0.3.5 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling ryu v1.0.4 [INFO] [stderr] Compiling try-lock v0.2.2 [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 dtoa v0.4.5 [INFO] [stderr] Compiling regex-syntax v0.3.9 [INFO] [stderr] Compiling anyhow v1.0.31 [INFO] [stderr] Compiling utf8-ranges v0.1.3 [INFO] [stderr] Compiling base64 v0.11.0 [INFO] [stderr] Compiling base64 v0.12.1 [INFO] [stderr] Compiling exitcode v1.1.2 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling futures-channel v0.3.5 [INFO] [stderr] Compiling futures-task v0.3.5 [INFO] [stderr] Compiling unicode-normalization v0.1.12 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.2 [INFO] [stderr] Compiling proc-macro-error v1.0.2 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling openssl-sys v0.9.56 [INFO] [stderr] Compiling quote v1.0.6 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling signal-hook-registry v1.2.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling thread-id v2.0.0 [INFO] [stderr] Compiling memchr v0.1.11 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling aho-corasick v0.5.3 [INFO] [stderr] Compiling thread_local v0.2.7 [INFO] [stderr] Compiling clap v2.33.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling regex v0.1.80 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling chrono v0.4.11 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling retry v1.0.0 [INFO] [stderr] Compiling simplelog v0.8.0 [INFO] [stderr] Compiling Inflector v0.5.1 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling serde_json v1.0.53 [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 serde_derive v1.0.110 [INFO] [stderr] Compiling async-trait v0.1.31 [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 35.23s [INFO] running `Command { std: "docker" "inspect" "94f444affeaf681e07383198907d0bb98c28fe001f29be9dbdbd6740a0b868a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "94f444affeaf681e07383198907d0bb98c28fe001f29be9dbdbd6740a0b868a7", kill_on_drop: false }` [INFO] [stdout] 94f444affeaf681e07383198907d0bb98c28fe001f29be9dbdbd6740a0b868a7 [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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e145585e7c1550dc9ca1d883b4a94d06d4e3e9c847ef730080b56490e9efa00b [INFO] running `Command { std: "docker" "start" "-a" "e145585e7c1550dc9ca1d883b4a94d06d4e3e9c847ef730080b56490e9efa00b", kill_on_drop: false }` [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling remove_dir_all v0.5.2 [INFO] [stderr] Compiling bit-vec v0.6.2 [INFO] [stderr] Compiling regex-syntax v0.6.17 [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 bit-set v0.5.2 [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 11.36s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/sonar_qg-f228679bada0b011) [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/sonar_qg-b9d0f6bf441ba952) [INFO] running `Command { std: "docker" "inspect" "e145585e7c1550dc9ca1d883b4a94d06d4e3e9c847ef730080b56490e9efa00b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e145585e7c1550dc9ca1d883b4a94d06d4e3e9c847ef730080b56490e9efa00b", kill_on_drop: false }` [INFO] [stdout] e145585e7c1550dc9ca1d883b4a94d06d4e3e9c847ef730080b56490e9efa00b [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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 4f2a80915b426e775e719f18720c9133185bf18d45c56472c31ae878ed6f253e [INFO] running `Command { std: "docker" "start" "-a" "4f2a80915b426e775e719f18720c9133185bf18d45c56472c31ae878ed6f253e", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.12s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/sonar_qg-f228679bada0b011) [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::a_OK_status_should_display_a_green_check ... 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::empty_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::condition::tests::new_coverage_with_0_LT_80_should_display_0percent_lt_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::new_duplicated_lines_density_with_6_33162_GT_3_should_display_6percent_gte_3percent ... 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::condition::tests::random_should_display_with_fallback_display ... ok [INFO] [stdout] test domain::sonar::project_status::tests::conditions_should_be_displayed_in_a_sorted_way ... ok [INFO] [stdout] test domain::sonar::project_status::tests::passed_quality_gate_should_display_green_check ... ok [INFO] [stdout] test infra::sonar_analysis_params::read_scanner_work::tests::check_stub ... ok [INFO] [stdout] test domain::sonar::condition::tests::reliability_rating_with_1_LT_2_should_display_A_better_B ... ok [INFO] [stdout] test domain::sonar::condition::tests::for_ratings_if_actual_equals_expected_display_should_be_simplified ... ok [INFO] [stdout] test infra::sonar_client::tests::test_retry_mechanism ... ok [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/sonar_qg-b9d0f6bf441ba952) [INFO] [stdout] test result: ok. 16 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 4.00s [INFO] [stderr] Doc-tests sonar_qg [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] [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" "4f2a80915b426e775e719f18720c9133185bf18d45c56472c31ae878ed6f253e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f2a80915b426e775e719f18720c9133185bf18d45c56472c31ae878ed6f253e", kill_on_drop: false }` [INFO] [stdout] 4f2a80915b426e775e719f18720c9133185bf18d45c56472c31ae878ed6f253e