[INFO] fetching crate ammonia 4.0.0... [INFO] testing ammonia-4.0.0 against try#ed7f3d77595b4831fdf085f2529aa13b5b51ff7d for pr-134530 [INFO] extracting crate ammonia 4.0.0 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate ammonia 4.0.0 on toolchain ed7f3d77595b4831fdf085f2529aa13b5b51ff7d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate ammonia 4.0.0 [INFO] finished tweaking crates.io crate ammonia 4.0.0 [INFO] tweaked toml for crates.io crate ammonia 4.0.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate crates.io crate ammonia 4.0.0 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" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3b8abc95dbf4f7f986f89d82cccc885048370c669eb05284171d5bc5ba548303 [INFO] running `Command { std: "docker" "start" "-a" "3b8abc95dbf4f7f986f89d82cccc885048370c669eb05284171d5bc5ba548303", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3b8abc95dbf4f7f986f89d82cccc885048370c669eb05284171d5bc5ba548303", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3b8abc95dbf4f7f986f89d82cccc885048370c669eb05284171d5bc5ba548303", kill_on_drop: false }` [INFO] [stdout] 3b8abc95dbf4f7f986f89d82cccc885048370c669eb05284171d5bc5ba548303 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ccb935bbed657d80f17c537241904313954463ad7ba2ba1fe413bd3459a4ff3c [INFO] running `Command { std: "docker" "start" "-a" "ccb935bbed657d80f17c537241904313954463ad7ba2ba1fe413bd3459a4ff3c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling mac v0.1.1 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling futf v0.1.5 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling tendril v0.4.3 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling syn v2.0.55 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling string_cache_codegen v0.5.2 [INFO] [stderr] Compiling phf_codegen v0.11.2 [INFO] [stderr] Compiling markup5ever v0.12.0 [INFO] [stderr] Compiling string_cache v0.8.7 [INFO] [stderr] Compiling html5ever v0.27.0 [INFO] [stderr] Compiling ammonia v4.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `ammonia_unstable` [INFO] [stdout] --> src/lib.rs:30:7 [INFO] [stdout] | [INFO] [stdout] 30 | #[cfg(ammonia_unstable)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [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:33:11 [INFO] [stdout] | [INFO] [stdout] 33 | #[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:2841:11 [INFO] [stdout] | [INFO] [stdout] 2841 | #[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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 25.82s [INFO] running `Command { std: "docker" "inspect" "ccb935bbed657d80f17c537241904313954463ad7ba2ba1fe413bd3459a4ff3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ccb935bbed657d80f17c537241904313954463ad7ba2ba1fe413bd3459a4ff3c", kill_on_drop: false }` [INFO] [stdout] ccb935bbed657d80f17c537241904313954463ad7ba2ba1fe413bd3459a4ff3c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a06e47d7a71921009132b23d4366b66b301ac5f3dcf8b920be0b61e473c0b997 [INFO] running `Command { std: "docker" "start" "-a" "a06e47d7a71921009132b23d4366b66b301ac5f3dcf8b920be0b61e473c0b997", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling serde_spanned v0.6.5 [INFO] [stderr] Compiling toml_datetime v0.6.5 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling semver v1.0.22 [INFO] [stderr] Compiling pulldown-cmark v0.9.6 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling string_cache_codegen v0.5.2 [INFO] [stderr] Compiling syn v2.0.55 [INFO] [stderr] Compiling markup5ever v0.12.0 [INFO] [stderr] Compiling is-terminal v0.4.12 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling env_logger v0.10.2 [INFO] [stderr] Compiling toml v0.7.8 [INFO] [stderr] Compiling html5ever v0.27.0 [INFO] [stderr] Compiling version-sync v0.9.5 [INFO] [stderr] Compiling ammonia v4.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `ammonia_unstable` [INFO] [stdout] --> src/lib.rs:30:7 [INFO] [stdout] | [INFO] [stdout] 30 | #[cfg(ammonia_unstable)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [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:33:11 [INFO] [stdout] | [INFO] [stdout] 33 | #[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:2841:11 [INFO] [stdout] | [INFO] [stdout] 2841 | #[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:30:7 [INFO] [stdout] | [INFO] [stdout] 30 | #[cfg(ammonia_unstable)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [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:33:11 [INFO] [stdout] | [INFO] [stdout] 33 | #[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:2841:11 [INFO] [stdout] | [INFO] [stdout] 2841 | #[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:3475:11 [INFO] [stdout] | [INFO] [stdout] 3475 | #[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)]` on by default [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 29.70s [INFO] running `Command { std: "docker" "inspect" "a06e47d7a71921009132b23d4366b66b301ac5f3dcf8b920be0b61e473c0b997", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a06e47d7a71921009132b23d4366b66b301ac5f3dcf8b920be0b61e473c0b997", kill_on_drop: false }` [INFO] [stdout] a06e47d7a71921009132b23d4366b66b301ac5f3dcf8b920be0b61e473c0b997 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 6bef8be98c13b3af59a5fa221d3e6ce14f87f7c6a82c0ba212095b5e39470077 [INFO] running `Command { std: "docker" "start" "-a" "6bef8be98c13b3af59a5fa221d3e6ce14f87f7c6a82c0ba212095b5e39470077", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition name: `ammonia_unstable` [INFO] [stderr] --> src/lib.rs:30:7 [INFO] [stderr] | [INFO] [stderr] 30 | #[cfg(ammonia_unstable)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [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:33:11 [INFO] [stderr] | [INFO] [stderr] 33 | #[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:2841:11 [INFO] [stderr] | [INFO] [stderr] 2841 | #[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)]` 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:3475:11 [INFO] [stderr] | [INFO] [stderr] 3475 | #[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.16s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/ammonia-a8a4904790c3cc9e) [INFO] [stdout] [INFO] [stdout] running 71 tests [INFO] [stdout] test test::attribute_filter_nop ... ok [INFO] [stdout] test test::attribute_filter_drop ... ok [INFO] [stdout] test test::allowed_classes_ascii_whitespace ... ok [INFO] [stdout] test test::clean_children_of_bad_element ... ok [INFO] [stdout] test test::clean_content_tags ... ok [INFO] [stdout] test test::clean_removed_default_tag ... ok [INFO] [stdout] test test::clean_text_spaces_test ... ok [INFO] [stdout] test test::allow_url_relative ... ok [INFO] [stdout] test test::clean_text_test ... ok [INFO] [stdout] test test::deny_url_relative ... ok [INFO] [stdout] test test::consider_rel_still_banned ... ok [INFO] [stdout] test test::debug_impl ... ok [INFO] [stdout] test test::dense_lesser_than_isnt_html ... ok [INFO] [stdout] test test::dont_close_void_elements ... ok [INFO] [stdout] test test::generic_attribute_prefixes ... ok [INFO] [stdout] test test::display_impl ... ok [INFO] [stdout] test test::dont_be_bold ... ok [INFO] [stdout] test test::generic_attribute_prefixes_clean ... ok [INFO] [stdout] test test::included_angles ... ok [INFO] [stdout] test test::id_prefixed ... ok [INFO] [stdout] test test::ignore_link ... ok [INFO] [stdout] test test::id_already_prefixed ... ok [INFO] [stdout] test test::keep_allowed_attributes_with_tag_attribute_values ... ok [INFO] [stdout] test test::lesser_than_isnt_html ... ok [INFO] [stdout] test test::no_panic_if_rel_is_allowed_and_not_replaced_a ... ok [INFO] [stdout] test test::no_panic_if_rel_is_allowed_and_not_replaced_generic ... ok [INFO] [stdout] test test::no_panic_if_rel_is_allowed_and_replaced_span ... ok [INFO] [stdout] test test::object_data ... ok [INFO] [stdout] test test::ns_svg ... ok [INFO] [stdout] test test::only_clean_content_tags ... ok [INFO] [stdout] test test::ns_mathml ... ok [INFO] [stdout] test test::panic_on_clean_content_tag - should panic ... ok [INFO] [stdout] test test::panic_if_rel_is_allowed_and_replaced_a - should panic ... ok [INFO] [stdout] test test::panic_if_rel_is_allowed_and_replaced_generic - should panic ... ok [INFO] [stdout] test test::panic_on_clean_content_tag_attribute - should panic ... ok [INFO] [stdout] test test::quotes_in_attrs ... ok [INFO] [stdout] test test::panic_on_allowed_classes_tag_attributes - should panic ... ok [INFO] [stdout] test test::reader_input ... ok [INFO] [stdout] test test::remove_entity_link ... ok [INFO] [stdout] test test::reader_non_utf8 ... ok [INFO] [stdout] test test::remove_attributes ... ok [INFO] [stdout] test test::panic_on_allowed_classes_generic_attributes - should panic ... ok [INFO] [stdout] test test::remove_js_link ... ok [INFO] [stdout] test test::remove_non_allowed_attributes_with_tag_attribute_values ... ok [INFO] [stdout] test test::remove_non_allowed_classes_with_tag_class ... ok [INFO] [stdout] test test::remove_non_allowed_classes ... ok [INFO] [stdout] test test::remove_relative_url_evaluate_c ... ok [INFO] [stdout] test test::remove_script ... ok [INFO] [stdout] test test::remove_relative_url_evaluate ... ok [INFO] [stdout] test test::replace_rel ... ok [INFO] [stdout] test test::require_sync_and_send ... ok [INFO] [stdout] test test::rewrite_url_relative ... ok [INFO] [stdout] test test::rewrite_url_relative_with_invalid_url ... ok [INFO] [stdout] test test::remove_relative_url_evaluate_b ... ok [INFO] [stdout] test test::stop_grinning ... ok [INFO] [stdout] test test::remove_unsafe_link ... ok [INFO] [stdout] test test::rewrite_url_relative_no_rel ... ok [INFO] [stdout] test test::set_tag_attribute_values ... 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::unwhitelisted_set_tag_attribute_values ... ok [INFO] [stdout] test test::string_from_document ... ok [INFO] [stdout] test test::update_existing_set_tag_attribute_values ... ok [INFO] [stdout] test test::url_filter_absolute ... ok [INFO] [stdout] test test::what_about_number_elements ... ok [INFO] [stdout] test test::rewrite_with_root ... ok [INFO] [stdout] test test::url_filter_relative ... 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. 71 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.45s [INFO] [stdout] [INFO] [stderr] Running tests/version-numbers.rs (/opt/rustwide/target/debug/deps/version_numbers-9b05391653604db9) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stderr] Doc-tests ammonia [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] error: DefId(0:383 ~ ammonia[aa4e]::Builder) has more than five doctests [INFO] [stderr] [INFO] [stderr] error: aborting due to 1 previous error [INFO] [stderr] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/bin/rustdoc --edition=2021 --crate-type lib --color auto --crate-name ammonia --test src/lib.rs --test-run-directory /opt/rustwide/workdir -L dependency=/opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern ammonia=/opt/rustwide/target/debug/deps/libammonia-52ab091111846b6a.rlib --extern env_logger=/opt/rustwide/target/debug/deps/libenv_logger-fcc5c946ce0b1003.rlib --extern html5ever=/opt/rustwide/target/debug/deps/libhtml5ever-f781d88103ae249a.rlib --extern maplit=/opt/rustwide/target/debug/deps/libmaplit-019dc3e6fa39a754.rlib --extern once_cell=/opt/rustwide/target/debug/deps/libonce_cell-24c5d665b6879050.rlib --extern tendril=/opt/rustwide/target/debug/deps/libtendril-649cda7add372b0e.rlib --extern url=/opt/rustwide/target/debug/deps/liburl-050fc96327572cc2.rlib --extern version_sync=/opt/rustwide/target/debug/deps/libversion_sync-9f32a02563df609e.rlib -C embed-bitcode=no --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values())' --cap-lints=forbid --error-format human` (exit status: 1) [INFO] [stderr] note: test exited abnormally; to see the full output pass --nocapture to the harness. [INFO] running `Command { std: "docker" "inspect" "6bef8be98c13b3af59a5fa221d3e6ce14f87f7c6a82c0ba212095b5e39470077", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6bef8be98c13b3af59a5fa221d3e6ce14f87f7c6a82c0ba212095b5e39470077", kill_on_drop: false }` [INFO] [stdout] 6bef8be98c13b3af59a5fa221d3e6ce14f87f7c6a82c0ba212095b5e39470077