[INFO] fetching crate ammonia 3.3.1... [INFO] testing ammonia-3.3.1 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate ammonia 3.3.1 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate ammonia 3.3.1 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate ammonia 3.3.1 [INFO] tweaked toml for crates.io crate ammonia 3.3.1 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate ammonia 3.3.1 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate ammonia 3.3.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d31e9857a8c0b060de8a7c76540f704c807f6b3794288e28a3ee52b1925804fe [INFO] running `Command { std: "docker" "start" "-a" "d31e9857a8c0b060de8a7c76540f704c807f6b3794288e28a3ee52b1925804fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d31e9857a8c0b060de8a7c76540f704c807f6b3794288e28a3ee52b1925804fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d31e9857a8c0b060de8a7c76540f704c807f6b3794288e28a3ee52b1925804fe", kill_on_drop: false }` [INFO] [stdout] d31e9857a8c0b060de8a7c76540f704c807f6b3794288e28a3ee52b1925804fe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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" "RUSTDOCFLAGS=--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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 58398b572578451dc4a9695746a4ffc8c4c17b4722ec1eefe556026628195563 [INFO] running `Command { std: "docker" "start" "-a" "58398b572578451dc4a9695746a4ffc8c4c17b4722ec1eefe556026628195563", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling serde_core v1.0.226 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling serde v1.0.226 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling mac v0.1.1 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling futf v0.1.5 [INFO] [stderr] Compiling tendril v0.4.3 [INFO] [stderr] Compiling phf v0.10.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling string_cache_codegen v0.5.4 [INFO] [stderr] Compiling phf_codegen v0.10.0 [INFO] [stderr] Compiling markup5ever v0.11.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling html5ever v0.26.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.226 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling string_cache v0.8.9 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling ammonia v3.3.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `ammonia_unstable` [INFO] [stdout] --> src/lib.rs:31:7 [INFO] [stdout] | [INFO] [stdout] 31 | #[cfg(ammonia_unstable)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ammonia_unstable)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ammonia_unstable)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `ammonia_unstable` [INFO] [stdout] --> src/lib.rs:34:11 [INFO] [stdout] | [INFO] [stdout] 34 | #[cfg(not(ammonia_unstable))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ammonia_unstable)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ammonia_unstable)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `ammonia_unstable` [INFO] [stdout] --> src/lib.rs:2869:11 [INFO] [stdout] | [INFO] [stdout] 2869 | #[cfg(ammonia_unstable)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ammonia_unstable)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ammonia_unstable)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `public_id` and `system_id` are never read [INFO] [stdout] --> src/rcdom.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 71 | Doctype { [INFO] [stdout] | ------- fields in this variant [INFO] [stdout] 72 | name: StrTendril, [INFO] [stdout] 73 | public_id: StrTendril, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 74 | system_id: StrTendril, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NodeData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 23.52s [INFO] running `Command { std: "docker" "inspect" "58398b572578451dc4a9695746a4ffc8c4c17b4722ec1eefe556026628195563", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "58398b572578451dc4a9695746a4ffc8c4c17b4722ec1eefe556026628195563", kill_on_drop: false }` [INFO] [stdout] 58398b572578451dc4a9695746a4ffc8c4c17b4722ec1eefe556026628195563 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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" "RUSTDOCFLAGS=--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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7efc6c51109f0683ec4c174cdab6079311fb658a2d7f135f91d45d3b40705801 [INFO] running `Command { std: "docker" "start" "-a" "7efc6c51109f0683ec4c174cdab6079311fb658a2d7f135f91d45d3b40705801", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling indexmap v2.11.4 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling pulldown-cmark v0.9.6 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling humantime v2.3.0 [INFO] [stderr] Compiling semver v1.0.27 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling string_cache_codegen v0.5.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling markup5ever v0.11.0 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling env_logger v0.10.2 [INFO] [stderr] Compiling html5ever v0.26.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.226 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling serde v1.0.226 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling string_cache v0.8.9 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling toml v0.7.8 [INFO] [stderr] Compiling version-sync v0.9.5 [INFO] [stderr] Compiling ammonia v3.3.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `ammonia_unstable` [INFO] [stdout] --> src/lib.rs:31:7 [INFO] [stdout] | [INFO] [stdout] 31 | #[cfg(ammonia_unstable)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ammonia_unstable)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ammonia_unstable)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `ammonia_unstable` [INFO] [stdout] --> src/lib.rs:34:11 [INFO] [stdout] | [INFO] [stdout] 34 | #[cfg(not(ammonia_unstable))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ammonia_unstable)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ammonia_unstable)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `ammonia_unstable` [INFO] [stdout] --> src/lib.rs:2869:11 [INFO] [stdout] | [INFO] [stdout] 2869 | #[cfg(ammonia_unstable)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ammonia_unstable)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ammonia_unstable)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `public_id` and `system_id` are never read [INFO] [stdout] --> src/rcdom.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 71 | Doctype { [INFO] [stdout] | ------- fields in this variant [INFO] [stdout] 72 | name: StrTendril, [INFO] [stdout] 73 | public_id: StrTendril, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 74 | system_id: StrTendril, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NodeData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `ammonia_unstable` [INFO] [stdout] --> src/lib.rs:31:7 [INFO] [stdout] | [INFO] [stdout] 31 | #[cfg(ammonia_unstable)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ammonia_unstable)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ammonia_unstable)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `ammonia_unstable` [INFO] [stdout] --> src/lib.rs:34:11 [INFO] [stdout] | [INFO] [stdout] 34 | #[cfg(not(ammonia_unstable))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ammonia_unstable)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ammonia_unstable)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `ammonia_unstable` [INFO] [stdout] --> src/lib.rs:2869:11 [INFO] [stdout] | [INFO] [stdout] 2869 | #[cfg(ammonia_unstable)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ammonia_unstable)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ammonia_unstable)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `ammonia_unstable` [INFO] [stdout] --> src/lib.rs:3478:11 [INFO] [stdout] | [INFO] [stdout] 3478 | #[cfg(ammonia_unstable)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ammonia_unstable)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ammonia_unstable)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `public_id` and `system_id` are never read [INFO] [stdout] --> src/rcdom.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 71 | Doctype { [INFO] [stdout] | ------- fields in this variant [INFO] [stdout] 72 | name: StrTendril, [INFO] [stdout] 73 | public_id: StrTendril, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 74 | system_id: StrTendril, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NodeData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 38.54s [INFO] running `Command { std: "docker" "inspect" "7efc6c51109f0683ec4c174cdab6079311fb658a2d7f135f91d45d3b40705801", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7efc6c51109f0683ec4c174cdab6079311fb658a2d7f135f91d45d3b40705801", kill_on_drop: false }` [INFO] [stdout] 7efc6c51109f0683ec4c174cdab6079311fb658a2d7f135f91d45d3b40705801 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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" "RUSTDOCFLAGS=--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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b3cd3c21a68042f1960c9b271efd61ef979cee8d80819d50bc0c5f4287fdfa14 [INFO] running `Command { std: "docker" "start" "-a" "b3cd3c21a68042f1960c9b271efd61ef979cee8d80819d50bc0c5f4287fdfa14", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition name: `ammonia_unstable` [INFO] [stderr] --> src/lib.rs:31:7 [INFO] [stderr] | [INFO] [stderr] 31 | #[cfg(ammonia_unstable)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ammonia_unstable)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ammonia_unstable)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `ammonia_unstable` [INFO] [stderr] --> src/lib.rs:34:11 [INFO] [stderr] | [INFO] [stderr] 34 | #[cfg(not(ammonia_unstable))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ammonia_unstable)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ammonia_unstable)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `ammonia_unstable` [INFO] [stderr] --> src/lib.rs:2869:11 [INFO] [stderr] | [INFO] [stderr] 2869 | #[cfg(ammonia_unstable)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ammonia_unstable)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ammonia_unstable)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: fields `public_id` and `system_id` are never read [INFO] [stderr] --> src/rcdom.rs:73:9 [INFO] [stderr] | [INFO] [stderr] 71 | Doctype { [INFO] [stderr] | ------- fields in this variant [INFO] [stderr] 72 | name: StrTendril, [INFO] [stderr] 73 | public_id: StrTendril, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 74 | system_id: StrTendril, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `NodeData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `ammonia` (lib) generated 4 warnings [INFO] [stderr] warning: unexpected `cfg` condition name: `ammonia_unstable` [INFO] [stderr] --> src/lib.rs:3478:11 [INFO] [stderr] | [INFO] [stderr] 3478 | #[cfg(ammonia_unstable)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ammonia_unstable)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(ammonia_unstable)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: `ammonia` (lib test) generated 5 warnings (4 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.22s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/ammonia-b72860368442defb) [INFO] [stdout] [INFO] [stdout] running 73 tests [INFO] [stdout] test test::attribute_filter_drop ... ok [INFO] [stdout] test test::attribute_filter_nop ... ok [INFO] [stdout] test test::clean_children_of_bad_element ... ok [INFO] [stdout] test test::allowed_classes_ascii_whitespace ... ok [INFO] [stdout] test test::clean_text_spaces_test ... ok [INFO] [stdout] test test::clean_text_test ... ok [INFO] [stdout] test test::consider_rel_still_banned ... ok [INFO] [stdout] test test::debug_impl ... ok [INFO] [stdout] test test::clean_removed_default_tag ... ok [INFO] [stdout] test test::deny_url_relative ... ok [INFO] [stdout] test test::dont_close_void_elements ... ok [INFO] [stdout] test test::display_impl ... ok [INFO] [stdout] test test::id_already_prefixed ... ok [INFO] [stdout] test test::id_prefixed ... ok [INFO] [stdout] test test::generic_attribute_prefixes_clean ... ok [INFO] [stdout] test test::generic_attribute_prefixes ... ok [INFO] [stdout] test test::lesser_than_isnt_html ... ok [INFO] [stdout] test test::ignore_link ... ok [INFO] [stdout] test test::no_panic_if_rel_is_allowed_and_not_replaced_a ... ok [INFO] [stdout] test test::clean_content_tags ... ok [INFO] [stdout] test test::no_panic_if_rel_is_allowed_and_replaced_span ... ok [INFO] [stdout] test test::ns_mathml ... ok [INFO] [stdout] test test::ns_mathml_2 ... ok [INFO] [stdout] test test::ns_svg ... ok [INFO] [stdout] test test::object_data ... ok [INFO] [stdout] test test::only_clean_content_tags ... ok [INFO] [stdout] test test::dense_lesser_than_isnt_html ... ok [INFO] [stdout] test test::no_panic_if_rel_is_allowed_and_not_replaced_generic ... ok [INFO] [stdout] test test::dont_be_bold ... ok [INFO] [stdout] test test::ns_svg_2 ... ok [INFO] [stdout] test test::reader_non_utf8 ... ok [INFO] [stdout] test test::remove_entity_link ... ok [INFO] [stdout] test test::remove_attributes ... ok [INFO] [stdout] test test::quotes_in_attrs ... ok [INFO] [stdout] test test::remove_non_allowed_attributes_with_tag_attribute_values ... ok [INFO] [stdout] test test::remove_js_link ... ok [INFO] [stdout] test test::reader_input ... ok [INFO] [stdout] test test::remove_non_allowed_classes_with_tag_class ... ok [INFO] [stdout] test test::allow_url_relative ... ok [INFO] [stdout] test test::remove_relative_url_evaluate ... ok [INFO] [stdout] test test::remove_non_allowed_classes ... ok [INFO] [stdout] test test::remove_relative_url_evaluate_b ... ok [INFO] [stdout] test test::included_angles ... ok [INFO] [stdout] test test::remove_relative_url_evaluate_c ... ok [INFO] [stdout] test test::remove_script ... ok [INFO] [stdout] test test::replace_rel ... ok [INFO] [stdout] test test::remove_unsafe_link ... ok [INFO] [stdout] test test::rewrite_url_relative ... ok [INFO] [stdout] test test::rewrite_url_relative_no_rel ... ok [INFO] [stdout] test test::rewrite_url_relative_with_invalid_url ... ok [INFO] [stdout] test test::require_sync_and_send ... ok [INFO] [stdout] test test::set_tag_attribute_values ... ok [INFO] [stdout] test test::stop_grinning ... ok [INFO] [stdout] test test::string_from_document ... ok [INFO] [stdout] test test::tag_attribute_values_case_insensitive ... ok [INFO] [stdout] test test::tag_rebalance ... ok [INFO] [stdout] test test::turbofish_is_html_sadly ... ok [INFO] [stdout] test test::update_existing_set_tag_attribute_values ... ok [INFO] [stdout] test test::unwhitelisted_set_tag_attribute_values ... ok [INFO] [stdout] test test::url_filter_relative ... ok [INFO] [stdout] test test::what_about_number_elements ... ok [INFO] [stdout] test test::keep_allowed_attributes_with_tag_attribute_values ... ok [INFO] [stdout] test test::rewrite_with_root ... ok [INFO] [stdout] test test::url_filter_absolute ... ok [INFO] [stdout] test test::panic_if_rel_is_allowed_and_replaced_a - should panic ... ok [INFO] [stdout] test test::panic_on_allowed_classes_generic_attributes - should panic ... ok [INFO] [stdout] test test::panic_on_clean_content_tag - should panic ... ok [INFO] [stdout] test test::panic_if_rel_is_allowed_and_replaced_generic - should panic ... ok [INFO] [stdout] test test::panic_on_allowed_classes_tag_attributes - should panic ... ok [INFO] [stdout] test test::panic_on_clean_content_tag_attribute - should panic ... ok [INFO] [stdout] test test::deeply_nested_alternating ... ok [INFO] [stdout] test test::deeply_nested_blacklisted ... ok [INFO] [stdout] test test::deeply_nested_whitelisted ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 73 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.95s [INFO] [stdout] [INFO] [stderr] Running tests/version-numbers.rs (/opt/rustwide/target/debug/deps/version_numbers-456f912d5f0e9a46) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test test_readme_deps ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests ammonia [INFO] [stdout] [INFO] [stdout] running 66 tests [INFO] [stdout] test src/lib.rs - Builder (line 250) ... ok [INFO] [stdout] test src/lib.rs - Builder (line 284) ... ok [INFO] [stdout] test src/lib.rs - Builder<'a>::add_allowed_classes (line 1524) ... ok [INFO] [stdout] test src/lib.rs - Builder (line 298) ... ok [INFO] [stdout] test src/lib.rs - Builder (line 225) ... ok [INFO] [stdout] test src/lib.rs - Builder (line 263) ... ok [INFO] [stdout] test src/lib.rs - Builder (line 319) ... ok [INFO] [stdout] test src/lib.rs - Builder<'a>::add_tag_attributes (line 744) ... ok [INFO] [stdout] test src/lib.rs - Builder<'a>::add_generic_attributes (line 1188) ... ok [INFO] [stdout] test src/lib.rs - Builder (line 332) ... ok [INFO] [stdout] test src/lib.rs - Builder<'a>::add_clean_content_tags (line 620) ... ok [INFO] [stdout] test src/lib.rs - (line 20) ... ok [INFO] [stdout] test src/lib.rs - Builder<'a>::add_generic_attribute_prefixes (line 1096) ... ok [INFO] [stdout] test src/lib.rs - Builder<'a>::add_url_schemes (line 1274) ... ok [INFO] [stdout] test src/lib.rs - Builder<'a>::add_tags (line 535) ... ok [INFO] [stdout] test src/lib.rs - Builder<'a>::add_tag_attribute_values (line 850) ... ok [INFO] [stdout] test src/lib.rs - Builder<'a>::attribute_filter (line 1359) ... ok [INFO] [stdout] test src/lib.rs - Builder<'a>::allowed_classes (line 1496) ... ok [INFO] [stdout] test src/lib.rs - Builder<'a>::clone_clean_content_tags (line 662) ... ok [INFO] [stdout] test src/lib.rs - Builder<'a>::clone_generic_attribute_prefixes (line 1147) ... ok [INFO] [stdout] test src/lib.rs - Builder<'a>::clean (line 1713) ... ok [INFO] [stdout] test src/lib.rs - Builder<'a>::clone_url_schemes (line 1309) ... ok [INFO] [stdout] test src/lib.rs - Builder<'a>::clone_set_tag_attribute_values (line 1051) ... ok [INFO] [stdout] test src/lib.rs - Builder<'a>::clone_tag_attribute_values (line 917) ... ok [INFO] [stdout] test src/lib.rs - Builder<'a>::clone_tag_attributes (line 797) ... ok [INFO] [stdout] test src/lib.rs - Builder<'a>::clone_generic_attributes (line 1225) ... ok [INFO] [stdout] test src/lib.rs - Builder<'a>::clean_content_tags (line 589) ... ok [INFO] [stdout] test src/lib.rs - Builder<'a>::clean_from_reader (line 1743) ... ok [INFO] [stdout] test src/lib.rs - Builder<'a>::generic_attribute_prefixes (line 1072) ... ok [INFO] [stdout] test src/lib.rs - Builder<'a>::clone_tags (line 571) ... ok [INFO] [stdout] test src/lib.rs - Builder<'a>::generic_attributes (line 1162) ... ok [INFO] [stdout] test src/lib.rs - Builder<'a>::clone_allowed_classes (line 1578) ... ok [INFO] [stdout] test src/lib.rs - Builder<'a>::get_link_rel (line 1479) ... ok [INFO] [stdout] test src/lib.rs - Builder<'a>::is_url_relative_deny (line 1390) ... ok [INFO] [stdout] test src/lib.rs - Builder<'a>::get_set_tag_attribute_value (line 1029) ... ok [INFO] [stdout] test src/lib.rs - Builder<'a>::is_url_relative_custom (line 1418) ... ok [INFO] [stdout] test src/lib.rs - Builder<'a>::is_url_relative_pass_through (line 1404) ... ok [INFO] [stdout] test src/lib.rs - Builder<'a>::id_prefix (line 1632) ... ok [INFO] [stdout] test src/lib.rs - Builder<'a>::empty (line 1684) ... ok [INFO] [stdout] test src/lib.rs - Builder<'a>::rm_clean_content_tags (line 638) ... ok [INFO] [stdout] test src/lib.rs - Builder<'a>::link_rel (line 1456) ... ok [INFO] [stdout] test src/lib.rs - Builder<'a>::rm_generic_attributes (line 1207) ... ok [INFO] [stdout] test src/lib.rs - Builder<'a>::new (line 1658) ... ok [INFO] [stdout] test src/lib.rs - Builder<'a>::rm_allowed_classes (line 1550) ... ok [INFO] [stdout] test src/lib.rs - Builder<'a>::rm_generic_attribute_prefixes (line 1119) ... ok [INFO] [stdout] test src/lib.rs - Builder<'a>::rm_url_schemes (line 1292) ... ok [INFO] [stdout] test src/lib.rs - Builder<'a>::rm_tags (line 553) ... ok [INFO] [stdout] test src/lib.rs - Builder<'a>::set_tag_attribute_value (line 976) ... ok [INFO] [stdout] test src/lib.rs - Builder<'a>::rm_tag_attribute_values (line 882) ... ok [INFO] [stdout] test src/lib.rs - Builder<'a>::rm_set_tag_attribute_value (line 1004) ... ok [INFO] [stdout] test src/lib.rs - Builder<'a>::set_tag_attribute_values (line 945) ... ok [INFO] [stdout] test src/lib.rs - Builder<'a>::url_schemes (line 1240) ... ok [INFO] [stdout] test src/lib.rs - Builder<'a>::tag_attributes (line 681) ... ok [INFO] [stdout] test src/lib.rs - Builder<'a>::rm_tag_attributes (line 771) ... ok [INFO] [stdout] test src/lib.rs - Builder<'a>::will_strip_comments (line 1618) ... ok [INFO] [stdout] test src/lib.rs - Builder<'a>::url_relative (line 1324) ... ok [INFO] [stdout] test src/lib.rs - Document::to_string (line 2763) ... ok [INFO] [stdout] test src/lib.rs - Builder<'a>::strip_comments (line 1597) ... ok [INFO] [stdout] test src/lib.rs - Builder<'a>::tags (line 499) ... ok [INFO] [stdout] test src/lib.rs - Builder<'a>::tag_attribute_values (line 819) ... ok [INFO] [stdout] test src/lib.rs - Document (line 2743) ... ok [INFO] [stdout] test src/lib.rs - clean (line 83) ... ok [INFO] [stdout] test src/lib.rs - UrlRelative (line 2506) ... ok [INFO] [stdout] test src/lib.rs - clean_text (line 108) ... ok [INFO] [stdout] test src/lib.rs - Document::write_to (line 2793) ... ok [INFO] [stdout] test src/lib.rs - clean_text (line 99) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 66 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 5.30s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "b3cd3c21a68042f1960c9b271efd61ef979cee8d80819d50bc0c5f4287fdfa14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b3cd3c21a68042f1960c9b271efd61ef979cee8d80819d50bc0c5f4287fdfa14", kill_on_drop: false }` [INFO] [stdout] b3cd3c21a68042f1960c9b271efd61ef979cee8d80819d50bc0c5f4287fdfa14