[INFO] cloning repository https://github.com/wecohere/loom [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wecohere/loom" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwecohere%2Floom", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwecohere%2Floom'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ac6bbf01272cb7b7ff9fa1a41a4e9d21dc1fd099 [INFO] checking wecohere/loom against try#04ea1e1f1a12cfa912c228ca278237d92d0bb6df for pr-148477-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwecohere%2Floom" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/wecohere/loom [INFO] finished tweaking git repo https://github.com/wecohere/loom [INFO] tweaked toml for git repo https://github.com/wecohere/loom written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/wecohere/loom on toolchain 04ea1e1f1a12cfa912c228ca278237d92d0bb6df [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+04ea1e1f1a12cfa912c228ca278237d92d0bb6df" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/wecohere/loom 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" "+04ea1e1f1a12cfa912c228ca278237d92d0bb6df" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded net2 v0.2.31 [INFO] [stderr] Downloaded mio-uds v0.6.4 [INFO] [stderr] Downloaded mio-named-pipes v0.1.6 [INFO] [stderr] Downloaded tokio-io v0.1.4 [INFO] [stderr] Downloaded miow v0.3.1 [INFO] [stderr] Downloaded futures v0.1.17 [INFO] [stderr] Downloaded mio v0.6.12 [INFO] [stderr] Downloaded tokio-core v0.1.12 [INFO] [stderr] Downloaded scoped-tls v0.1.0 [INFO] [stderr] Downloaded iovec v0.1.1 [INFO] [stderr] Downloaded tokio-process v0.1.5 [INFO] [stderr] Downloaded socket2 v0.3.0 [INFO] [stderr] Downloaded tokio-signal v0.1.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+04ea1e1f1a12cfa912c228ca278237d92d0bb6df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] eada964b06bc72df083456caf0f8de3b88b5c23c99a0966259e623af051da97a [INFO] running `Command { std: "docker" "start" "-a" "eada964b06bc72df083456caf0f8de3b88b5c23c99a0966259e623af051da97a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eada964b06bc72df083456caf0f8de3b88b5c23c99a0966259e623af051da97a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eada964b06bc72df083456caf0f8de3b88b5c23c99a0966259e623af051da97a", kill_on_drop: false }` [INFO] [stdout] eada964b06bc72df083456caf0f8de3b88b5c23c99a0966259e623af051da97a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+04ea1e1f1a12cfa912c228ca278237d92d0bb6df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a0830e70aaba53a3e29582e1f64d87a0436ce310af8f81574649526d1f4c327a [INFO] running `Command { std: "docker" "start" "-a" "a0830e70aaba53a3e29582e1f64d87a0436ce310af8f81574649526d1f4c327a", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking libc v0.2.36 [INFO] [stderr] Checking cfg-if v0.1.2 [INFO] [stderr] Checking lazycell v0.6.0 [INFO] [stderr] Checking slab v0.3.0 [INFO] [stderr] Checking byteorder v1.2.1 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Checking futures v0.1.17 [INFO] [stderr] Checking scoped-tls v0.1.0 [INFO] [stderr] Checking slab v0.4.0 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Checking serde v1.0.27 [INFO] [stderr] Checking log v0.4.1 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Checking iovec v0.1.1 [INFO] [stderr] Checking net2 v0.2.31 [INFO] [stderr] Checking bytes v0.4.6 [INFO] [stderr] Checking mio v0.6.12 [INFO] [stderr] Checking tokio-io v0.1.4 [INFO] [stderr] Checking mio-uds v0.6.4 [INFO] [stderr] Checking tokio-core v0.1.12 [INFO] [stderr] Checking tokio-signal v0.1.3 [INFO] [stderr] Checking tokio-process v0.1.5 [INFO] [stderr] Compiling serde_derive_internals v0.19.0 [INFO] [stderr] Checking toml v0.4.5 [INFO] [stderr] Compiling serde_derive v1.0.27 [INFO] [stderr] Checking loom v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/lib.rs:16:54 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn run_from_config(filename: &str) -> Result<(), (std::io::Error)> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 16 - pub fn run_from_config(filename: &str) -> Result<(), (std::io::Error)> { [INFO] [stdout] 16 + pub fn run_from_config(filename: &str) -> Result<(), std::io::Error > { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/runner/child_with_streams.rs:14:29 [INFO] [stdout] | [INFO] [stdout] 14 | exit_status: Option>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 | exit_status: Option>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/runner/child_with_streams.rs:39:54 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn exit_status(&mut self) -> &mut Option>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 39 | pub fn exit_status(&mut self) -> &mut Option>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/lib.rs:16:54 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn run_from_config(filename: &str) -> Result<(), (std::io::Error)> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 16 - pub fn run_from_config(filename: &str) -> Result<(), (std::io::Error)> { [INFO] [stdout] 16 + pub fn run_from_config(filename: &str) -> Result<(), std::io::Error > { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/runner/child_with_streams.rs:14:29 [INFO] [stdout] | [INFO] [stdout] 14 | exit_status: Option>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 | exit_status: Option>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/runner/child_with_streams.rs:39:54 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn exit_status(&mut self) -> &mut Option>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 39 | pub fn exit_status(&mut self) -> &mut Option>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/runner/child_with_streams.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct ChildWithStreams<'a> { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 13 | name: &'a str, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/config.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Deserialize,Copy,Clone)] [INFO] [stdout] | -^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `CommandParams` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_CommandParams` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/runner/child_with_streams.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct ChildWithStreams<'a> { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 13 | name: &'a str, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/config.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Deserialize,Copy,Clone)] [INFO] [stdout] | -^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `CommandParams` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_CommandParams` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/bin/loom.rs:22:34 [INFO] [stdout] | [INFO] [stdout] 22 | fn run_core_loop() -> Result<(), (std::io::Error)> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 22 - fn run_core_loop() -> Result<(), (std::io::Error)> { [INFO] [stdout] 22 + fn run_core_loop() -> Result<(), std::io::Error > { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/bin/loom.rs:22:34 [INFO] [stdout] | [INFO] [stdout] 22 | fn run_core_loop() -> Result<(), (std::io::Error)> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 22 - fn run_core_loop() -> Result<(), (std::io::Error)> { [INFO] [stdout] 22 + fn run_core_loop() -> Result<(), std::io::Error > { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.53s [INFO] running `Command { std: "docker" "inspect" "a0830e70aaba53a3e29582e1f64d87a0436ce310af8f81574649526d1f4c327a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a0830e70aaba53a3e29582e1f64d87a0436ce310af8f81574649526d1f4c327a", kill_on_drop: false }` [INFO] [stdout] a0830e70aaba53a3e29582e1f64d87a0436ce310af8f81574649526d1f4c327a