[INFO] fetching crate utf8conv 0.1.0... [INFO] testing utf8conv-0.1.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate utf8conv 0.1.0 into /workspace/builds/worker-7-tc1/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-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate utf8conv 0.1.0 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded stackfmt v0.1.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0618a21cd8d9e07f462d5d1a46d672990ce08d82544a910d04ba0e26403ae8af [INFO] running `Command { std: "docker" "start" "-a" "0618a21cd8d9e07f462d5d1a46d672990ce08d82544a910d04ba0e26403ae8af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0618a21cd8d9e07f462d5d1a46d672990ce08d82544a910d04ba0e26403ae8af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0618a21cd8d9e07f462d5d1a46d672990ce08d82544a910d04ba0e26403ae8af", kill_on_drop: false }` [INFO] [stdout] 0618a21cd8d9e07f462d5d1a46d672990ce08d82544a910d04ba0e26403ae8af [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 59fbe44fe552617d17df5ff21e57bae4ef1a3c4dcb77f6be84ea147ce60eefe5 [INFO] running `Command { std: "docker" "start" "-a" "59fbe44fe552617d17df5ff21e57bae4ef1a3c4dcb77f6be84ea147ce60eefe5", 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.74s [INFO] running `Command { std: "docker" "inspect" "59fbe44fe552617d17df5ff21e57bae4ef1a3c4dcb77f6be84ea147ce60eefe5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "59fbe44fe552617d17df5ff21e57bae4ef1a3c4dcb77f6be84ea147ce60eefe5", kill_on_drop: false }` [INFO] [stdout] 59fbe44fe552617d17df5ff21e57bae4ef1a3c4dcb77f6be84ea147ce60eefe5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6f49b4f2ce401b074eb431f5ea2faf64db8ca1b9ea0bb0e1c34bad9b17ac466b [INFO] running `Command { std: "docker" "start" "-a" "6f49b4f2ce401b074eb431f5ea2faf64db8ca1b9ea0bb0e1c34bad9b17ac466b", 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 3.41s [INFO] running `Command { std: "docker" "inspect" "6f49b4f2ce401b074eb431f5ea2faf64db8ca1b9ea0bb0e1c34bad9b17ac466b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f49b4f2ce401b074eb431f5ea2faf64db8ca1b9ea0bb0e1c34bad9b17ac466b", kill_on_drop: false }` [INFO] [stdout] 6f49b4f2ce401b074eb431f5ea2faf64db8ca1b9ea0bb0e1c34bad9b17ac466b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0bbdbc2644798a0d0b823c30f98699d39fd4aedcc73bfa189eaad2151d8f9d1b [INFO] running `Command { std: "docker" "start" "-a" "0bbdbc2644798a0d0b823c30f98699d39fd4aedcc73bfa189eaad2151d8f9d1b", 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.07s [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_eightbytes_add_del ... ok [INFO] [stdout] test utf8conv::buf::tests::test_ringbuffer_aaa ... ok [INFO] [stdout] test utf8conv::tests::test_filter_bom_and_cr ... ok [INFO] [stdout] test utf8conv::buf::tests::test_eightbytes_random ... ok [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 1.26s [INFO] [stdout] [INFO] [stderr] Running tests/iterator_roundtrip.rs (/opt/rustwide/target/debug/deps/iterator_roundtrip-395d6f8cdeb4d1dd) [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.54s [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_monkey3 ... ok [INFO] [stdout] test test_utf8_monkey2 ... ok [INFO] [stdout] test test_utf8_monkey1 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 14.16s [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.01s [INFO] [stdout] [INFO] [stderr] Doc-tests utf8conv [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test src/lib.rs - (line 29) ... ok [INFO] [stdout] test src/lib.rs - (line 95) ... ok [INFO] [stdout] test src/lib.rs - (line 59) ... ok [INFO] [stdout] test src/lib.rs - (line 141) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.52s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "0bbdbc2644798a0d0b823c30f98699d39fd4aedcc73bfa189eaad2151d8f9d1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0bbdbc2644798a0d0b823c30f98699d39fd4aedcc73bfa189eaad2151d8f9d1b", kill_on_drop: false }` [INFO] [stdout] 0bbdbc2644798a0d0b823c30f98699d39fd4aedcc73bfa189eaad2151d8f9d1b