[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] 182d725a7c7002e7882825e3b7215ef0895b26a3 [INFO] testing dcuenot/sonar-qg-in-cli against master#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdcuenot%2Fsonar-qg-in-cli" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dcuenot/sonar-qg-in-cli on toolchain 8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "read-manifest" "--manifest-path" "Cargo.toml", 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-7/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" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "metadata" "--no-deps" "--format-version=1", 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] ab6c79b924a99653b7875cf3339e7b4ca26ad3946f3e565625fc29ffcc13739a [INFO] running `Command { std: "docker" "start" "-a" "ab6c79b924a99653b7875cf3339e7b4ca26ad3946f3e565625fc29ffcc13739a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ab6c79b924a99653b7875cf3339e7b4ca26ad3946f3e565625fc29ffcc13739a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab6c79b924a99653b7875cf3339e7b4ca26ad3946f3e565625fc29ffcc13739a", kill_on_drop: false }` [INFO] [stdout] ab6c79b924a99653b7875cf3339e7b4ca26ad3946f3e565625fc29ffcc13739a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 73b7377c642f0e69cfd9d3649d771f922cf4c8ca5869bcc88a36f5bbfcec01fe [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" "73b7377c642f0e69cfd9d3649d771f922cf4c8ca5869bcc88a36f5bbfcec01fe", kill_on_drop: false }` [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 pkg-config v0.3.17 [INFO] [stderr] Compiling cc v1.0.54 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling bytes v0.5.4 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling futures-core v0.3.5 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling arc-swap v0.4.6 [INFO] [stderr] Compiling pin-project-lite v0.1.5 [INFO] [stderr] Compiling openssl v0.10.29 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling once_cell v1.4.0 [INFO] [stderr] Compiling futures-sink v0.3.5 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-io v0.3.5 [INFO] [stderr] Compiling serde v1.0.110 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Compiling smallvec v1.4.0 [INFO] [stderr] Compiling try-lock v0.2.2 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling ryu v1.0.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.8 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling encoding_rs v0.8.23 [INFO] [stderr] Compiling tower-service v0.3.0 [INFO] [stderr] Compiling unicode-width v0.1.7 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling dtoa v0.4.5 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling anyhow v1.0.31 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling base64 v0.11.0 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling base64 v0.12.1 [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 foreign-types v0.3.2 [INFO] [stderr] Compiling futures-task v0.3.5 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling textwrap v0.11.0 [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 unicode-normalization v0.1.12 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling openssl-sys v0.9.56 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling quote v1.0.6 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling num_cpus v1.13.0 [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 thread-id v2.0.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling aho-corasick v0.5.3 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling clap v2.33.1 [INFO] [stderr] Compiling thread_local v0.2.7 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling rand_chacha v0.2.2 [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 chrono v0.4.11 [INFO] [stderr] Compiling url v2.1.1 [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 syn-mid v0.5.0 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling serde_json v1.0.53 [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 1m 56s [INFO] running `Command { std: "docker" "inspect" "73b7377c642f0e69cfd9d3649d771f922cf4c8ca5869bcc88a36f5bbfcec01fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "73b7377c642f0e69cfd9d3649d771f922cf4c8ca5869bcc88a36f5bbfcec01fe", kill_on_drop: false }` [INFO] [stdout] 73b7377c642f0e69cfd9d3649d771f922cf4c8ca5869bcc88a36f5bbfcec01fe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b5b25dd7b14a40958b328a671ffc809995b076cb599b455384ec7ad921d4deb1 [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" "b5b25dd7b14a40958b328a671ffc809995b076cb599b455384ec7ad921d4deb1", kill_on_drop: false }` [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling remove_dir_all v0.5.2 [INFO] [stderr] Compiling quick-error v1.2.3 [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 wait-timeout v0.2.0 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling rusty-fork v0.2.2 [INFO] [stderr] Compiling bit-set v0.5.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 31.38s [INFO] running `Command { std: "docker" "inspect" "b5b25dd7b14a40958b328a671ffc809995b076cb599b455384ec7ad921d4deb1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b5b25dd7b14a40958b328a671ffc809995b076cb599b455384ec7ad921d4deb1", kill_on_drop: false }` [INFO] [stdout] b5b25dd7b14a40958b328a671ffc809995b076cb599b455384ec7ad921d4deb1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] bb4c343bcfcb127b60795b4f0943b12dbcd0203ec662f1f9656e4f9e3db42cfc [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" "bb4c343bcfcb127b60795b4f0943b12dbcd0203ec662f1f9656e4f9e3db42cfc", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.36s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/sonar_qg-9601f24aa07fa82f [INFO] [stdout] [INFO] [stdout] running 16 tests [INFO] [stdout] test domain::sonar::condition::tests::a_OK_status_should_display_a_green_check ... ok [INFO] [stdout] test domain::sonar::condition::tests::empty_status_should_display_a_red_cross ... ok [INFO] [stdout] test domain::sonar::project_status::tests::passed_quality_gate_should_display_green_check ... 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 infra::sonar_analysis_params::read_scanner_work::tests::check_stub ... 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::duplicated_lines_density_with_0_GT_3_should_display_6percent_gte_3percent ... 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::coverage_with_85_8_LT_80_should_display_86percent_gte_80percent ... 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::a_KO_status_should_display_a_red_cross ... 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::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] [stdout] test result: ok. 16 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] Running /opt/rustwide/target/debug/deps/sonar_qg-0b7e0c372f0ec79c [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 [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 [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "bb4c343bcfcb127b60795b4f0943b12dbcd0203ec662f1f9656e4f9e3db42cfc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb4c343bcfcb127b60795b4f0943b12dbcd0203ec662f1f9656e4f9e3db42cfc", kill_on_drop: false }` [INFO] [stdout] bb4c343bcfcb127b60795b4f0943b12dbcd0203ec662f1f9656e4f9e3db42cfc