[INFO] fetching crate trybuild2 1.2.0... [INFO] testing trybuild2-1.2.0 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate trybuild2 1.2.0 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate trybuild2 1.2.0 [INFO] finished tweaking crates.io crate trybuild2 1.2.0 [INFO] tweaked toml for crates.io crate trybuild2 1.2.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate trybuild2 1.2.0 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 21 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a22bbdb53dc75737239b821283e7c1fbaef99c1253a9a56996eb655570272197 [INFO] running `Command { std: "docker" "start" "-a" "a22bbdb53dc75737239b821283e7c1fbaef99c1253a9a56996eb655570272197", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a22bbdb53dc75737239b821283e7c1fbaef99c1253a9a56996eb655570272197", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a22bbdb53dc75737239b821283e7c1fbaef99c1253a9a56996eb655570272197", kill_on_drop: false }` [INFO] [stdout] a22bbdb53dc75737239b821283e7c1fbaef99c1253a9a56996eb655570272197 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 143b235fab1c6c2b87fe9234274ade478b8adae2a0d597dd43600be6fc714e3e [INFO] running `Command { std: "docker" "start" "-a" "143b235fab1c6c2b87fe9234274ade478b8adae2a0d597dd43600be6fc714e3e", kill_on_drop: false }` [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling trybuild2 v1.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling basic-toml v0.1.10 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stdout] warning: unexpected `cfg` condition name: `trybuild_no_target` [INFO] [stdout] --> src/cargo.rs:200:13 [INFO] [stdout] | [INFO] [stdout] 200 | if cfg!(trybuild_no_target) { [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(trybuild_no_target)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(trybuild_no_target)");` 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: field `0` is never read [INFO] [stdout] --> src/flock.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | Locked(MutexGuard<'static, ()>), [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 22 - Locked(MutexGuard<'static, ()>), [INFO] [stdout] 22 + Locked(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `workspace` is never read [INFO] [stdout] --> src/inherit.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct InheritEdition { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 8 | pub workspace: True, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/diff.rs:76:21 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn iter(&self, _input: &str) -> Box> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ------ 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: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 76 | pub fn iter(&self, _input: &str) -> Box>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/directory.rs:26:28 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn to_string_lossy(&self) -> Cow { [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] 26 | pub fn to_string_lossy(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.55s [INFO] running `Command { std: "docker" "inspect" "143b235fab1c6c2b87fe9234274ade478b8adae2a0d597dd43600be6fc714e3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "143b235fab1c6c2b87fe9234274ade478b8adae2a0d597dd43600be6fc714e3e", kill_on_drop: false }` [INFO] [stdout] 143b235fab1c6c2b87fe9234274ade478b8adae2a0d597dd43600be6fc714e3e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7c7a9772526262a336c20fbb809371b7cef13c84387ea23e23b9b2e98ca61c90 [INFO] running `Command { std: "docker" "start" "-a" "7c7a9772526262a336c20fbb809371b7cef13c84387ea23e23b9b2e98ca61c90", kill_on_drop: false }` [INFO] [stderr] Compiling automod v1.0.15 [INFO] [stderr] Compiling trybuild2 v1.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `trybuild_no_target` [INFO] [stdout] --> src/cargo.rs:200:13 [INFO] [stdout] | [INFO] [stdout] 200 | if cfg!(trybuild_no_target) { [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(trybuild_no_target)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(trybuild_no_target)");` 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: `trybuild_no_target` [INFO] [stdout] --> src/cargo.rs:200:13 [INFO] [stdout] | [INFO] [stdout] 200 | if cfg!(trybuild_no_target) { [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(trybuild_no_target)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(trybuild_no_target)");` 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: field `0` is never read [INFO] [stdout] --> src/flock.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | Locked(MutexGuard<'static, ()>), [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 22 - Locked(MutexGuard<'static, ()>), [INFO] [stdout] 22 + Locked(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `workspace` is never read [INFO] [stdout] --> src/inherit.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct InheritEdition { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 8 | pub workspace: True, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/diff.rs:76:21 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn iter(&self, _input: &str) -> Box> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ------ 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: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 76 | pub fn iter(&self, _input: &str) -> Box>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/directory.rs:26:28 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn to_string_lossy(&self) -> Cow { [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] 26 | pub fn to_string_lossy(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/flock.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | Locked(MutexGuard<'static, ()>), [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 22 - Locked(MutexGuard<'static, ()>), [INFO] [stdout] 22 + Locked(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `workspace` is never read [INFO] [stdout] --> src/inherit.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct InheritEdition { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 8 | pub workspace: True, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/diff.rs:76:21 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn iter(&self, _input: &str) -> Box> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ------ 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: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 76 | pub fn iter(&self, _input: &str) -> Box>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/directory.rs:26:28 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn to_string_lossy(&self) -> Cow { [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] 26 | pub fn to_string_lossy(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 6.68s [INFO] running `Command { std: "docker" "inspect" "7c7a9772526262a336c20fbb809371b7cef13c84387ea23e23b9b2e98ca61c90", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c7a9772526262a336c20fbb809371b7cef13c84387ea23e23b9b2e98ca61c90", kill_on_drop: false }` [INFO] [stdout] 7c7a9772526262a336c20fbb809371b7cef13c84387ea23e23b9b2e98ca61c90 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 7a66b2b79b9fd90778627139f842e443e6128585d3e4d210baa38ab7cac85edd [INFO] running `Command { std: "docker" "start" "-a" "7a66b2b79b9fd90778627139f842e443e6128585d3e4d210baa38ab7cac85edd", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition name: `trybuild_no_target` [INFO] [stderr] --> src/cargo.rs:200:13 [INFO] [stderr] | [INFO] [stderr] 200 | if cfg!(trybuild_no_target) { [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(trybuild_no_target)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(trybuild_no_target)");` 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: field `0` is never read [INFO] [stderr] --> src/flock.rs:22:12 [INFO] [stderr] | [INFO] [stderr] 22 | Locked(MutexGuard<'static, ()>), [INFO] [stderr] | ------ ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 22 - Locked(MutexGuard<'static, ()>), [INFO] [stderr] 22 + Locked(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `workspace` is never read [INFO] [stderr] --> src/inherit.rs:8:9 [INFO] [stderr] | [INFO] [stderr] 7 | pub struct InheritEdition { [INFO] [stderr] | -------------- field in this struct [INFO] [stderr] 8 | pub workspace: True, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/diff.rs:76:21 [INFO] [stderr] | [INFO] [stderr] 76 | pub fn iter(&self, _input: &str) -> Box> { [INFO] [stderr] | ^^^^^ the lifetime is elided here ------ 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: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 76 | pub fn iter(&self, _input: &str) -> Box>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/directory.rs:26:28 [INFO] [stderr] | [INFO] [stderr] 26 | pub fn to_string_lossy(&self) -> Cow { [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] 26 | pub fn to_string_lossy(&self) -> Cow<'_, str> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `trybuild2` (lib) generated 5 warnings (run `cargo fix --lib -p trybuild2` to apply 2 suggestions) [INFO] [stderr] warning: `trybuild2` (lib test) generated 5 warnings (5 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/trybuild2-137f7f2f059c86ce) [INFO] [stdout] [INFO] [stdout] running 17 tests [INFO] [stdout] test normalize::tests::tests::basic::test ... ok [INFO] [stdout] test normalize::tests::tests::dropshot_required_by::test ... ok [INFO] [stdout] test normalize::tests::tests::cargo_registry_sparse::test ... ok [INFO] [stdout] test normalize::tests::tests::and_n_others::test ... ok [INFO] [stdout] test normalize::tests::tests::dir_backslash::test ... ok [INFO] [stdout] test normalize::tests::tests::cargo_registry::test ... ok [INFO] [stdout] test normalize::tests::tests::erased_serde_trait_bound::test ... ok [INFO] [stdout] test normalize::tests::tests::long_file_names::test ... ok [INFO] [stdout] test normalize::tests::tests::py03_url::test ... ok [INFO] [stdout] test normalize::tests::tests::rust_lib::test ... ok [INFO] [stdout] test path::test_path_macro ... ok [INFO] [stdout] test normalize::tests::tests::rust_lib_with_githash::test ... ok [INFO] [stdout] test normalize::tests::tests::strip_path_dependencies::test ... ok [INFO] [stdout] test normalize::tests::tests::uniffi_out_dir::test ... ok [INFO] [stdout] test normalize::tests::tests::traits_must_be_implemented::test ... ok [INFO] [stdout] test normalize::tests::tests::type_dir_backslash::test ... ok [INFO] [stdout] test normalize::tests::tests::proc_macro_panic::test ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 17 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.08s [INFO] [stdout] [INFO] [stderr] Running tests/test.rs (/opt/rustwide/target/debug/deps/test-522bcf761e8a1379) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking memchr v2.7.6 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling trybuild2 v1.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking glob v0.3.3 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking basic-toml v0.1.10 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling automod v1.0.15 [INFO] [stderr] warning: unexpected `cfg` condition name: `trybuild_no_target` [INFO] [stderr] --> /opt/rustwide/workdir/src/cargo.rs:200:13 [INFO] [stderr] | [INFO] [stderr] 200 | if cfg!(trybuild_no_target) { [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(trybuild_no_target)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(trybuild_no_target)");` 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> /opt/rustwide/workdir/src/diff.rs:76:21 [INFO] [stderr] | [INFO] [stderr] 76 | pub fn iter(&self, _input: &str) -> Box> { [INFO] [stderr] | ^^^^^ the lifetime is elided here ------ 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: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 76 | pub fn iter(&self, _input: &str) -> Box>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> /opt/rustwide/workdir/src/directory.rs:26:28 [INFO] [stderr] | [INFO] [stderr] 26 | pub fn to_string_lossy(&self) -> Cow { [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] 26 | pub fn to_string_lossy(&self) -> Cow<'_, str> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `trybuild2` (lib) generated 3 warnings (run `cargo fix --lib -p trybuild2` to apply 2 suggestions) [INFO] [stderr] Checking trybuild2-tests v0.0.0 (/opt/rustwide/target/tests/trybuild/trybuild2) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.96s [INFO] [stderr] [INFO] [stderr] [INFO] [stdout] test with_suffix ... ok [INFO] [stderr] test tests/ui/compile-fail-1.rs ... ok [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] warning: /opt/rustwide/target/tests/trybuild/trybuild2/Cargo.toml: file `/opt/rustwide/workdir/tests/ui/compile-fail-0.rs` found to be present in multiple build targets: [INFO] [stderr] * `bin` target `trybuild009` [INFO] [stderr] * `bin` target `trybuild022` [INFO] [stderr] * `bin` target `trybuild023` [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling basic-toml v0.1.10 [INFO] [stderr] Compiling trybuild2 v1.2.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: unexpected `cfg` condition name: `trybuild_no_target` [INFO] [stderr] --> /opt/rustwide/workdir/src/cargo.rs:200:13 [INFO] [stderr] | [INFO] [stderr] 200 | if cfg!(trybuild_no_target) { [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(trybuild_no_target)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(trybuild_no_target)");` 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> /opt/rustwide/workdir/src/diff.rs:76:21 [INFO] [stderr] | [INFO] [stderr] 76 | pub fn iter(&self, _input: &str) -> Box> { [INFO] [stderr] | ^^^^^ the lifetime is elided here ------ 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: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 76 | pub fn iter(&self, _input: &str) -> Box>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> /opt/rustwide/workdir/src/directory.rs:26:28 [INFO] [stderr] | [INFO] [stderr] 26 | pub fn to_string_lossy(&self) -> Cow { [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] 26 | pub fn to_string_lossy(&self) -> Cow<'_, str> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `trybuild2` (lib) generated 3 warnings (run `cargo fix --lib -p trybuild2` to apply 2 suggestions) [INFO] [stderr] Compiling trybuild2-tests v0.0.0 (/opt/rustwide/target/tests/trybuild/trybuild2) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.28s [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] test tests/ui/run-pass-0.rs [should pass] ... ok [INFO] [stderr] [INFO] [stderr] STDERR: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] warning: unexpected `cfg` condition name: `trybuild_no_target` [INFO] [stderr] --> /opt/rustwide/workdir/src/cargo.rs:200:13 [INFO] [stderr] | [INFO] [stderr] 200 | if cfg!(trybuild_no_target) { [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(trybuild_no_target)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(trybuild_no_target)");` 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> /opt/rustwide/workdir/src/diff.rs:76:21 [INFO] [stderr] | [INFO] [stderr] 76 | pub fn iter(&self, _input: &str) -> Box> { [INFO] [stderr] | ^^^^^ the lifetime is elided here ------ 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: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 76 | pub fn iter(&self, _input: &str) -> Box>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> /opt/rustwide/workdir/src/directory.rs:26:28 [INFO] [stderr] | [INFO] [stderr] 26 | pub fn to_string_lossy(&self) -> Cow { [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] 26 | pub fn to_string_lossy(&self) -> Cow<'_, str> { [INFO] [stderr] | +++ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] test tests/ui/print-stdout.rs [should pass] ... ok [INFO] [stderr] [INFO] [stderr] STDOUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] Chars(['S', 'T', 'D', 'O', 'U', 'T']) [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] STDERR: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] warning: unexpected `cfg` condition name: `trybuild_no_target` [INFO] [stderr] --> /opt/rustwide/workdir/src/cargo.rs:200:13 [INFO] [stderr] | [INFO] [stderr] 200 | if cfg!(trybuild_no_target) { [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(trybuild_no_target)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(trybuild_no_target)");` 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> /opt/rustwide/workdir/src/diff.rs:76:21 [INFO] [stderr] | [INFO] [stderr] 76 | pub fn iter(&self, _input: &str) -> Box> { [INFO] [stderr] | ^^^^^ the lifetime is elided here ------ 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: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 76 | pub fn iter(&self, _input: &str) -> Box>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> /opt/rustwide/workdir/src/directory.rs:26:28 [INFO] [stderr] | [INFO] [stderr] 26 | pub fn to_string_lossy(&self) -> Cow { [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] 26 | pub fn to_string_lossy(&self) -> Cow<'_, str> { [INFO] [stderr] | +++ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] test tests/ui/run-pass-1.rs [should pass] ... ok [INFO] [stderr] [INFO] [stderr] STDERR: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] warning: unexpected `cfg` condition name: `trybuild_no_target` [INFO] [stderr] --> /opt/rustwide/workdir/src/cargo.rs:200:13 [INFO] [stderr] | [INFO] [stderr] 200 | if cfg!(trybuild_no_target) { [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(trybuild_no_target)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(trybuild_no_target)");` 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> /opt/rustwide/workdir/src/diff.rs:76:21 [INFO] [stderr] | [INFO] [stderr] 76 | pub fn iter(&self, _input: &str) -> Box> { [INFO] [stderr] | ^^^^^ the lifetime is elided here ------ 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: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 76 | pub fn iter(&self, _input: &str) -> Box>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> /opt/rustwide/workdir/src/directory.rs:26:28 [INFO] [stderr] | [INFO] [stderr] 26 | pub fn to_string_lossy(&self) -> Cow { [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] 26 | pub fn to_string_lossy(&self) -> Cow<'_, str> { [INFO] [stderr] | +++ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] test tests/ui/print-stderr.rs [should pass] ... ok [INFO] [stderr] [INFO] [stderr] STDERR: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] warning: unexpected `cfg` condition name: `trybuild_no_target` [INFO] [stderr] --> /opt/rustwide/workdir/src/cargo.rs:200:13 [INFO] [stderr] | [INFO] [stderr] 200 | if cfg!(trybuild_no_target) { [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(trybuild_no_target)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(trybuild_no_target)");` 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> /opt/rustwide/workdir/src/diff.rs:76:21 [INFO] [stderr] | [INFO] [stderr] 76 | pub fn iter(&self, _input: &str) -> Box> { [INFO] [stderr] | ^^^^^ the lifetime is elided here ------ 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: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 76 | pub fn iter(&self, _input: &str) -> Box>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> /opt/rustwide/workdir/src/directory.rs:26:28 [INFO] [stderr] | [INFO] [stderr] 26 | pub fn to_string_lossy(&self) -> Cow { [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] 26 | pub fn to_string_lossy(&self) -> Cow<'_, str> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] Chars(['S', 'T', 'D', 'E', 'R', 'R']) [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] test tests/ui/run-pass-2.rs [should pass] ... ok [INFO] [stderr] [INFO] [stderr] STDERR: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] warning: unexpected `cfg` condition name: `trybuild_no_target` [INFO] [stderr] --> /opt/rustwide/workdir/src/cargo.rs:200:13 [INFO] [stderr] | [INFO] [stderr] 200 | if cfg!(trybuild_no_target) { [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(trybuild_no_target)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(trybuild_no_target)");` 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> /opt/rustwide/workdir/src/diff.rs:76:21 [INFO] [stderr] | [INFO] [stderr] 76 | pub fn iter(&self, _input: &str) -> Box> { [INFO] [stderr] | ^^^^^ the lifetime is elided here ------ 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: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 76 | pub fn iter(&self, _input: &str) -> Box>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> /opt/rustwide/workdir/src/directory.rs:26:28 [INFO] [stderr] | [INFO] [stderr] 26 | pub fn to_string_lossy(&self) -> Cow { [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] 26 | pub fn to_string_lossy(&self) -> Cow<'_, str> { [INFO] [stderr] | +++ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] test tests/ui/print-both.rs [should pass] ... ok [INFO] [stderr] [INFO] [stderr] STDOUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] Chars(['S', 'T', 'D', 'O', 'U', 'T']) [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] STDERR: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] warning: unexpected `cfg` condition name: `trybuild_no_target` [INFO] [stderr] --> /opt/rustwide/workdir/src/cargo.rs:200:13 [INFO] [stderr] | [INFO] [stderr] 200 | if cfg!(trybuild_no_target) { [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(trybuild_no_target)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(trybuild_no_target)");` 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> /opt/rustwide/workdir/src/diff.rs:76:21 [INFO] [stderr] | [INFO] [stderr] 76 | pub fn iter(&self, _input: &str) -> Box> { [INFO] [stderr] | ^^^^^ the lifetime is elided here ------ 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: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 76 | pub fn iter(&self, _input: &str) -> Box>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> /opt/rustwide/workdir/src/directory.rs:26:28 [INFO] [stderr] | [INFO] [stderr] 26 | pub fn to_string_lossy(&self) -> Cow { [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] 26 | pub fn to_string_lossy(&self) -> Cow<'_, str> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] Chars(['S', 'T', 'D', 'E', 'R', 'R']) [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] test tests/ui/run-pass-4.rs [should pass] ... ok [INFO] [stderr] [INFO] [stderr] STDERR: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] warning: unexpected `cfg` condition name: `trybuild_no_target` [INFO] [stderr] --> /opt/rustwide/workdir/src/cargo.rs:200:13 [INFO] [stderr] | [INFO] [stderr] 200 | if cfg!(trybuild_no_target) { [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(trybuild_no_target)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(trybuild_no_target)");` 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> /opt/rustwide/workdir/src/diff.rs:76:21 [INFO] [stderr] | [INFO] [stderr] 76 | pub fn iter(&self, _input: &str) -> Box> { [INFO] [stderr] | ^^^^^ the lifetime is elided here ------ 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: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 76 | pub fn iter(&self, _input: &str) -> Box>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> /opt/rustwide/workdir/src/directory.rs:26:28 [INFO] [stderr] | [INFO] [stderr] 26 | pub fn to_string_lossy(&self) -> Cow { [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] 26 | pub fn to_string_lossy(&self) -> Cow<'_, str> { [INFO] [stderr] | +++ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] test tests/ui/run-pass-3.rs [should fail to compile] ... error [INFO] [stderr] Expected test case to fail to compile, but it succeeded. [INFO] [stderr] [INFO] [stderr] test tests/ui/run-pass-5.rs [should pass] ... ok [INFO] [stderr] [INFO] [stderr] STDERR: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] warning: unexpected `cfg` condition name: `trybuild_no_target` [INFO] [stderr] --> /opt/rustwide/workdir/src/cargo.rs:200:13 [INFO] [stderr] | [INFO] [stderr] 200 | if cfg!(trybuild_no_target) { [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(trybuild_no_target)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(trybuild_no_target)");` 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> /opt/rustwide/workdir/src/diff.rs:76:21 [INFO] [stderr] | [INFO] [stderr] 76 | pub fn iter(&self, _input: &str) -> Box> { [INFO] [stderr] | ^^^^^ the lifetime is elided here ------ 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: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 76 | pub fn iter(&self, _input: &str) -> Box>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> /opt/rustwide/workdir/src/directory.rs:26:28 [INFO] [stderr] | [INFO] [stderr] 26 | pub fn to_string_lossy(&self) -> Cow { [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] 26 | pub fn to_string_lossy(&self) -> Cow<'_, str> { [INFO] [stderr] | +++ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] test tests/ui/compile-fail-0.rs [should pass] ... error [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: ERROR [INFO] [stderr] --> tests/ui/compile-fail-0.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | compile_error!("ERROR"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] test tests/ui/run-pass-6.rs [should pass] ... ok [INFO] [stderr] [INFO] [stderr] STDERR: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] warning: unexpected `cfg` condition name: `trybuild_no_target` [INFO] [stderr] --> /opt/rustwide/workdir/src/cargo.rs:200:13 [INFO] [stderr] | [INFO] [stderr] 200 | if cfg!(trybuild_no_target) { [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(trybuild_no_target)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(trybuild_no_target)");` 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> /opt/rustwide/workdir/src/diff.rs:76:21 [INFO] [stderr] | [INFO] [stderr] 76 | pub fn iter(&self, _input: &str) -> Box> { [INFO] [stderr] | ^^^^^ the lifetime is elided here ------ 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: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 76 | pub fn iter(&self, _input: &str) -> Box>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> /opt/rustwide/workdir/src/directory.rs:26:28 [INFO] [stderr] | [INFO] [stderr] 26 | pub fn to_string_lossy(&self) -> Cow { [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] 26 | pub fn to_string_lossy(&self) -> Cow<'_, str> { [INFO] [stderr] | +++ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] test tests/ui/run-pass-7.rs [should pass] ... ok [INFO] [stderr] [INFO] [stderr] STDERR: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] warning: unexpected `cfg` condition name: `trybuild_no_target` [INFO] [stderr] --> /opt/rustwide/workdir/src/cargo.rs:200:13 [INFO] [stderr] | [INFO] [stderr] 200 | if cfg!(trybuild_no_target) { [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(trybuild_no_target)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(trybuild_no_target)");` 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> /opt/rustwide/workdir/src/diff.rs:76:21 [INFO] [stderr] | [INFO] [stderr] 76 | pub fn iter(&self, _input: &str) -> Box> { [INFO] [stderr] | ^^^^^ the lifetime is elided here ------ 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: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 76 | pub fn iter(&self, _input: &str) -> Box>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> /opt/rustwide/workdir/src/directory.rs:26:28 [INFO] [stderr] | [INFO] [stderr] 26 | pub fn to_string_lossy(&self) -> Cow { [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] 26 | pub fn to_string_lossy(&self) -> Cow<'_, str> { [INFO] [stderr] | +++ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] test tests/ui/run-pass-8.rs [should pass] ... ok [INFO] [stderr] [INFO] [stderr] STDERR: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] warning: unexpected `cfg` condition name: `trybuild_no_target` [INFO] [stderr] --> /opt/rustwide/workdir/src/cargo.rs:200:13 [INFO] [stderr] | [INFO] [stderr] 200 | if cfg!(trybuild_no_target) { [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(trybuild_no_target)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(trybuild_no_target)");` 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> /opt/rustwide/workdir/src/diff.rs:76:21 [INFO] [stderr] | [INFO] [stderr] 76 | pub fn iter(&self, _input: &str) -> Box> { [INFO] [stderr] | ^^^^^ the lifetime is elided here ------ 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: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 76 | pub fn iter(&self, _input: &str) -> Box>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> /opt/rustwide/workdir/src/directory.rs:26:28 [INFO] [stderr] | [INFO] [stderr] 26 | pub fn to_string_lossy(&self) -> Cow { [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] 26 | pub fn to_string_lossy(&self) -> Cow<'_, str> { [INFO] [stderr] | +++ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] test tests/ui/compile-fail-1.rs [should fail to compile] ... error [INFO] [stderr] Read-only file system (os error 30) [INFO] [stderr] [INFO] [stderr] test tests/ui/run-fail.rs [should pass] ... error [INFO] [stderr] Test case failed at runtime. [INFO] [stderr] [INFO] [stderr] STDERR: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] warning: unexpected `cfg` condition name: `trybuild_no_target` [INFO] [stderr] --> /opt/rustwide/workdir/src/cargo.rs:200:13 [INFO] [stderr] | [INFO] [stderr] 200 | if cfg!(trybuild_no_target) { [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(trybuild_no_target)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(trybuild_no_target)");` 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> /opt/rustwide/workdir/src/diff.rs:76:21 [INFO] [stderr] | [INFO] [stderr] 76 | pub fn iter(&self, _input: &str) -> Box> { [INFO] [stderr] | ^^^^^ the lifetime is elided here ------ 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: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 76 | pub fn iter(&self, _input: &str) -> Box>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> /opt/rustwide/workdir/src/directory.rs:26:28 [INFO] [stderr] | [INFO] [stderr] 26 | pub fn to_string_lossy(&self) -> Cow { [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] 26 | pub fn to_string_lossy(&self) -> Cow<'_, str> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] thread 'main' (960) panicked at /opt/rustwide/workdir/tests/ui/run-fail.rs:2:5: [INFO] [stderr] assertion failed: false [INFO] [stderr] stack backtrace: [INFO] [stderr] 0: 0x57a1b2ab7692 - std::backtrace_rs::backtrace::libunwind::trace::hc4a5f428cfb78751 [INFO] [stderr] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stderr] 1: 0x57a1b2ab7692 - std::backtrace_rs::backtrace::trace_unsynchronized::h20e1095684b4c296 [INFO] [stderr] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stderr] 2: 0x57a1b2ab7692 - std::sys::backtrace::_print_fmt::h461f2e3a8f6b29e2 [INFO] [stderr] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/sys/backtrace.rs:66:9 [INFO] [stderr] 3: 0x57a1b2ab7692 - ::fmt::h4ee3a75aa71a2c45 [INFO] [stderr] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/sys/backtrace.rs:39:26 [INFO] [stderr] 4: 0x57a1b2ad316f - core::fmt::rt::Argument::fmt::h6f1564705cd089af [INFO] [stderr] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/fmt/rt.rs:173:76 [INFO] [stderr] 5: 0x57a1b2ad316f - core::fmt::write::h21ca93b65a7c281a [INFO] [stderr] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/fmt/mod.rs:1468:25 [INFO] [stderr] 6: 0x57a1b2aa9673 - std::io::default_write_fmt::h745a1edf2999cb3b [INFO] [stderr] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/io/mod.rs:639:11 [INFO] [stderr] 7: 0x57a1b2aa9673 - std::io::Write::write_fmt::hfc56e66d6e189682 [INFO] [stderr] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/io/mod.rs:1954:13 [INFO] [stderr] 8: 0x57a1b2ab7ca2 - std::sys::backtrace::BacktraceLock::print::h58d5d73f9e953cf1 [INFO] [stderr] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/sys/backtrace.rs:42:9 [INFO] [stderr] 9: 0x57a1b2aa76fc - std::panicking::default_hook::{{closure}}::h1457fbe47c9457d1 [INFO] [stderr] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/panicking.rs:301:27 [INFO] [stderr] 10: 0x57a1b2aa753c - std::panicking::default_hook::hccb5e73b206c0830 [INFO] [stderr] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/panicking.rs:328:9 [INFO] [stderr] 11: 0x57a1b2aa824a - std::panicking::panic_with_hook::h3190ecc6229cdd29 [INFO] [stderr] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/panicking.rs:834:13 [INFO] [stderr] 12: 0x57a1b2ab7a76 - std::panicking::panic_handler::{{closure}}::ha1f1b769bc2bb40c [INFO] [stderr] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/panicking.rs:700:13 [INFO] [stderr] 13: 0x57a1b2ab7a09 - std::sys::backtrace::__rust_end_short_backtrace::h5f9cf66f19c2a172 [INFO] [stderr] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/sys/backtrace.rs:174:18 [INFO] [stderr] 14: 0x57a1b2aa7ffd - __rustc[a93bd50104b99ad4]::rust_begin_unwind [INFO] [stderr] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/panicking.rs:698:5 [INFO] [stderr] 15: 0x57a1b2ad5a00 - core::panicking::panic_fmt::hc70c3c83f13c1375 [INFO] [stderr] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/panicking.rs:75:14 [INFO] [stderr] 16: 0x57a1b2ad5c7c - core::panicking::panic::h413ab907c3df10e0 [INFO] [stderr] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/panicking.rs:145:5 [INFO] [stderr] 17: 0x57a1b2a96d7a - trybuild014::main::h5cfb789e4a450396 [INFO] [stderr] at /opt/rustwide/workdir/tests/ui/run-fail.rs:2:5 [INFO] [stderr] 18: 0x57a1b2a96deb - core::ops::function::FnOnce::call_once::hbae2c07cc62ae995 [INFO] [stderr] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/ops/function.rs:253:5 [INFO] [stderr] 19: 0x57a1b2a96d3e - std::sys::backtrace::__rust_begin_short_backtrace::he334d0338d31b5cd [INFO] [stderr] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/sys/backtrace.rs:158:18 [INFO] [stderr] 20: 0x57a1b2a96d11 - std::rt::lang_start::{{closure}}::h8b495e83af0d2a29 [INFO] [stderr] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/rt.rs:206:18 [INFO] [stderr] 21: 0x57a1b2ab8420 - core::ops::function::impls:: for &F>::call_once::hae16bf8966719858 [INFO] [stderr] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/ops/function.rs:290:21 [INFO] [stderr] 22: 0x57a1b2ab8420 - std::panicking::catch_unwind::do_call::hd4eb7cf01d0f66cd [INFO] [stderr] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/panicking.rs:590:40 [INFO] [stderr] 23: 0x57a1b2ab8420 - std::panicking::catch_unwind::h35b4afc45093edf5 [INFO] [stderr] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/panicking.rs:553:19 [INFO] [stderr] 24: 0x57a1b2ab8420 - std::panic::catch_unwind::h5a7ef11ac2fa7980 [INFO] [stderr] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/panic.rs:359:14 [INFO] [stderr] 25: 0x57a1b2ab8420 - std::rt::lang_start_internal::{{closure}}::h18f8e059e8eb5f5a [INFO] [stderr] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/rt.rs:175:24 [INFO] [stderr] 26: 0x57a1b2ab8420 - std::panicking::catch_unwind::do_call::hb4f94f34ea41283f [INFO] [stderr] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/panicking.rs:590:40 [INFO] [stderr] 27: 0x57a1b2ab8420 - std::panicking::catch_unwind::hfbb31091ea806204 [INFO] [stderr] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/panicking.rs:553:19 [INFO] [stderr] 28: 0x57a1b2ab8420 - std::panic::catch_unwind::hc88f452387620cfb [INFO] [stderr] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/panic.rs:359:14 [INFO] [stderr] 29: 0x57a1b2ab8420 - std::rt::lang_start_internal::h23cfb6dcbf9c9010 [INFO] [stderr] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/rt.rs:171:5 [INFO] [stderr] 30: 0x57a1b2a96cf7 - std::rt::lang_start::h98586c98b96025dc [INFO] [stderr] at /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/std/src/rt.rs:205:5 [INFO] [stderr] 31: 0x57a1b2a96e0e - main [INFO] [stderr] 32: 0x7ef4303221ca - [INFO] [stderr] 33: 0x7ef43032228b - __libc_start_main [INFO] [stderr] 34: 0x57a1b2a96bf5 - _start [INFO] [stderr] 35: 0x0 - [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] test tests/ui/run-pass-9.rs [should pass] ... ok [INFO] [stderr] [INFO] [stderr] STDERR: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] warning: unexpected `cfg` condition name: `trybuild_no_target` [INFO] [stderr] --> /opt/rustwide/workdir/src/cargo.rs:200:13 [INFO] [stderr] | [INFO] [stderr] 200 | if cfg!(trybuild_no_target) { [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(trybuild_no_target)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(trybuild_no_target)");` 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> /opt/rustwide/workdir/src/diff.rs:76:21 [INFO] [stderr] | [INFO] [stderr] 76 | pub fn iter(&self, _input: &str) -> Box> { [INFO] [stderr] | ^^^^^ the lifetime is elided here ------ 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: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 76 | pub fn iter(&self, _input: &str) -> Box>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> /opt/rustwide/workdir/src/directory.rs:26:28 [INFO] [stderr] | [INFO] [stderr] 26 | pub fn to_string_lossy(&self) -> Cow { [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] 26 | pub fn to_string_lossy(&self) -> Cow<'_, str> { [INFO] [stderr] | +++ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] test tests/ui/compile-fail-2.rs [should fail to compile] ... ok [INFO] [stderr] test tests/ui/compile-fail-3.rs [should fail to compile] ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0277]: `*mut _` cannot be shared between threads safely [INFO] [stderr] --> tests/ui/compile-fail-3.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | thread::spawn(|| { [INFO] [stderr] | ^^^^^^^^^^^^^ `*mut _` cannot be shared between threads safely [INFO] [stderr] | [INFO] [stderr] = help: the trait `Sync` is not implemented for `*mut _` [INFO] [stderr] = note: required because of the requirements on the impl of `Send` for `&*mut _` [INFO] [stderr] = note: required because it appears within the type `[closure@$DIR/tests/ui/compile-fail-3.rs:7:19: 9:6]` [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0277]: `*mut _` cannot be shared between threads safely [INFO] [stderr] --> tests/ui/compile-fail-3.rs:7:19 [INFO] [stderr] | [INFO] [stderr] 7 | thread::spawn(|| { [INFO] [stderr] | _____-------------_^ [INFO] [stderr] | | | [INFO] [stderr] | | required by a bound introduced by this call [INFO] [stderr] 8 | | println!("{:?}", x) [INFO] [stderr] 9 | | }); [INFO] [stderr] | |_____^ `*mut _` cannot be shared between threads safely [INFO] [stderr] | [INFO] [stderr] = help: the trait `Sync` is not implemented for `*mut _` [INFO] [stderr] = note: required for `&*mut _` to implement `Send` [INFO] [stderr] note: required because it's used within this closure [INFO] [stderr] --> tests/ui/compile-fail-3.rs:7:19 [INFO] [stderr] | [INFO] [stderr] 7 | thread::spawn(|| { [INFO] [stderr] | ^^ [INFO] [stderr] note: required by a bound in `spawn` [INFO] [stderr] --> $RUST/std/src/thread/mod.rs [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning [INFO] [stderr] your test with the environment variable TRYBUILD2=overwrite [INFO] [stderr] [INFO] [stderr] test inline_pass_main [should pass] ... ok [INFO] [stderr] [INFO] [stderr] STDERR: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] warning: unexpected `cfg` condition name: `trybuild_no_target` [INFO] [stderr] --> /opt/rustwide/workdir/src/cargo.rs:200:13 [INFO] [stderr] | [INFO] [stderr] 200 | if cfg!(trybuild_no_target) { [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(trybuild_no_target)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(trybuild_no_target)");` 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> /opt/rustwide/workdir/src/diff.rs:76:21 [INFO] [stderr] | [INFO] [stderr] 76 | pub fn iter(&self, _input: &str) -> Box> { [INFO] [stderr] | ^^^^^ the lifetime is elided here ------ 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: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 76 | pub fn iter(&self, _input: &str) -> Box>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> /opt/rustwide/workdir/src/directory.rs:26:28 [INFO] [stderr] | [INFO] [stderr] 26 | pub fn to_string_lossy(&self) -> Cow { [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] 26 | pub fn to_string_lossy(&self) -> Cow<'_, str> { [INFO] [stderr] | +++ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] test inline_check_sub [should pass] ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] wuwu┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> inline_check_sub.rs:1:17 [INFO] [stderr] | [INFO] [stderr] 1 | fn main() { let x = 12; } [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning [INFO] [stderr] your test with the environment variable TRYBUILD2=overwrite [INFO] [stderr] [INFO] [stderr] test inline_check_sub2 [should pass] ... ok [INFO] [stderr] test inline_compile_fail [should fail to compile] ... ok [INFO] [stderr] test tests/ui/compile-fail-0.rs [should fail to compile] ... ok [INFO] [stderr] test tests/ui/compile-fail-0.rs [should fail to compile] ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] I'm not here!┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: ERROR [INFO] [stderr] --> tests/ui/compile-fail-0.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | compile_error!("ERROR"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning [INFO] [stderr] your test with the environment variable TRYBUILD2=overwrite [INFO] [stderr] [INFO] [stderr] test inline_compile_fail_sub [should fail to compile] ... ok [INFO] [stderr] [INFO] [stderr] [INFO] [stdout] test test_api ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 36.16s [INFO] [stdout] [INFO] [stderr] Doc-tests trybuild2 [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test src/lib.rs - TestCases::with_suffix (line 331) - compile ... ok [INFO] [stdout] test src/lib.rs - (line 79) ... ok [INFO] [stdout] test src/lib.rs - (line 32) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.50s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "7a66b2b79b9fd90778627139f842e443e6128585d3e4d210baa38ab7cac85edd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a66b2b79b9fd90778627139f842e443e6128585d3e4d210baa38ab7cac85edd", kill_on_drop: false }` [INFO] [stdout] 7a66b2b79b9fd90778627139f842e443e6128585d3e4d210baa38ab7cac85edd