[INFO] fetching crate utf8conv 0.1.0... [INFO] testing utf8conv-0.1.0 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate utf8conv 0.1.0 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate utf8conv 0.1.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate utf8conv 0.1.0 [INFO] tweaked toml for crates.io crate utf8conv 0.1.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate utf8conv 0.1.0 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate utf8conv 0.1.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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5c2ffe1f664fba9af4f92bad473a7541d4a8f69103478d60a4b66c651249db4e [INFO] running `Command { std: "docker" "start" "-a" "5c2ffe1f664fba9af4f92bad473a7541d4a8f69103478d60a4b66c651249db4e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5c2ffe1f664fba9af4f92bad473a7541d4a8f69103478d60a4b66c651249db4e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c2ffe1f664fba9af4f92bad473a7541d4a8f69103478d60a4b66c651249db4e", kill_on_drop: false }` [INFO] [stdout] 5c2ffe1f664fba9af4f92bad473a7541d4a8f69103478d60a4b66c651249db4e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cad7739d97975be2a79ddd419b7ff400595d82bb9ed89240ecfeb28b9d2e2097 [INFO] running `Command { std: "docker" "start" "-a" "cad7739d97975be2a79ddd419b7ff400595d82bb9ed89240ecfeb28b9d2e2097", kill_on_drop: false }` [INFO] [stderr] Compiling utf8conv v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/utf8conv.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | #[cfg_attr(nightly, warn(rustdoc::missing_doc_code_examples))] [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(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` 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: `nightly` [INFO] [stdout] --> src/utf8conv.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | #[cfg_attr(nightly, warn(rustdoc::missing_doc_code_examples))] [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(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` 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: `nightly` [INFO] [stdout] --> src/utf8conv.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 88 | #[cfg_attr(nightly, warn(rustdoc::missing_doc_code_examples))] [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(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` 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: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/utf8conv.rs:1226:8 [INFO] [stdout] | [INFO] [stdout] 1225 | pub fn utf8_to_char_with_iter<'d>(&'d mut self, iter: &'d mut dyn Iterator) [INFO] [stdout] | -- -- the lifetime is named here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] 1226 | -> Utf8IterToCharIter { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'d` [INFO] [stdout] | [INFO] [stdout] 1226 | -> Utf8IterToCharIter<'d> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/utf8conv.rs:1236:8 [INFO] [stdout] | [INFO] [stdout] 1235 | pub fn utf8_ref_to_char_with_iter<'d>(&'d mut self, iter: &'d mut dyn Iterator) [INFO] [stdout] | -- -- -- the lifetime is named here [INFO] [stdout] | | | [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] 1236 | -> Utf8RefIterToCharIter { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'d` [INFO] [stdout] | [INFO] [stdout] 1236 | -> Utf8RefIterToCharIter<'d> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/utf8conv.rs:1389:8 [INFO] [stdout] | [INFO] [stdout] 1388 | pub fn utf32_to_utf8_with_iter<'d>(&'d mut self, iter: &'d mut dyn Iterator) [INFO] [stdout] | -- -- the lifetime is named here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] 1389 | -> Utf32IterToUtf8Iter { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'d` [INFO] [stdout] | [INFO] [stdout] 1389 | -> Utf32IterToUtf8Iter<'d> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/utf8conv.rs:1399:8 [INFO] [stdout] | [INFO] [stdout] 1398 | pub fn char_ref_to_utf8_with_iter<'d>(&'d mut self, iter: &'d mut dyn Iterator) [INFO] [stdout] | -- -- -- the lifetime is named here [INFO] [stdout] | | | [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] 1399 | -> CharRefIterToUtf8Iter { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'d` [INFO] [stdout] | [INFO] [stdout] 1399 | -> CharRefIterToUtf8Iter<'d> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.25s [INFO] running `Command { std: "docker" "inspect" "cad7739d97975be2a79ddd419b7ff400595d82bb9ed89240ecfeb28b9d2e2097", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cad7739d97975be2a79ddd419b7ff400595d82bb9ed89240ecfeb28b9d2e2097", kill_on_drop: false }` [INFO] [stdout] cad7739d97975be2a79ddd419b7ff400595d82bb9ed89240ecfeb28b9d2e2097 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 17205c3e6cf65599960b9630d31e07b4f7b0eb1857850eb5865ba539806c9369 [INFO] running `Command { std: "docker" "start" "-a" "17205c3e6cf65599960b9630d31e07b4f7b0eb1857850eb5865ba539806c9369", kill_on_drop: false }` [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling stackfmt v0.1.2 [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/utf8conv.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | #[cfg_attr(nightly, warn(rustdoc::missing_doc_code_examples))] [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(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` 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: `nightly` [INFO] [stdout] --> src/utf8conv.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | #[cfg_attr(nightly, warn(rustdoc::missing_doc_code_examples))] [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(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` 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: `nightly` [INFO] [stdout] --> src/utf8conv.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 88 | #[cfg_attr(nightly, warn(rustdoc::missing_doc_code_examples))] [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(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` 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: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/utf8conv.rs:1226:8 [INFO] [stdout] | [INFO] [stdout] 1225 | pub fn utf8_to_char_with_iter<'d>(&'d mut self, iter: &'d mut dyn Iterator) [INFO] [stdout] | -- -- the lifetime is named here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] 1226 | -> Utf8IterToCharIter { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'d` [INFO] [stdout] | [INFO] [stdout] 1226 | -> Utf8IterToCharIter<'d> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/utf8conv.rs:1236:8 [INFO] [stdout] | [INFO] [stdout] 1235 | pub fn utf8_ref_to_char_with_iter<'d>(&'d mut self, iter: &'d mut dyn Iterator) [INFO] [stdout] | -- -- -- the lifetime is named here [INFO] [stdout] | | | [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] 1236 | -> Utf8RefIterToCharIter { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'d` [INFO] [stdout] | [INFO] [stdout] 1236 | -> Utf8RefIterToCharIter<'d> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/utf8conv.rs:1389:8 [INFO] [stdout] | [INFO] [stdout] 1388 | pub fn utf32_to_utf8_with_iter<'d>(&'d mut self, iter: &'d mut dyn Iterator) [INFO] [stdout] | -- -- the lifetime is named here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] 1389 | -> Utf32IterToUtf8Iter { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'d` [INFO] [stdout] | [INFO] [stdout] 1389 | -> Utf32IterToUtf8Iter<'d> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/utf8conv.rs:1399:8 [INFO] [stdout] | [INFO] [stdout] 1398 | pub fn char_ref_to_utf8_with_iter<'d>(&'d mut self, iter: &'d mut dyn Iterator) [INFO] [stdout] | -- -- -- the lifetime is named here [INFO] [stdout] | | | [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] 1399 | -> CharRefIterToUtf8Iter { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'d` [INFO] [stdout] | [INFO] [stdout] 1399 | -> CharRefIterToUtf8Iter<'d> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling utf8conv v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly` [INFO] [stdout] --> src/utf8conv.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | #[cfg_attr(nightly, warn(rustdoc::missing_doc_code_examples))] [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(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` 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: `nightly` [INFO] [stdout] --> src/utf8conv.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | #[cfg_attr(nightly, warn(rustdoc::missing_doc_code_examples))] [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(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` 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: `nightly` [INFO] [stdout] --> src/utf8conv.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 88 | #[cfg_attr(nightly, warn(rustdoc::missing_doc_code_examples))] [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(nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` 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: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/utf8conv.rs:1226:8 [INFO] [stdout] | [INFO] [stdout] 1225 | pub fn utf8_to_char_with_iter<'d>(&'d mut self, iter: &'d mut dyn Iterator) [INFO] [stdout] | -- -- the lifetime is named here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] 1226 | -> Utf8IterToCharIter { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'d` [INFO] [stdout] | [INFO] [stdout] 1226 | -> Utf8IterToCharIter<'d> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/utf8conv.rs:1236:8 [INFO] [stdout] | [INFO] [stdout] 1235 | pub fn utf8_ref_to_char_with_iter<'d>(&'d mut self, iter: &'d mut dyn Iterator) [INFO] [stdout] | -- -- -- the lifetime is named here [INFO] [stdout] | | | [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] 1236 | -> Utf8RefIterToCharIter { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'d` [INFO] [stdout] | [INFO] [stdout] 1236 | -> Utf8RefIterToCharIter<'d> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/utf8conv.rs:1389:8 [INFO] [stdout] | [INFO] [stdout] 1388 | pub fn utf32_to_utf8_with_iter<'d>(&'d mut self, iter: &'d mut dyn Iterator) [INFO] [stdout] | -- -- the lifetime is named here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] 1389 | -> Utf32IterToUtf8Iter { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'d` [INFO] [stdout] | [INFO] [stdout] 1389 | -> Utf32IterToUtf8Iter<'d> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/utf8conv.rs:1399:8 [INFO] [stdout] | [INFO] [stdout] 1398 | pub fn char_ref_to_utf8_with_iter<'d>(&'d mut self, iter: &'d mut dyn Iterator) [INFO] [stdout] | -- -- -- the lifetime is named here [INFO] [stdout] | | | [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] 1399 | -> CharRefIterToUtf8Iter { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'d` [INFO] [stdout] | [INFO] [stdout] 1399 | -> CharRefIterToUtf8Iter<'d> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.61s [INFO] running `Command { std: "docker" "inspect" "17205c3e6cf65599960b9630d31e07b4f7b0eb1857850eb5865ba539806c9369", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17205c3e6cf65599960b9630d31e07b4f7b0eb1857850eb5865ba539806c9369", kill_on_drop: false }` [INFO] [stdout] 17205c3e6cf65599960b9630d31e07b4f7b0eb1857850eb5865ba539806c9369 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 40088f570be1db164a65b27d9396d2817c6b2f8b352221137f80d2093e5c1ac9 [INFO] running `Command { std: "docker" "start" "-a" "40088f570be1db164a65b27d9396d2817c6b2f8b352221137f80d2093e5c1ac9", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition name: `nightly` [INFO] [stderr] --> src/utf8conv.rs:55:12 [INFO] [stderr] | [INFO] [stderr] 55 | #[cfg_attr(nightly, warn(rustdoc::missing_doc_code_examples))] [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(nightly)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` 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: `nightly` [INFO] [stderr] --> src/utf8conv.rs:67:12 [INFO] [stderr] | [INFO] [stderr] 67 | #[cfg_attr(nightly, warn(rustdoc::missing_doc_code_examples))] [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(nightly)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` 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: `nightly` [INFO] [stderr] --> src/utf8conv.rs:88:12 [INFO] [stderr] | [INFO] [stderr] 88 | #[cfg_attr(nightly, warn(rustdoc::missing_doc_code_examples))] [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(nightly)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/utf8conv.rs:1226:8 [INFO] [stderr] | [INFO] [stderr] 1225 | pub fn utf8_to_char_with_iter<'d>(&'d mut self, iter: &'d mut dyn Iterator) [INFO] [stderr] | -- -- the lifetime is named here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is named here [INFO] [stderr] 1226 | -> Utf8IterToCharIter { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: consistently use `'d` [INFO] [stderr] | [INFO] [stderr] 1226 | -> Utf8IterToCharIter<'d> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/utf8conv.rs:1236:8 [INFO] [stderr] | [INFO] [stderr] 1235 | pub fn utf8_ref_to_char_with_iter<'d>(&'d mut self, iter: &'d mut dyn Iterator) [INFO] [stderr] | -- -- -- the lifetime is named here [INFO] [stderr] | | | [INFO] [stderr] | | the lifetime is named here [INFO] [stderr] | the lifetime is named here [INFO] [stderr] 1236 | -> Utf8RefIterToCharIter { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'d` [INFO] [stderr] | [INFO] [stderr] 1236 | -> Utf8RefIterToCharIter<'d> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/utf8conv.rs:1389:8 [INFO] [stderr] | [INFO] [stderr] 1388 | pub fn utf32_to_utf8_with_iter<'d>(&'d mut self, iter: &'d mut dyn Iterator) [INFO] [stderr] | -- -- the lifetime is named here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is named here [INFO] [stderr] 1389 | -> Utf32IterToUtf8Iter { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'d` [INFO] [stderr] | [INFO] [stderr] 1389 | -> Utf32IterToUtf8Iter<'d> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/utf8conv.rs:1399:8 [INFO] [stderr] | [INFO] [stderr] 1398 | pub fn char_ref_to_utf8_with_iter<'d>(&'d mut self, iter: &'d mut dyn Iterator) [INFO] [stderr] | -- -- -- the lifetime is named here [INFO] [stderr] | | | [INFO] [stderr] | | the lifetime is named here [INFO] [stderr] | the lifetime is named here [INFO] [stderr] 1399 | -> CharRefIterToUtf8Iter { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'d` [INFO] [stderr] | [INFO] [stderr] 1399 | -> CharRefIterToUtf8Iter<'d> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `utf8conv` (lib) generated 7 warnings (run `cargo fix --lib -p utf8conv` to apply 4 suggestions) [INFO] [stderr] warning: `utf8conv` (lib test) generated 7 warnings (7 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/utf8conv-ede856b432f9cd68) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test utf8conv::buf::tests::test_ringbuffer_aaa ... ok [INFO] [stdout] test utf8conv::buf::tests::test_eightbytes_add_del ... ok [INFO] [stdout] test utf8conv::tests::test_filter_bom_and_cr ... ok [INFO] [stdout] test utf8conv::buf::tests::test_eightbytes_random ... ok [INFO] [stderr] Running tests/iterator_roundtrip.rs (/opt/rustwide/target/debug/deps/iterator_roundtrip-395d6f8cdeb4d1dd) [INFO] [stdout] test utf8conv::tests::test_round_trip_parsing ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.85s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test test_round_trip_iter ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.46s [INFO] [stdout] [INFO] [stderr] Running tests/self_iterator.rs (/opt/rustwide/target/debug/deps/self_iterator-b26b65c98aa1cb28) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test self_iterator_test ... 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] Running tests/test_conv_random.rs (/opt/rustwide/target/debug/deps/test_conv_random-88685a5fa4067789) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test test_utf8parsing_aaa ... ok [INFO] [stdout] test test_utf8_monkey2 ... ok [INFO] [stdout] test test_utf8_monkey1 ... ok [INFO] [stdout] test test_utf8_monkey3 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 4.49s [INFO] [stdout] [INFO] [stderr] Running tests/test_ring_buffer.rs (/opt/rustwide/target/debug/deps/test_ring_buffer-83c876a1c9593487) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test test_ringbuffer_misc ... 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 utf8conv [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test src/lib.rs - (line 59) ... ok [INFO] [stdout] test src/lib.rs - (line 29) ... ok [INFO] [stdout] test src/lib.rs - (line 141) ... ok [INFO] [stdout] test src/lib.rs - (line 95) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.27s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "40088f570be1db164a65b27d9396d2817c6b2f8b352221137f80d2093e5c1ac9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "40088f570be1db164a65b27d9396d2817c6b2f8b352221137f80d2093e5c1ac9", kill_on_drop: false }` [INFO] [stdout] 40088f570be1db164a65b27d9396d2817c6b2f8b352221137f80d2093e5c1ac9