[INFO] crate merit 0.2.0 is already in cache [INFO] testing merit-0.2.0 against try#03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 for pr-74409 [INFO] extracting crate merit 0.2.0 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate merit 0.2.0 on toolchain 03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate merit 0.2.0 [INFO] finished tweaking crates.io crate merit 0.2.0 [INFO] tweaked toml for crates.io crate merit 0.2.0 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate crates.io crate merit 0.2.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "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] d0fbc5f7215cc07f6b96566eb59f43722a37cfe5eb0bb7c1f5faa0f05403bb01 [INFO] running `Command { std: "docker" "start" "-a" "d0fbc5f7215cc07f6b96566eb59f43722a37cfe5eb0bb7c1f5faa0f05403bb01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d0fbc5f7215cc07f6b96566eb59f43722a37cfe5eb0bb7c1f5faa0f05403bb01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0fbc5f7215cc07f6b96566eb59f43722a37cfe5eb0bb7c1f5faa0f05403bb01", kill_on_drop: false }` [INFO] [stdout] d0fbc5f7215cc07f6b96566eb59f43722a37cfe5eb0bb7c1f5faa0f05403bb01 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 77143118b3e52ae8d2c4ccbca8c5896e51ffbceed65312395b3a602748421a54 [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" "77143118b3e52ae8d2c4ccbca8c5896e51ffbceed65312395b3a602748421a54", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.5 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling string_cache_shared v0.3.0 [INFO] [stderr] Compiling ryu v1.0.0 [INFO] [stderr] Compiling new_debug_unreachable v1.0.3 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling mac v0.1.1 [INFO] [stderr] Compiling siphasher v0.3.1 [INFO] [stderr] Compiling strsim v0.9.2 [INFO] [stderr] Compiling utf-8 v0.7.5 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling procedural-masquerade v0.1.6 [INFO] [stderr] Compiling nodrop v0.1.14 [INFO] [stderr] Compiling thin-slice v0.1.1 [INFO] [stderr] Compiling unicode-width v0.1.6 [INFO] [stderr] Compiling maud_htmlescape v0.17.0 [INFO] [stderr] Compiling arrayvec v0.5.1 [INFO] [stderr] Compiling pico-args v0.3.1 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling dtoa-short v0.3.2 [INFO] [stderr] Compiling hashbrown v0.7.0 [INFO] [stderr] Compiling servo_arc v0.1.1 [INFO] [stderr] Compiling futf v0.1.4 [INFO] [stderr] Compiling c2-chacha v0.2.2 [INFO] [stderr] Compiling proc-macro2 v1.0.5 [INFO] [stderr] Compiling getopts v0.2.21 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling getrandom v0.1.12 [INFO] [stderr] Compiling tendril v0.4.1 [INFO] [stderr] Compiling stb_truetype v0.3.0 [INFO] [stderr] Compiling phf v0.7.24 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling serde_json v1.0.41 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling rand v0.7.2 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling ordered-float v1.0.2 [INFO] [stderr] Compiling rusttype v0.8.1 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling string_cache_codegen v0.4.4 [INFO] [stderr] Compiling selectors v0.21.0 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Compiling string_cache v0.7.4 [INFO] [stderr] Compiling maud_macros v0.21.0 [INFO] [stderr] Compiling maud v0.21.0 [INFO] [stderr] Compiling darling_core v0.10.2 [INFO] [stderr] Compiling proc-macro-hack v0.5.10 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Compiling cssparser v0.25.9 [INFO] [stderr] Compiling html5ever v0.24.1 [INFO] [stderr] Compiling cssparser-macros v0.3.6 [INFO] [stderr] Compiling cssparser v0.27.1 [INFO] [stderr] Compiling cssparser-macros v0.6.0 [INFO] [stderr] Compiling const-random-macro v0.1.6 [INFO] [stderr] Compiling phf_macros v0.8.0 [INFO] [stderr] Compiling darling_macro v0.10.2 [INFO] [stderr] Compiling const-random v0.1.6 [INFO] [stderr] Compiling ahash v0.3.2 [INFO] [stderr] Compiling darling v0.10.2 [INFO] [stderr] Compiling derive_builder_core v0.9.0 [INFO] [stderr] Compiling phf v0.8.0 [INFO] [stderr] Compiling derive_builder v0.9.0 [INFO] [stderr] Compiling markup5ever v0.9.0 [INFO] [stderr] Compiling scraper v0.11.0 [INFO] [stderr] Compiling merit v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 34s [INFO] running `Command { std: "docker" "inspect" "77143118b3e52ae8d2c4ccbca8c5896e51ffbceed65312395b3a602748421a54", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "77143118b3e52ae8d2c4ccbca8c5896e51ffbceed65312395b3a602748421a54", kill_on_drop: false }` [INFO] [stdout] 77143118b3e52ae8d2c4ccbca8c5896e51ffbceed65312395b3a602748421a54 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a7a401555ce079a0c5b038954403a1e7c8f48af7ca9f3d524ccad0acf049d661 [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" "a7a401555ce079a0c5b038954403a1e7c8f48af7ca9f3d524ccad0acf049d661", kill_on_drop: false }` [INFO] [stderr] Compiling merit v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 6.53s [INFO] running `Command { std: "docker" "inspect" "a7a401555ce079a0c5b038954403a1e7c8f48af7ca9f3d524ccad0acf049d661", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7a401555ce079a0c5b038954403a1e7c8f48af7ca9f3d524ccad0acf049d661", kill_on_drop: false }` [INFO] [stdout] a7a401555ce079a0c5b038954403a1e7c8f48af7ca9f3d524ccad0acf049d661 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 91168fcc678213ed4e0a07ad48f7d18a009e239c01a73b3648db70ac5e2e2313 [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" "91168fcc678213ed4e0a07ad48f7d18a009e239c01a73b3648db70ac5e2e2313", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.47s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/merit-987c3300e9fe01c2 [INFO] [stdout] [INFO] [stdout] running 17 tests [INFO] [stdout] test badge::tests::content_data_is_same ... ok [INFO] [stdout] test badge::tests::content_text_has_width ... ok [INFO] [stdout] test tests::data_from_string_fails ... ok [INFO] [stdout] test tests::get_color_fail ... ok [INFO] [stdout] test tests::data_from_string_parse_correct ... ok [INFO] [stdout] test tests::get_color_pass ... ok [INFO] [stdout] test badge::tests::badge_has_large_icon ... ok [INFO] [stdout] test badge::tests::badge_with_text ... ok [INFO] [stdout] test badge::tests::badge_with_data ... ok [INFO] [stdout] test badge::tests::default_badge_has_20px_height ... ok [INFO] [stdout] test badge::tests::badge_has_medium_icon ... ok [INFO] [stdout] test badge::tests::default_badge_has_classic_style ... ok [INFO] [stdout] test badge::tests::default_badge_only_has_subject ... ok [INFO] [stdout] test badge::tests::default_badge_has_333_as_background_colour ... ok [INFO] [stdout] test icons::tests::get_icon_symbol ... ok [INFO] [stdout] test icons::tests::get_icon_with_color ... ok [INFO] [stdout] test badge::tests::badge_with_icon ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 17 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] Running /opt/rustwide/target/debug/deps/merit-f1a73b59a02c2648 [INFO] [stdout] [INFO] [stderr] Doc-tests merit [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] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test src/lib.rs - (line 14) ... FAILED [INFO] [stdout] test src/lib.rs - (line 51) ... ok [INFO] [stdout] test src/lib.rs - (line 41) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 14) stdout ---- [INFO] [stdout] error: casts cannot be followed by indexing [INFO] [stdout] --> src/lib.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 4 | / USAGE: [INFO] [stdout] 5 | | merit [OPTIONS] --subject [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] help: try surrounding the expression in parentheses [INFO] [stdout] | [INFO] [stdout] 4 | (USAGE: [INFO] [stdout] 5 | merit) [OPTIONS] --subject [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: comparison operators cannot be chained [INFO] [stdout] --> src/lib.rs:16:31 [INFO] [stdout] | [INFO] [stdout] 5 | merit [OPTIONS] --subject [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = help: use `::<...>` instead of `<...>` to specify type arguments [INFO] [stdout] = help: or use `(...)` if you meant to specify fn arguments [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 14) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 2 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "91168fcc678213ed4e0a07ad48f7d18a009e239c01a73b3648db70ac5e2e2313", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91168fcc678213ed4e0a07ad48f7d18a009e239c01a73b3648db70ac5e2e2313", kill_on_drop: false }` [INFO] [stdout] 91168fcc678213ed4e0a07ad48f7d18a009e239c01a73b3648db70ac5e2e2313