[INFO] crate merit 0.2.0 is already in cache [INFO] testing merit-0.2.0 against master#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409 [INFO] extracting crate merit 0.2.0 into /workspace/builds/worker-11/source [INFO] validating manifest of crates.io crate merit 0.2.0 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 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-11/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" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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] [stdout] b600170f5aa334557049d3769d9a41fe962e58787f2936aac71d9bb358984676 [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" "b600170f5aa334557049d3769d9a41fe962e58787f2936aac71d9bb358984676", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b600170f5aa334557049d3769d9a41fe962e58787f2936aac71d9bb358984676", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b600170f5aa334557049d3769d9a41fe962e58787f2936aac71d9bb358984676", kill_on_drop: false }` [INFO] [stdout] b600170f5aa334557049d3769d9a41fe962e58787f2936aac71d9bb358984676 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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] ee41e1bb7abe67f9568398e847e006cb1315276fc7c515b926be5438d8688aff [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" "ee41e1bb7abe67f9568398e847e006cb1315276fc7c515b926be5438d8688aff", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.5 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling autocfg v0.1.6 [INFO] [stderr] Compiling syn v1.0.5 [INFO] [stderr] Compiling getrandom v0.1.12 [INFO] [stderr] Compiling string_cache_shared v0.3.0 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling itoa v0.4.4 [INFO] [stderr] Compiling ryu v1.0.0 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling new_debug_unreachable v1.0.3 [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 fnv v1.0.6 [INFO] [stderr] Compiling dtoa v0.4.4 [INFO] [stderr] Compiling strsim v0.9.2 [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 stable_deref_trait v1.1.1 [INFO] [stderr] Compiling unicode-width v0.1.6 [INFO] [stderr] Compiling maud_htmlescape v0.17.0 [INFO] [stderr] Compiling thin-slice v0.1.1 [INFO] [stderr] Compiling ego-tree v0.6.2 [INFO] [stderr] Compiling pico-args v0.3.1 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling c2-chacha v0.2.2 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling futf v0.1.4 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling hashbrown v0.7.0 [INFO] [stderr] Compiling servo_arc v0.1.1 [INFO] [stderr] Compiling getopts v0.2.21 [INFO] [stderr] Compiling dtoa-short v0.3.2 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling phf v0.7.24 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling tendril v0.4.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 num-traits v0.2.8 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling stb_truetype v0.3.0 [INFO] [stderr] Compiling rand v0.7.2 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling ordered-float v1.0.2 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling rusttype v0.8.1 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling string_cache_codegen v0.4.4 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Compiling selectors v0.21.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 serde_json v1.0.41 [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 cssparser-macros v0.3.6 [INFO] [stderr] Compiling html5ever v0.24.1 [INFO] [stderr] Compiling cssparser v0.27.1 [INFO] [stderr] Compiling cssparser-macros v0.6.0 [INFO] [stderr] Compiling darling_macro v0.10.2 [INFO] [stderr] Compiling const-random-macro v0.1.6 [INFO] [stderr] Compiling phf_macros v0.8.0 [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 42s [INFO] running `Command { std: "docker" "inspect" "ee41e1bb7abe67f9568398e847e006cb1315276fc7c515b926be5438d8688aff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee41e1bb7abe67f9568398e847e006cb1315276fc7c515b926be5438d8688aff", kill_on_drop: false }` [INFO] [stdout] ee41e1bb7abe67f9568398e847e006cb1315276fc7c515b926be5438d8688aff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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] bad2ab3df7ab94d431194b5f57282c4af0c3ccfde0a637927851e25265b7063a [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" "bad2ab3df7ab94d431194b5f57282c4af0c3ccfde0a637927851e25265b7063a", kill_on_drop: false }` [INFO] [stderr] Compiling merit v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 5.79s [INFO] running `Command { std: "docker" "inspect" "bad2ab3df7ab94d431194b5f57282c4af0c3ccfde0a637927851e25265b7063a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bad2ab3df7ab94d431194b5f57282c4af0c3ccfde0a637927851e25265b7063a", kill_on_drop: false }` [INFO] [stdout] bad2ab3df7ab94d431194b5f57282c4af0c3ccfde0a637927851e25265b7063a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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] f3357bef4ec501094a17ac2257a88fc68c86ac8d5ddf99ff62b4f01763512f45 [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" "f3357bef4ec501094a17ac2257a88fc68c86ac8d5ddf99ff62b4f01763512f45", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.31s [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 badge::tests::badge_has_medium_icon ... ok [INFO] [stdout] test badge::tests::badge_with_data ... ok [INFO] [stdout] test badge::tests::default_badge_has_classic_style ... ok [INFO] [stdout] test tests::data_from_string_parse_correct ... ok [INFO] [stdout] test tests::data_from_string_fails ... ok [INFO] [stdout] test badge::tests::default_badge_has_333_as_background_colour ... ok [INFO] [stdout] test tests::get_color_fail ... ok [INFO] [stdout] test badge::tests::default_badge_only_has_subject ... 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::default_badge_has_20px_height ... ok [INFO] [stdout] test icons::tests::get_icon_symbol ... ok [INFO] [stdout] test icons::tests::get_icon_with_color ... ok [INFO] [stderr] Running /opt/rustwide/target/debug/deps/merit-f1a73b59a02c2648 [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] Doc-tests merit [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] [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" "f3357bef4ec501094a17ac2257a88fc68c86ac8d5ddf99ff62b4f01763512f45", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f3357bef4ec501094a17ac2257a88fc68c86ac8d5ddf99ff62b4f01763512f45", kill_on_drop: false }` [INFO] [stdout] f3357bef4ec501094a17ac2257a88fc68c86ac8d5ddf99ff62b4f01763512f45