[INFO] cloning repository https://github.com/goby/rust-study
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/goby/rust-study" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgoby%2Frust-study", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgoby%2Frust-study'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] ed7f2d3593e24c9ea60624d3505ec7f85d7b05b2
[INFO] checking goby/rust-study against master#1b8f2e46e14b08208a53585570edd9206374aae8 for pr-155418-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgoby%2Frust-study" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/goby/rust-study
[INFO] finished tweaking git repo https://github.com/goby/rust-study
[INFO] tweaked toml for git repo https://github.com/goby/rust-study written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/goby/rust-study on toolchain 1b8f2e46e14b08208a53585570edd9206374aae8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1b8f2e46e14b08208a53585570edd9206374aae8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/goby/rust-study 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" "+1b8f2e46e14b08208a53585570edd9206374aae8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` 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 rustc_version v0.1.7
[INFO] [stderr]   Downloaded cfg-if v0.1.0
[INFO] [stderr]   Downloaded miow v0.1.3
[INFO] [stderr]   Downloaded libc v0.2.16
[INFO] [stderr]   Downloaded net2 v0.2.26
[INFO] [stderr]   Downloaded rand v0.3.14
[INFO] [stderr]   Downloaded void v1.0.2
[INFO] [stderr]   Downloaded nix v0.6.0
[INFO] [stderr]   Downloaded mio v0.6.0
[INFO] [stderr]   Downloaded ws2_32-sys v0.2.1
[INFO] [stderr]   Downloaded slab v0.3.0
[INFO] [stderr]   Downloaded kernel32-sys v0.2.2
[INFO] [stderr]   Downloaded log v0.3.6
[INFO] [stderr]   Downloaded winapi-build v0.1.1
[INFO] [stderr]   Downloaded bitflags v0.4.0
[INFO] [stderr]   Downloaded winapi v0.2.8
[INFO] [stderr]   Downloaded lazycell v0.4.0
[INFO] [stderr]   Downloaded semver v0.1.20
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1b8f2e46e14b08208a53585570edd9206374aae8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 5cac6bda9d3015eec9e7b090275c318bd36db156afdba81b4b8762f6d20d5d43
[INFO] running `Command { std: "docker" "start" "-a" "5cac6bda9d3015eec9e7b090275c318bd36db156afdba81b4b8762f6d20d5d43", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5cac6bda9d3015eec9e7b090275c318bd36db156afdba81b4b8762f6d20d5d43", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5cac6bda9d3015eec9e7b090275c318bd36db156afdba81b4b8762f6d20d5d43", kill_on_drop: false }`
[INFO] [stdout] 5cac6bda9d3015eec9e7b090275c318bd36db156afdba81b4b8762f6d20d5d43
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1b8f2e46e14b08208a53585570edd9206374aae8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d1a2aae3e2ae06d4de47169fb859cd223621db593337f0485a46f08d01e1cdcd
[INFO] running `Command { std: "docker" "start" "-a" "d1a2aae3e2ae06d4de47169fb859cd223621db593337f0485a46f08d01e1cdcd", kill_on_drop: false }`
[INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr]    Compiling semver v0.1.20
[INFO] [stderr]     Checking libc v0.2.16
[INFO] [stderr]     Checking cfg-if v0.1.0
[INFO] [stderr]     Checking void v1.0.2
[INFO] [stderr]     Checking bitflags v0.4.0
[INFO] [stderr]     Checking lazycell v0.4.0
[INFO] [stderr]     Checking slab v0.3.0
[INFO] [stderr]     Checking log v0.3.6
[INFO] [stderr]    Compiling rustc_version v0.1.7
[INFO] [stderr]     Checking net2 v0.2.26
[INFO] [stderr]     Checking rand v0.3.14
[INFO] [stderr]    Compiling nix v0.6.0
[INFO] [stderr]     Checking mio v0.6.0
[INFO] [stderr]     Checking guessing v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition
[INFO] [stdout]   --> src/structs.rs:72:24
[INFO] [stdout]    |
[INFO] [stdout] 72 |     fn has_edge(&self, &Self::Node, &Self::Node) -> bool;
[INFO] [stdout]    |                        ^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Self::Node`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2018/trait-fn-parameters.html>
[INFO] [stdout]    = note: `#[warn(anonymous_parameters)]` (part of `#[warn(rust_2018_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition
[INFO] [stdout]   --> src/structs.rs:72:37
[INFO] [stdout]    |
[INFO] [stdout] 72 |     fn has_edge(&self, &Self::Node, &Self::Node) -> bool;
[INFO] [stdout]    |                                     ^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Self::Node`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2018/trait-fn-parameters.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition
[INFO] [stdout]   --> src/structs.rs:73:21
[INFO] [stdout]    |
[INFO] [stdout] 73 |     fn edges(&self, &Self::Node) -> Vec<Self::Edge>;
[INFO] [stdout]    |                     ^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Self::Node`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2018/trait-fn-parameters.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]   --> src/macros.rs:62:43
[INFO] [stdout]    |
[INFO] [stdout] 62 |         fn x() { println!("x() outbound")};
[INFO] [stdout]    |                                           ^ help: remove this semicolon
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(redundant_semicolons)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]    --> src/macros.rs:115:18
[INFO] [stdout]     |
[INFO] [stdout] 115 |             $($x);*;
[INFO] [stdout]     |                  ^ help: remove this semicolon
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]    --> src/macros.rs:115:20
[INFO] [stdout]     |
[INFO] [stdout] 115 |             $($x);*;
[INFO] [stdout]     |                    ^
[INFO] [stdout] ...
[INFO] [stdout] 122 |     m_stmt!(let haha = 3, let _ = 33);
[INFO] [stdout]     |     --------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `m_stmt` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused macro definition: `concurrency`
[INFO] [stdout]  --> src/concurrency.rs:2:14
[INFO] [stdout]   |
[INFO] [stdout] 2 | macro_rules! concurrency {
[INFO] [stdout]   |              ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_macros)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/traits.rs:75:25
[INFO] [stdout]    |
[INFO] [stdout] 75 | fn dynamic_dispatch(t: &FormatString) {
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[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] 75 | fn dynamic_dispatch(t: &dyn FormatString) {
[INFO] [stdout]    |                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `n1`
[INFO] [stdout]   --> src/structs.rs:86:24
[INFO] [stdout]    |
[INFO] [stdout] 86 |     fn has_edge(&self, n1: &Node, n2: &Node) -> bool {
[INFO] [stdout]    |                        ^^ help: if this is intentional, prefix it with an underscore: `_n1`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `n2`
[INFO] [stdout]   --> src/structs.rs:86:35
[INFO] [stdout]    |
[INFO] [stdout] 86 |     fn has_edge(&self, n1: &Node, n2: &Node) -> bool {
[INFO] [stdout]    |                                   ^^ help: if this is intentional, prefix it with an underscore: `_n2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `node`
[INFO] [stdout]   --> src/structs.rs:90:21
[INFO] [stdout]    |
[INFO] [stdout] 90 |     fn edges(&self, node: &Node) -> Vec<Edge> {
[INFO] [stdout]    |                     ^^^^ help: if this is intentional, prefix it with an underscore: `_node`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `x` and `y` are never read
[INFO] [stdout]   --> src/structs.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub struct PointRef<'a> {
[INFO] [stdout]    |            -------- fields in this struct
[INFO] [stdout] 27 |     x: &'a mut i32,
[INFO] [stdout]    |     ^
[INFO] [stdout] 28 |     y: &'a mut i32,
[INFO] [stdout]    |     ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `start` and `end` are never read
[INFO] [stdout]   --> src/structs.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub struct Line<T> {
[INFO] [stdout]    |            ---- fields in this struct
[INFO] [stdout] 32 |     start: Point<T>,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 33 |     end: Point<T>,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `x`, `y`, and `z` are never read
[INFO] [stdout]   --> src/structs.rs:38:5
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub struct Point3d {
[INFO] [stdout]    |            ------- fields in this struct
[INFO] [stdout] 38 |     x: i32,
[INFO] [stdout]    |     ^
[INFO] [stdout] 39 |     y: i32,
[INFO] [stdout]    |     ^
[INFO] [stdout] 40 |     z: i32,
[INFO] [stdout]    |     ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Point3d` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `x`, `y`, and `z` are never read
[INFO] [stdout]   --> src/structs.rs:44:5
[INFO] [stdout]    |
[INFO] [stdout] 43 | pub struct Point3dRef<'a> {
[INFO] [stdout]    |            ---------- fields in this struct
[INFO] [stdout] 44 |     x: &'a mut i32,
[INFO] [stdout]    |     ^
[INFO] [stdout] 45 |     y: &'a mut i32,
[INFO] [stdout]    |     ^
[INFO] [stdout] 46 |     z: &'a mut i32,
[INFO] [stdout]    |     ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/structs.rs:49:18
[INFO] [stdout]    |
[INFO] [stdout] 49 | pub struct Coord(i32);
[INFO] [stdout]    |            ----- ^^^
[INFO] [stdout]    |            |
[INFO] [stdout]    |            field in this struct
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider removing this field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Message` is never used
[INFO] [stdout]   --> src/structs.rs:52:6
[INFO] [stdout]    |
[INFO] [stdout] 52 | enum Message {
[INFO] [stdout]    |      ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `x`, `y`, and `radius` are never read
[INFO] [stdout]   --> src/structs.rs:61:5
[INFO] [stdout]    |
[INFO] [stdout] 60 | pub struct Circle {
[INFO] [stdout]    |            ------ fields in this struct
[INFO] [stdout] 61 |     x: f64,
[INFO] [stdout]    |     ^
[INFO] [stdout] 62 |     y: f64,
[INFO] [stdout]    |     ^
[INFO] [stdout] 63 |     radius: f64
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Circle` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `centor` is never read
[INFO] [stdout]    --> src/structs.rs:100:5
[INFO] [stdout]     |
[INFO] [stdout]  99 | pub struct Square<T> {
[INFO] [stdout]     |            ------ field in this struct
[INFO] [stdout] 100 |     centor: Point<T>,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `area` and `grow` are never used
[INFO] [stdout]    --> src/structs.rs:112:8
[INFO] [stdout]     |
[INFO] [stdout] 111 | impl Circle {
[INFO] [stdout]     | ----------- methods in this implementation
[INFO] [stdout] 112 |     fn area(&self) -> f64 {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 116 |     fn grow(&self, increment: f64) -> Circle {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `ConvertTo` is never used
[INFO] [stdout]  --> src/traits.rs:2:7
[INFO] [stdout]   |
[INFO] [stdout] 2 | trait ConvertTo<Output> {
[INFO] [stdout]   |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `normal` is never used
[INFO] [stdout]   --> src/traits.rs:10:4
[INFO] [stdout]    |
[INFO] [stdout] 10 | fn normal<T: ConvertTo<i64>>(x: &T) -> i64 {
[INFO] [stdout]    |    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `inverse` is never used
[INFO] [stdout]   --> src/traits.rs:14:4
[INFO] [stdout]    |
[INFO] [stdout] 14 | fn inverse<T>() -> T
[INFO] [stdout]    |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Validate` is never used
[INFO] [stdout]   --> src/traits.rs:20:7
[INFO] [stdout]    |
[INFO] [stdout] 20 | trait Validate {
[INFO] [stdout]    |       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `UseDefault` is never constructed
[INFO] [stdout]   --> src/traits.rs:28:8
[INFO] [stdout]    |
[INFO] [stdout] 28 | struct UseDefault;
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `OverrideDefault` is never constructed
[INFO] [stdout]   --> src/traits.rs:29:8
[INFO] [stdout]    |
[INFO] [stdout] 29 | struct OverrideDefault;
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `HasDrop` is never constructed
[INFO] [stdout]   --> src/traits.rs:46:8
[INFO] [stdout]    |
[INFO] [stdout] 46 | struct HasDrop {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `FormatString` is never used
[INFO] [stdout]   --> src/traits.rs:57:7
[INFO] [stdout]    |
[INFO] [stdout] 57 | trait FormatString {
[INFO] [stdout]    |       ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `static_dispatch` is never used
[INFO] [stdout]   --> src/traits.rs:70:4
[INFO] [stdout]    |
[INFO] [stdout] 70 | fn static_dispatch<T: FormatString>(t: &T) {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `dynamic_dispatch` is never used
[INFO] [stdout]   --> src/traits.rs:75:4
[INFO] [stdout]    |
[INFO] [stdout] 75 | fn dynamic_dispatch(t: &FormatString) {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `object_safe` is never used
[INFO] [stdout]   --> src/traits.rs:79:4
[INFO] [stdout]    |
[INFO] [stdout] 79 | fn object_safe() {
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `trait_with_same_function` is never used
[INFO] [stdout]   --> src/traits.rs:87:4
[INFO] [stdout]    |
[INFO] [stdout] 87 | fn trait_with_same_function() {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `trait_with_as_form` is never used
[INFO] [stdout]    --> src/traits.rs:113:4
[INFO] [stdout]     |
[INFO] [stdout] 113 | fn trait_with_as_form() {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `f` is never used
[INFO] [stdout]    --> src/traits.rs:117:19
[INFO] [stdout]     |
[INFO] [stdout] 117 |     impl Bar { fn f(&self) { println!("bar.f(): Impl without trait"); }}
[INFO] [stdout]     |     --------      ^
[INFO] [stdout]     |     |
[INFO] [stdout]     |     method in this implementation
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_move` is never used
[INFO] [stdout]  --> src/lifetimes.rs:2:4
[INFO] [stdout]   |
[INFO] [stdout] 2 | fn test_move() {
[INFO] [stdout]   |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_ownership` is never used
[INFO] [stdout]   --> src/lifetimes.rs:14:4
[INFO] [stdout]    |
[INFO] [stdout] 14 | fn test_ownership() {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_lifetime` is never used
[INFO] [stdout]   --> src/lifetimes.rs:35:4
[INFO] [stdout]    |
[INFO] [stdout] 35 | fn test_lifetime() {
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `x` is never used
[INFO] [stdout]   --> src/lifetimes.rs:41:12
[INFO] [stdout]    |
[INFO] [stdout] 40 |     impl<'a> Foo<'a> {
[INFO] [stdout]    |     ---------------- method in this implementation
[INFO] [stdout] 41 |         fn x(&self) -> &'a i32 {self.x}
[INFO] [stdout]    |            ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_elided_lifetime` is never used
[INFO] [stdout]   --> src/lifetimes.rs:61:4
[INFO] [stdout]    |
[INFO] [stdout] 61 | fn test_elided_lifetime() {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition
[INFO] [stdout]   --> src/structs.rs:72:24
[INFO] [stdout]    |
[INFO] [stdout] 72 |     fn has_edge(&self, &Self::Node, &Self::Node) -> bool;
[INFO] [stdout]    |                        ^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Self::Node`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2018/trait-fn-parameters.html>
[INFO] [stdout]    = note: `#[warn(anonymous_parameters)]` (part of `#[warn(rust_2018_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition
[INFO] [stdout]   --> src/structs.rs:72:37
[INFO] [stdout]    |
[INFO] [stdout] 72 |     fn has_edge(&self, &Self::Node, &Self::Node) -> bool;
[INFO] [stdout]    |                                     ^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Self::Node`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2018/trait-fn-parameters.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition
[INFO] [stdout]   --> src/structs.rs:73:21
[INFO] [stdout]    |
[INFO] [stdout] 73 |     fn edges(&self, &Self::Node) -> Vec<Self::Edge>;
[INFO] [stdout]    |                     ^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Self::Node`
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2018/trait-fn-parameters.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]   --> src/macros.rs:62:43
[INFO] [stdout]    |
[INFO] [stdout] 62 |         fn x() { println!("x() outbound")};
[INFO] [stdout]    |                                           ^ help: remove this semicolon
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(redundant_semicolons)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]    --> src/macros.rs:115:18
[INFO] [stdout]     |
[INFO] [stdout] 115 |             $($x);*;
[INFO] [stdout]     |                  ^ help: remove this semicolon
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]    --> src/macros.rs:115:20
[INFO] [stdout]     |
[INFO] [stdout] 115 |             $($x);*;
[INFO] [stdout]     |                    ^
[INFO] [stdout] ...
[INFO] [stdout] 122 |     m_stmt!(let haha = 3, let _ = 33);
[INFO] [stdout]     |     --------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `m_stmt` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: the extern "rust-call" ABI is experimental and subject to change
[INFO] [stdout]   --> src/closures.rs:22:20
[INFO] [stdout]    |
[INFO] [stdout] 22 |             extern "rust-call" fn call(&self, args: Args) -> Self::Output;
[INFO] [stdout]    |                    ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: see issue #29625 <https://github.com/rust-lang/rust/issues/29625> for more information
[INFO] [stdout]    = help: add `#![feature(unboxed_closures)]` to the crate attributes to enable
[INFO] [stdout]    = note: this compiler was built on 2026-04-17; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: the extern "rust-call" ABI is experimental and subject to change
[INFO] [stdout]   --> src/closures.rs:26:20
[INFO] [stdout]    |
[INFO] [stdout] 26 |             extern "rust-call" fn call(&mut self, args: Args) -> Self::Output;
[INFO] [stdout]    |                    ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: see issue #29625 <https://github.com/rust-lang/rust/issues/29625> for more information
[INFO] [stdout]    = help: add `#![feature(unboxed_closures)]` to the crate attributes to enable
[INFO] [stdout]    = note: this compiler was built on 2026-04-17; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: the extern "rust-call" ABI is experimental and subject to change
[INFO] [stdout]   --> src/closures.rs:32:20
[INFO] [stdout]    |
[INFO] [stdout] 32 |             extern "rust-call" fn call(self, args: Args) -> Self::Output;
[INFO] [stdout]    |                    ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: see issue #29625 <https://github.com/rust-lang/rust/issues/29625> for more information
[INFO] [stdout]    = help: add `#![feature(unboxed_closures)]` to the crate attributes to enable
[INFO] [stdout]    = note: this compiler was built on 2026-04-17; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/traits.rs:75:25
[INFO] [stdout]    |
[INFO] [stdout] 75 | fn dynamic_dispatch(t: &FormatString) {
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[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] 75 | fn dynamic_dispatch(t: &dyn FormatString) {
[INFO] [stdout]    |                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/closures.rs:10:49
[INFO] [stdout]    |
[INFO] [stdout] 10 |     pub fn test_return_closure(num: i32) -> Box<Fn(i32) -> i32> {
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 10 |     pub fn test_return_closure(num: i32) -> Box<dyn Fn(i32) -> i32> {
[INFO] [stdout]    |                                                 +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/closures.rs:49:36
[INFO] [stdout]    |
[INFO] [stdout] 49 |         fn call_with_two(closure: &Fn(i32) -> i32) -> i32 {
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 49 |         fn call_with_two(closure: &dyn Fn(i32) -> i32) -> i32 {
[INFO] [stdout]    |                                    +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: functions with the "rust-call" ABI must take a single non-self tuple argument
[INFO] [stdout]   --> src/closures.rs:22:13
[INFO] [stdout]    |
[INFO] [stdout] 22 |             extern "rust-call" fn call(&self, args: Args) -> Self::Output;
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the nightly-only, unstable trait `std::marker::Tuple` is not implemented for `Args`
[INFO] [stdout]    |
[INFO] [stdout] help: consider restricting type parameter `Args` with unstable trait `Tuple`
[INFO] [stdout]    |
[INFO] [stdout] 21 |         trait Fn<Args: std::marker::Tuple>: FnMut<Args> {
[INFO] [stdout]    |                      ++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: functions with the "rust-call" ABI must take a single non-self tuple argument
[INFO] [stdout]   --> src/closures.rs:26:13
[INFO] [stdout]    |
[INFO] [stdout] 26 |             extern "rust-call" fn call(&mut self, args: Args) -> Self::Output;
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the nightly-only, unstable trait `std::marker::Tuple` is not implemented for `Args`
[INFO] [stdout]    |
[INFO] [stdout] help: consider restricting type parameter `Args` with unstable trait `Tuple`
[INFO] [stdout]    |
[INFO] [stdout] 25 |         trait FnMut<Args: std::marker::Tuple>: FnOnce<Args> {
[INFO] [stdout]    |                         ++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: functions with the "rust-call" ABI must take a single non-self tuple argument
[INFO] [stdout]   --> src/closures.rs:32:13
[INFO] [stdout]    |
[INFO] [stdout] 32 |             extern "rust-call" fn call(self, args: Args) -> Self::Output;
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the nightly-only, unstable trait `std::marker::Tuple` is not implemented for `Args`
[INFO] [stdout]    |
[INFO] [stdout] help: consider restricting type parameter `Args` with unstable trait `Tuple`
[INFO] [stdout]    |
[INFO] [stdout] 29 |         trait FnOnce<Args: std::marker::Tuple> {
[INFO] [stdout]    |                          ++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/structs.rs:136:38
[INFO] [stdout]     |
[INFO] [stdout] 136 |         let obj = Box::new(g) as Box<Graph<Node=Node, Edge = Edge>>;
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 136 |         let obj = Box::new(g) as Box<dyn Graph<Node=Node, Edge = Edge>>;
[INFO] [stdout]     |                                      +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/traits.rs:150:29
[INFO] [stdout]     |
[INFO] [stdout] 150 |     dynamic_dispatch(&x as &FormatString);
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 150 |     dynamic_dispatch(&x as &dyn FormatString);
[INFO] [stdout]     |                             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/traits.rs:151:29
[INFO] [stdout]     |
[INFO] [stdout] 151 |     dynamic_dispatch(&y as &FormatString);
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 151 |     dynamic_dispatch(&y as &dyn FormatString);
[INFO] [stdout]     |                             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `n1`
[INFO] [stdout]   --> src/structs.rs:86:24
[INFO] [stdout]    |
[INFO] [stdout] 86 |     fn has_edge(&self, n1: &Node, n2: &Node) -> bool {
[INFO] [stdout]    |                        ^^ help: if this is intentional, prefix it with an underscore: `_n1`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `n2`
[INFO] [stdout]   --> src/structs.rs:86:35
[INFO] [stdout]    |
[INFO] [stdout] 86 |     fn has_edge(&self, n1: &Node, n2: &Node) -> bool {
[INFO] [stdout]    |                                   ^^ help: if this is intentional, prefix it with an underscore: `_n2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `node`
[INFO] [stdout]   --> src/structs.rs:90:21
[INFO] [stdout]    |
[INFO] [stdout] 90 |     fn edges(&self, node: &Node) -> Vec<Edge> {
[INFO] [stdout]    |                     ^^^^ help: if this is intentional, prefix it with an underscore: `_node`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `obj`
[INFO] [stdout]    --> src/structs.rs:136:13
[INFO] [stdout]     |
[INFO] [stdout] 136 |         let obj = Box::new(g) as Box<Graph<Node=Node, Edge = Edge>>;
[INFO] [stdout]     |             ^^^ help: if this is intentional, prefix it with an underscore: `_obj`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary transmute
[INFO] [stdout]    --> src/main.rs:123:17
[INFO] [stdout]     |
[INFO] [stdout] 123 |         let b = std::mem::transmute::<[u8; 4], u32>(a);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order
[INFO] [stdout]     = note: `#[warn(unnecessary_transmutes)]` on by default
[INFO] [stdout] help: replace this with
[INFO] [stdout]     |
[INFO] [stdout] 123 -         let b = std::mem::transmute::<[u8; 4], u32>(a);
[INFO] [stdout] 123 +         let b = u32::from_ne_bytes(a);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `guessing` (lib test) due to 6 previous errors; 18 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: value captured by `num` is never read
[INFO] [stdout]   --> src/closures.rs:73:49
[INFO] [stdout]    |
[INFO] [stdout] 73 |                 let mut add_num = move |x: i32| num += x;
[INFO] [stdout]    |                                                 ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: did you mean to capture by reference instead?
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `num` is never read
[INFO] [stdout]   --> src/closures.rs:73:49
[INFO] [stdout]    |
[INFO] [stdout] 73 |                 let mut add_num = move |x: i32| num += x;
[INFO] [stdout]    |                                                 ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0658.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary transmute
[INFO] [stdout]    --> src/main.rs:123:17
[INFO] [stdout]     |
[INFO] [stdout] 123 |         let b = std::mem::transmute::<[u8; 4], u32>(a);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order
[INFO] [stdout]     = note: `#[warn(unnecessary_transmutes)]` on by default
[INFO] [stdout] help: replace this with
[INFO] [stdout]     |
[INFO] [stdout] 123 -         let b = std::mem::transmute::<[u8; 4], u32>(a);
[INFO] [stdout] 123 +         let b = u32::from_ne_bytes(a);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "d1a2aae3e2ae06d4de47169fb859cd223621db593337f0485a46f08d01e1cdcd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d1a2aae3e2ae06d4de47169fb859cd223621db593337f0485a46f08d01e1cdcd", kill_on_drop: false }`
[INFO] [stdout] d1a2aae3e2ae06d4de47169fb859cd223621db593337f0485a46f08d01e1cdcd
