[INFO] fetching crate mmrbi 0.0.20... [INFO] testing mmrbi-0.0.20 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-2 [INFO] extracting crate mmrbi 0.0.20 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate mmrbi 0.0.20 [INFO] finished tweaking crates.io crate mmrbi 0.0.20 [INFO] tweaked toml for crates.io crate mmrbi 0.0.20 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate mmrbi 0.0.20 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate mmrbi 0.0.20 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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dd8429cb9a022c87765b69915db67b5a584b68ab968b6d1bb42fc7974f2138b3 [INFO] running `Command { std: "docker" "start" "-a" "dd8429cb9a022c87765b69915db67b5a584b68ab968b6d1bb42fc7974f2138b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dd8429cb9a022c87765b69915db67b5a584b68ab968b6d1bb42fc7974f2138b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dd8429cb9a022c87765b69915db67b5a584b68ab968b6d1bb42fc7974f2138b3", kill_on_drop: false }` [INFO] [stdout] dd8429cb9a022c87765b69915db67b5a584b68ab968b6d1bb42fc7974f2138b3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9b700b4c6776acef19f831c508bb94fc796e718bab7989683a312b99147c97ac [INFO] running `Command { std: "docker" "start" "-a" "9b700b4c6776acef19f831c508bb94fc796e718bab7989683a312b99147c97ac", kill_on_drop: false }` [INFO] [stderr] Compiling alphanumeric-sort v1.4.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling mmrbi v0.0.20 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `doc_cfg` [INFO] [stdout] --> src/_lib.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | #![cfg_attr(doc_cfg, feature(doc_cfg))] [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(doc_cfg)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(doc_cfg)");` 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: `doc_cfg` [INFO] [stdout] --> src/fs/windows.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | #![cfg_attr(doc_cfg, doc(cfg(windows)))] [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(doc_cfg)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(doc_cfg)");` 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 elided elsewhere is confusing [INFO] [stdout] --> src/rustup.rs:79:23 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn toolchains(&self) -> RustupToolchains { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided 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: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 79 | pub fn toolchains(&self) -> RustupToolchains<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/rustup.rs:167:20 [INFO] [stdout] | [INFO] [stdout] 167 | pub fn targets(&self) -> ToolchainTargets { ToolchainTargets { toolchain: self } } [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 167 | pub fn targets(&self) -> ToolchainTargets<'_> { ToolchainTargets { toolchain: self } } [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.46s [INFO] running `Command { std: "docker" "inspect" "9b700b4c6776acef19f831c508bb94fc796e718bab7989683a312b99147c97ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b700b4c6776acef19f831c508bb94fc796e718bab7989683a312b99147c97ac", kill_on_drop: false }` [INFO] [stdout] 9b700b4c6776acef19f831c508bb94fc796e718bab7989683a312b99147c97ac [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] efcca2b0687ea31908289523d6c81c1051553acf796539901617800e753c193b [INFO] running `Command { std: "docker" "start" "-a" "efcca2b0687ea31908289523d6c81c1051553acf796539901617800e753c193b", kill_on_drop: false }` [INFO] [stderr] Compiling mmrbi v0.0.20 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `doc_cfg` [INFO] [stdout] --> src/_lib.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | #![cfg_attr(doc_cfg, feature(doc_cfg))] [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(doc_cfg)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(doc_cfg)");` 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: `doc_cfg` [INFO] [stdout] --> src/fs/windows.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | #![cfg_attr(doc_cfg, doc(cfg(windows)))] [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(doc_cfg)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(doc_cfg)");` 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 elided elsewhere is confusing [INFO] [stdout] --> src/rustup.rs:79:23 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn toolchains(&self) -> RustupToolchains { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided 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: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 79 | pub fn toolchains(&self) -> RustupToolchains<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/rustup.rs:167:20 [INFO] [stdout] | [INFO] [stdout] 167 | pub fn targets(&self) -> ToolchainTargets { ToolchainTargets { toolchain: self } } [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 167 | pub fn targets(&self) -> ToolchainTargets<'_> { ToolchainTargets { toolchain: self } } [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `doc_cfg` [INFO] [stdout] --> src/_lib.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | #![cfg_attr(doc_cfg, feature(doc_cfg))] [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(doc_cfg)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(doc_cfg)");` 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: `doc_cfg` [INFO] [stdout] --> src/fs/windows.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | #![cfg_attr(doc_cfg, doc(cfg(windows)))] [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(doc_cfg)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(doc_cfg)");` 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 elided elsewhere is confusing [INFO] [stdout] --> src/rustup.rs:79:23 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn toolchains(&self) -> RustupToolchains { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided 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: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 79 | pub fn toolchains(&self) -> RustupToolchains<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/rustup.rs:167:20 [INFO] [stdout] | [INFO] [stdout] 167 | pub fn targets(&self) -> ToolchainTargets { ToolchainTargets { toolchain: self } } [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 167 | pub fn targets(&self) -> ToolchainTargets<'_> { ToolchainTargets { toolchain: self } } [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.06s [INFO] running `Command { std: "docker" "inspect" "efcca2b0687ea31908289523d6c81c1051553acf796539901617800e753c193b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "efcca2b0687ea31908289523d6c81c1051553acf796539901617800e753c193b", kill_on_drop: false }` [INFO] [stdout] efcca2b0687ea31908289523d6c81c1051553acf796539901617800e753c193b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 993af180bd9f4345c06be2d5ba69cdc036f0a226ac41a5ea4acb22b69448882d [INFO] running `Command { std: "docker" "start" "-a" "993af180bd9f4345c06be2d5ba69cdc036f0a226ac41a5ea4acb22b69448882d", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition name: `doc_cfg` [INFO] [stderr] --> src/_lib.rs:3:13 [INFO] [stderr] | [INFO] [stdout] [INFO] [stderr] 3 | #![cfg_attr(doc_cfg, feature(doc_cfg))] [INFO] [stdout] running 1 test [INFO] [stderr] | ^^^^^^^ [INFO] [stdout] test fs::platforms ... ok [INFO] [stderr] | [INFO] [stdout] [INFO] [stderr] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stdout] [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(doc_cfg)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(doc_cfg)");` 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: `doc_cfg` [INFO] [stderr] --> src/fs/windows.rs:3:13 [INFO] [stderr] | [INFO] [stderr] 3 | #![cfg_attr(doc_cfg, doc(cfg(windows)))] [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(doc_cfg)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(doc_cfg)");` 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 elided elsewhere is confusing [INFO] [stderr] --> src/rustup.rs:79:23 [INFO] [stderr] | [INFO] [stderr] 79 | pub fn toolchains(&self) -> RustupToolchains { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided 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: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 79 | pub fn toolchains(&self) -> RustupToolchains<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/rustup.rs:167:20 [INFO] [stderr] | [INFO] [stderr] 167 | pub fn targets(&self) -> ToolchainTargets { ToolchainTargets { toolchain: self } } [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 167 | pub fn targets(&self) -> ToolchainTargets<'_> { ToolchainTargets { toolchain: self } } [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `mmrbi` (lib) generated 4 warnings (run `cargo fix --lib -p mmrbi` to apply 2 suggestions) [INFO] [stderr] warning: `mmrbi` (lib test) generated 4 warnings (4 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests src/_lib.rs (/opt/rustwide/target/debug/deps/mmrbi-f216807f89b2301a) [INFO] [stderr] Doc-tests mmrbi [INFO] [stdout] [INFO] [stdout] running 16 tests [INFO] [stdout] test src/macros.rs - macros::header (line 84) - compile ... ok [INFO] [stdout] test src/macros.rs - macros::fatal (line 67) - compile ... ok [INFO] [stdout] test src/vscode.rs - vscode::list_extensions (line 13) ... FAILED [INFO] [stdout] test src/path.rs - path::has_extension (line 71) ... ok [INFO] [stdout] test src/path_ext.rs - path_ext::PathExt::has_extension_ignore_ascii_case (line 66) ... ok [INFO] [stdout] test src/path_ext.rs - path_ext::PathExt::cleanup (line 10) ... ok [INFO] [stdout] test src/path.rs - path::cleanup (line 10) ... ok [INFO] [stdout] test src/macros.rs - macros::status (line 46) ... ok [INFO] [stdout] test src/macros.rs - macros::error (line 7) ... ok [INFO] [stdout] test src/macros.rs - macros::info (line 33) ... ok [INFO] [stdout] test src/macros.rs - macros::warning (line 20) ... ok [INFO] [stdout] test src/path.rs - path::has_extension_ignore_ascii_case (line 100) ... ok [INFO] [stdout] test src/fs/snapshot.rs - fs::snapshot::File::read (line 44) ... FAILED [INFO] [stdout] test src/path_ext.rs - path_ext::PathExt::has_extension (line 37) ... ok [INFO] [stdout] test src/rustup.rs - rustup (line 5) ... FAILED [INFO] [stdout] test src/fs/snapshot.rs - fs::snapshot::Dir::read (line 79) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/vscode.rs - vscode::list_extensions (line 13) stdout ---- [INFO] [stdout] Test executable failed (exit status: 101). [INFO] [stdout] [INFO] [stdout] stderr: [INFO] [stdout] [INFO] [stdout] thread 'main' (192) panicked at src/vscode.rs:7:1: [INFO] [stdout] assertion failed: vscode::list_extensions().contains("ms-vscode.cpptools") [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55feb1ccd5da - std[e72de78501789eb0]::backtrace_rs::backtrace::libunwind::trace [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x55feb1ccd5da - std[e72de78501789eb0]::backtrace_rs::backtrace::trace_unsynchronized:: [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x55feb1ccd5da - std[e72de78501789eb0]::sys::backtrace::_print_fmt [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/sys/backtrace.rs:74:9 [INFO] [stdout] 3: 0x55feb1ccd5da - <::print::DisplayBacktrace as core[6aaeda2c7ad07a48]::fmt::Display>::fmt [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/sys/backtrace.rs:44:26 [INFO] [stdout] 4: 0x55feb1cde29a - ::fmt [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/fmt/rt.rs:152:76 [INFO] [stdout] 5: 0x55feb1cde29a - core[6aaeda2c7ad07a48]::fmt::write [INFO] [stdout] 6: 0x55feb1cd10a2 - std[e72de78501789eb0]::io::default_write_fmt:: [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x55feb1cd10a2 - ::write_fmt [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/io/mod.rs:1994:13 [INFO] [stdout] 8: 0x55feb1cb1fff - ::print [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/sys/backtrace.rs:47:9 [INFO] [stdout] 9: 0x55feb1cb1fff - std[e72de78501789eb0]::panicking::default_hook::{closure#0} [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:292:27 [INFO] [stdout] 10: 0x55feb1cc9581 - std[e72de78501789eb0]::panicking::default_hook [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:319:9 [INFO] [stdout] 11: 0x55feb1cc973b - std[e72de78501789eb0]::panicking::panic_with_hook [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:825:13 [INFO] [stdout] 12: 0x55feb1cb20ea - std[e72de78501789eb0]::panicking::panic_handler::{closure#0} [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:691:13 [INFO] [stdout] 13: 0x55feb1ca9c39 - std[e72de78501789eb0]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/sys/backtrace.rs:182:18 [INFO] [stdout] 14: 0x55feb1cb289d - __rustc[78a4cf188af856fc]::rust_begin_unwind [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:689:5 [INFO] [stdout] 15: 0x55feb1cde98c - core[6aaeda2c7ad07a48]::panicking::panic_fmt [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/panicking.rs:80:14 [INFO] [stdout] 16: 0x55feb1cde952 - core[6aaeda2c7ad07a48]::panicking::panic [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/panicking.rs:150:5 [INFO] [stdout] 17: 0x55feb1c80f2c - rust_out[992bb7df40d5d539]::main::_doctest_main_src_vscode_rs_13_0 [INFO] [stdout] 18: 0x55feb1c80d66 - rust_out[992bb7df40d5d539]::main [INFO] [stdout] 19: 0x55feb1c81253 - >::call_once [INFO] [stdout] 20: 0x55feb1c80d26 - std[e72de78501789eb0]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] 21: 0x55feb1c80d39 - std[e72de78501789eb0]::rt::lang_start::<()>::{closure#0} [INFO] [stdout] 22: 0x55feb1cc8824 - <&dyn core[6aaeda2c7ad07a48]::ops::function::Fn<(), Output = i32> + core[6aaeda2c7ad07a48]::marker::Sync + core[6aaeda2c7ad07a48]::panic::unwind_safe::RefUnwindSafe as core[6aaeda2c7ad07a48]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/ops/function.rs:287:21 [INFO] [stdout] 23: 0x55feb1cc8824 - std[e72de78501789eb0]::panicking::catch_unwind::do_call::<&dyn core[6aaeda2c7ad07a48]::ops::function::Fn<(), Output = i32> + core[6aaeda2c7ad07a48]::marker::Sync + core[6aaeda2c7ad07a48]::panic::unwind_safe::RefUnwindSafe, i32> [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:581:40 [INFO] [stdout] 24: 0x55feb1cc8824 - std[e72de78501789eb0]::panicking::catch_unwind:: + core[6aaeda2c7ad07a48]::marker::Sync + core[6aaeda2c7ad07a48]::panic::unwind_safe::RefUnwindSafe> [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:544:19 [INFO] [stdout] 25: 0x55feb1cc8824 - std[e72de78501789eb0]::panic::catch_unwind::<&dyn core[6aaeda2c7ad07a48]::ops::function::Fn<(), Output = i32> + core[6aaeda2c7ad07a48]::marker::Sync + core[6aaeda2c7ad07a48]::panic::unwind_safe::RefUnwindSafe, i32> [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panic.rs:359:14 [INFO] [stdout] 26: 0x55feb1cc8824 - std[e72de78501789eb0]::rt::lang_start_internal::{closure#0} [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/rt.rs:175:24 [INFO] [stdout] 27: 0x55feb1cc8824 - std[e72de78501789eb0]::panicking::catch_unwind::do_call:: [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:581:40 [INFO] [stdout] 28: 0x55feb1cc8824 - std[e72de78501789eb0]::panicking::catch_unwind:: [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:544:19 [INFO] [stdout] 29: 0x55feb1cc8824 - std[e72de78501789eb0]::panic::catch_unwind:: [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panic.rs:359:14 [INFO] [stdout] 30: 0x55feb1cc8824 - std[e72de78501789eb0]::rt::lang_start_internal [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/rt.rs:171:5 [INFO] [stdout] 31: 0x55feb1c80d11 - std[e72de78501789eb0]::rt::lang_start::<()> [INFO] [stdout] 32: 0x55feb1c812b5 - main [INFO] [stdout] 33: 0x741af26641ca - [INFO] [stdout] 34: 0x741af266428b - __libc_start_main [INFO] [stdout] 35: 0x55feb1c80585 - _start [INFO] [stdout] 36: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] ---- src/fs/snapshot.rs - fs::snapshot::File::read (line 44) stdout ---- [INFO] [stdout] Test executable failed (exit status: 101). [INFO] [stdout] [INFO] [stdout] stderr: [INFO] [stdout] [INFO] [stdout] thread 'main' (397) panicked at src/fs/snapshot.rs:7:1: [INFO] [stdout] assertion failed: file.to_utf8_lossy().starts_with("# https://doc.rust-lang.org/cargo/reference/manifest.html") [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5b035f8bb87a - std[e72de78501789eb0]::backtrace_rs::backtrace::libunwind::trace [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5b035f8bb87a - std[e72de78501789eb0]::backtrace_rs::backtrace::trace_unsynchronized:: [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5b035f8bb87a - std[e72de78501789eb0]::sys::backtrace::_print_fmt [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/sys/backtrace.rs:74:9 [INFO] [stdout] 3: 0x5b035f8bb87a - <::print::DisplayBacktrace as core[6aaeda2c7ad07a48]::fmt::Display>::fmt [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/sys/backtrace.rs:44:26 [INFO] [stdout] 4: 0x5b035f8cc19a - ::fmt [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/fmt/rt.rs:152:76 [INFO] [stdout] 5: 0x5b035f8cc19a - core[6aaeda2c7ad07a48]::fmt::write [INFO] [stdout] 6: 0x5b035f8bf1a2 - std[e72de78501789eb0]::io::default_write_fmt:: [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5b035f8bf1a2 - ::write_fmt [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/io/mod.rs:1994:13 [INFO] [stdout] 8: 0x5b035f8a6dff - ::print [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/sys/backtrace.rs:47:9 [INFO] [stdout] 9: 0x5b035f8a6dff - std[e72de78501789eb0]::panicking::default_hook::{closure#0} [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:292:27 [INFO] [stdout] 10: 0x5b035f8b7821 - std[e72de78501789eb0]::panicking::default_hook [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:319:9 [INFO] [stdout] 11: 0x5b035f8b79db - std[e72de78501789eb0]::panicking::panic_with_hook [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:825:13 [INFO] [stdout] 12: 0x5b035f8a6eea - std[e72de78501789eb0]::panicking::panic_handler::{closure#0} [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:691:13 [INFO] [stdout] 13: 0x5b035f89eb09 - std[e72de78501789eb0]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/sys/backtrace.rs:182:18 [INFO] [stdout] 14: 0x5b035f8a779d - __rustc[78a4cf188af856fc]::rust_begin_unwind [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:689:5 [INFO] [stdout] 15: 0x5b035f8cc8ac - core[6aaeda2c7ad07a48]::panicking::panic_fmt [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/panicking.rs:80:14 [INFO] [stdout] 16: 0x5b035f8cc872 - core[6aaeda2c7ad07a48]::panicking::panic [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/panicking.rs:150:5 [INFO] [stdout] 17: 0x5b035f88b3fc - rust_out[992bb7df40d5d539]::main::_doctest_main_src_fs_snapshot_rs_44_0 [INFO] [stdout] 18: 0x5b035f889566 - rust_out[992bb7df40d5d539]::main [INFO] [stdout] 19: 0x5b035f88d193 - >::call_once [INFO] [stdout] 20: 0x5b035f888606 - std[e72de78501789eb0]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] 21: 0x5b035f889089 - std[e72de78501789eb0]::rt::lang_start::<()>::{closure#0} [INFO] [stdout] 22: 0x5b035f8b6fa4 - <&dyn core[6aaeda2c7ad07a48]::ops::function::Fn<(), Output = i32> + core[6aaeda2c7ad07a48]::marker::Sync + core[6aaeda2c7ad07a48]::panic::unwind_safe::RefUnwindSafe as core[6aaeda2c7ad07a48]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/ops/function.rs:287:21 [INFO] [stdout] 23: 0x5b035f8b6fa4 - std[e72de78501789eb0]::panicking::catch_unwind::do_call::<&dyn core[6aaeda2c7ad07a48]::ops::function::Fn<(), Output = i32> + core[6aaeda2c7ad07a48]::marker::Sync + core[6aaeda2c7ad07a48]::panic::unwind_safe::RefUnwindSafe, i32> [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:581:40 [INFO] [stdout] 24: 0x5b035f8b6fa4 - std[e72de78501789eb0]::panicking::catch_unwind:: + core[6aaeda2c7ad07a48]::marker::Sync + core[6aaeda2c7ad07a48]::panic::unwind_safe::RefUnwindSafe> [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:544:19 [INFO] [stdout] 25: 0x5b035f8b6fa4 - std[e72de78501789eb0]::panic::catch_unwind::<&dyn core[6aaeda2c7ad07a48]::ops::function::Fn<(), Output = i32> + core[6aaeda2c7ad07a48]::marker::Sync + core[6aaeda2c7ad07a48]::panic::unwind_safe::RefUnwindSafe, i32> [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panic.rs:359:14 [INFO] [stdout] 26: 0x5b035f8b6fa4 - std[e72de78501789eb0]::rt::lang_start_internal::{closure#0} [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/rt.rs:175:24 [INFO] [stdout] 27: 0x5b035f8b6fa4 - std[e72de78501789eb0]::panicking::catch_unwind::do_call:: [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:581:40 [INFO] [stdout] 28: 0x5b035f8b6fa4 - std[e72de78501789eb0]::panicking::catch_unwind:: [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:544:19 [INFO] [stdout] 29: 0x5b035f8b6fa4 - std[e72de78501789eb0]::panic::catch_unwind:: [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panic.rs:359:14 [INFO] [stdout] 30: 0x5b035f8b6fa4 - std[e72de78501789eb0]::rt::lang_start_internal [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/rt.rs:171:5 [INFO] [stdout] 31: 0x5b035f8880d1 - std[e72de78501789eb0]::rt::lang_start::<()> [INFO] [stdout] 32: 0x5b035f88d305 - main [INFO] [stdout] 33: 0x7efffb5481ca - [INFO] [stdout] 34: 0x7efffb54828b - __libc_start_main [INFO] [stdout] 35: 0x5b035f8855f5 - _start [INFO] [stdout] 36: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] ---- src/rustup.rs - rustup (line 5) stdout ---- [INFO] [stdout] Test executable failed (exit status: 1). [INFO] [stdout] [INFO] [stdout] stderr: [INFO] [stdout] error: invalid value 'dec9417b8611e34e787a3e4c37686b5131f9e5c5' for '--toolchain ': invalid toolchain name: 'dec9417b8611e34e787a3e4c37686b5131f9e5c5' [INFO] [stdout] [INFO] [stdout] For more information, try '--help'. [INFO] [stdout] error: `rustup target list --installed --toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5` failed: exit code 1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/fs/snapshot.rs - fs::snapshot::File::read (line 44) [INFO] [stdout] src/rustup.rs - rustup (line 5) [INFO] [stdout] src/vscode.rs - vscode::list_extensions (line 13) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 13 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.26s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "993af180bd9f4345c06be2d5ba69cdc036f0a226ac41a5ea4acb22b69448882d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "993af180bd9f4345c06be2d5ba69cdc036f0a226ac41a5ea4acb22b69448882d", kill_on_drop: false }` [INFO] [stdout] 993af180bd9f4345c06be2d5ba69cdc036f0a226ac41a5ea4acb22b69448882d