[INFO] cloning repository https://github.com/xudifsd/hello_rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/xudifsd/hello_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxudifsd%2Fhello_rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxudifsd%2Fhello_rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] d1c4fcff6c7f1c77bde570e02c1c576e424011e9
[INFO] checking xudifsd/hello_rust/d1c4fcff6c7f1c77bde570e02c1c576e424011e9 against eff8269f797067c30555e77f160ec84c0ed15cd9 for pr-159356
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxudifsd%2Fhello_rust" "/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/xudifsd/hello_rust
[INFO] finished tweaking git repo https://github.com/xudifsd/hello_rust
[INFO] tweaked toml for git repo https://github.com/xudifsd/hello_rust written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/xudifsd/hello_rust on toolchain eff8269f797067c30555e77f160ec84c0ed15cd9
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+eff8269f797067c30555e77f160ec84c0ed15cd9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/xudifsd/hello_rust 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" "+eff8269f797067c30555e77f160ec84c0ed15cd9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `hello_rust` (manifest) generated 1 warning
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:00c5645b54fe3ce5dae1417175e3c7fb6a6646c021d554ecd63a097b8b9f3602" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 8d2ceebc6f185789489a2083d4b22b7863dc5d10b894528177cba805259d481b
[INFO] running `Command { std: "docker" "start" "8d2ceebc6f185789489a2083d4b22b7863dc5d10b894528177cba805259d481b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8d2ceebc6f185789489a2083d4b22b7863dc5d10b894528177cba805259d481b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "8d2ceebc6f185789489a2083d4b22b7863dc5d10b894528177cba805259d481b" "/opt/rustwide/cargo-home/bin/cargo" "+eff8269f797067c30555e77f160ec84c0ed15cd9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8d2ceebc6f185789489a2083d4b22b7863dc5d10b894528177cba805259d481b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "8d2ceebc6f185789489a2083d4b22b7863dc5d10b894528177cba805259d481b" "/opt/rustwide/cargo-home/bin/cargo" "+eff8269f797067c30555e77f160ec84c0ed15cd9" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `hello_rust` (manifest) generated 1 warning
[INFO] [stderr]     Checking hello_rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `tree`
[INFO] [stdout]   --> src/tree.rs:80:9
[INFO] [stdout]    |
[INFO] [stdout] 80 |     use tree::Tree;
[INFO] [stdout]    |         ^^^^ use of unresolved module or unlinked crate `tree`
[INFO] [stdout]    |
[INFO] [stdout] help: if you wanted to use a crate named `tree`, use `cargo add tree` to add it to your `Cargo.toml` and import it in your code
[INFO] [stdout]    |
[INFO] [stdout]  1 + extern crate tree;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused macro definition: `assert_some_and_eq`
[INFO] [stdout]    --> src/main.rs:232:14
[INFO] [stdout]     |
[INFO] [stdout] 232 | macro_rules! assert_some_and_eq {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_macros)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rc2`
[INFO] [stdout]    --> src/main.rs:288:17
[INFO] [stdout]     |
[INFO] [stdout] 288 |             let rc2 = rc1.clone();
[INFO] [stdout]     |                 ^^^ help: if this is intentional, prefix it with an underscore: `_rc2`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Node` is never constructed
[INFO] [stdout]   --> src/main.rs:11:8
[INFO] [stdout]    |
[INFO] [stdout] 11 | struct Node<'a, T> where T: 'a {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `insert` are never used
[INFO] [stdout]   --> src/main.rs:18:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | impl<'a, T> Node<'a, T> where T: PartialOrd {
[INFO] [stdout]    | ------------------------------------------- associated items in this implementation
[INFO] [stdout] 18 |     pub fn new(val: &'a T) -> Node<'a, T> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 21 |     pub fn insert(&mut self, val: &'a T) {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `HasArea` is never used
[INFO] [stdout]   --> src/main.rs:49:7
[INFO] [stdout]    |
[INFO] [stdout] 49 | trait HasArea {
[INFO] [stdout]    |       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Circle` is never constructed
[INFO] [stdout]   --> src/main.rs:53:8
[INFO] [stdout]    |
[INFO] [stdout] 53 | struct Circle {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Square` is never constructed
[INFO] [stdout]   --> src/main.rs:63:8
[INFO] [stdout]    |
[INFO] [stdout] 63 | struct Square {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_area` is never used
[INFO] [stdout]   --> src/main.rs:73:4
[INFO] [stdout]    |
[INFO] [stdout] 73 | fn get_area<T>(t: T) -> f64 where T: HasArea {
[INFO] [stdout]    |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Point` is never constructed
[INFO] [stdout]   --> src/main.rs:87:8
[INFO] [stdout]    |
[INFO] [stdout] 87 | struct Point<T> {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ListNode` is never constructed
[INFO] [stdout]    --> src/main.rs:109:8
[INFO] [stdout]     |
[INFO] [stdout] 109 | struct ListNode<'a, T> where T: PartialOrd + 'a {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `List` is never constructed
[INFO] [stdout]    --> src/main.rs:114:8
[INFO] [stdout]     |
[INFO] [stdout] 114 | struct List<'a, T> where T: PartialOrd + 'a {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `insert`, `pop`, and `reverse` are never used
[INFO] [stdout]    --> src/main.rs:119:8
[INFO] [stdout]     |
[INFO] [stdout] 118 | impl<'a, T> List<'a, T> where T: PartialOrd + 'a {
[INFO] [stdout]     | ------------------------------------------------ associated items in this implementation
[INFO] [stdout] 119 |     fn new() -> List<'a, T> {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 122 |     fn insert(&mut self, val: &'a T) {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 127 |     fn pop(&mut self) -> Option<&'a T> {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 139 |     fn reverse(mut self) -> List<'a, T> {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `StackFrame` is never constructed
[INFO] [stdout]    --> src/main.rs:200:8
[INFO] [stdout]     |
[INFO] [stdout] 200 | struct StackFrame<T> {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Stack` is never constructed
[INFO] [stdout]    --> src/main.rs:205:8
[INFO] [stdout]     |
[INFO] [stdout] 205 | struct Stack<T> {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `push`, and `pop` are never used
[INFO] [stdout]    --> src/main.rs:213:8
[INFO] [stdout]     |
[INFO] [stdout] 212 | impl<T> Stack<T> where T: Copy {
[INFO] [stdout]     | ------------------------------ associated items in this implementation
[INFO] [stdout] 213 |     fn new() -> Stack<T> {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 216 |     fn push(&mut self, val: T) {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 220 |     fn pop(&mut self) -> Option<T> {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `NotCopy` is never constructed
[INFO] [stdout]    --> src/main.rs:256:8
[INFO] [stdout]     |
[INFO] [stdout] 256 | struct NotCopy {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Owner` is never constructed
[INFO] [stdout]    --> src/main.rs:260:8
[INFO] [stdout]     |
[INFO] [stdout] 260 | struct Owner {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `val` is never read
[INFO] [stdout]    --> src/main.rs:274:5
[INFO] [stdout]     |
[INFO] [stdout] 273 | struct Foo {
[INFO] [stdout]     |        --- field in this struct
[INFO] [stdout] 274 |     val: i32,
[INFO] [stdout]     |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `hello_rust` (lib test) due to 1 previous error
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unused variable: `rc2`
[INFO] [stdout]    --> src/main.rs:288:17
[INFO] [stdout]     |
[INFO] [stdout] 288 |             let rc2 = rc1.clone();
[INFO] [stdout]     |                 ^^^ help: if this is intentional, prefix it with an underscore: `_rc2`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `val` is never read
[INFO] [stdout]    --> src/main.rs:274:5
[INFO] [stdout]     |
[INFO] [stdout] 273 | struct Foo {
[INFO] [stdout]     |        --- field in this struct
[INFO] [stdout] 274 |     val: i32,
[INFO] [stdout]     |     ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "8d2ceebc6f185789489a2083d4b22b7863dc5d10b894528177cba805259d481b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8d2ceebc6f185789489a2083d4b22b7863dc5d10b894528177cba805259d481b", kill_on_drop: false }`
[INFO] [stdout] 8d2ceebc6f185789489a2083d4b22b7863dc5d10b894528177cba805259d481b
