[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#86f78589b09557f70c9db3f56ad1921e0a9f76ef for pr-138438 [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] validating manifest of git repo https://github.com/wecohere/loom on toolchain 86f78589b09557f70c9db3f56ad1921e0a9f76ef [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+86f78589b09557f70c9db3f56ad1921e0a9f76ef" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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] 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" "+86f78589b09557f70c9db3f56ad1921e0a9f76ef" "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] 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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+86f78589b09557f70c9db3f56ad1921e0a9f76ef" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 43f608c7a0d4b0c3a6acd5e12b2c614fa08a90cde036e6302a620dde391c21a5 [INFO] running `Command { std: "docker" "start" "-a" "43f608c7a0d4b0c3a6acd5e12b2c614fa08a90cde036e6302a620dde391c21a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "43f608c7a0d4b0c3a6acd5e12b2c614fa08a90cde036e6302a620dde391c21a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "43f608c7a0d4b0c3a6acd5e12b2c614fa08a90cde036e6302a620dde391c21a5", kill_on_drop: false }` [INFO] [stdout] 43f608c7a0d4b0c3a6acd5e12b2c614fa08a90cde036e6302a620dde391c21a5 [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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+86f78589b09557f70c9db3f56ad1921e0a9f76ef" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ce803e61713ff00d8a9c8bb6fd11414af8bf691dd985b528c4da7be03d38da71 [INFO] running `Command { std: "docker" "start" "-a" "ce803e61713ff00d8a9c8bb6fd11414af8bf691dd985b528c4da7be03d38da71", 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 byteorder v1.2.1 [INFO] [stderr] Checking slab v0.3.0 [INFO] [stderr] Checking lazycell v0.6.0 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Checking futures v0.1.17 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Checking log v0.4.1 [INFO] [stderr] Checking slab v0.4.0 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Checking scoped-tls v0.1.0 [INFO] [stderr] Checking serde v1.0.27 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Checking log v0.3.9 [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 mio-uds v0.6.4 [INFO] [stderr] Checking tokio-io v0.1.4 [INFO] [stderr] Compiling serde_derive_internals v0.19.0 [INFO] [stderr] Checking tokio-core v0.1.12 [INFO] [stderr] Compiling serde_derive v1.0.27 [INFO] [stderr] Checking tokio-signal v0.1.3 [INFO] [stderr] Checking tokio-process v0.1.5 [INFO] [stderr] Checking toml v0.4.5 [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)]` 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)]` 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)]` 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)]` 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)]` 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)]` 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)]` 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)]` 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.48s [INFO] running `Command { std: "docker" "inspect" "ce803e61713ff00d8a9c8bb6fd11414af8bf691dd985b528c4da7be03d38da71", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce803e61713ff00d8a9c8bb6fd11414af8bf691dd985b528c4da7be03d38da71", kill_on_drop: false }` [INFO] [stdout] ce803e61713ff00d8a9c8bb6fd11414af8bf691dd985b528c4da7be03d38da71