[INFO] cloning repository https://github.com/AcidBurnHen/learning_rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AcidBurnHen/learning_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAcidBurnHen%2Flearning_rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAcidBurnHen%2Flearning_rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 3802dddcbe6e2a93cccab357927a6ca742ecf08f
[INFO] checking AcidBurnHen/learning_rust against master#46424fb5054f211ec836c5c03159f92e46bb35ac for pr-139042
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAcidBurnHen%2Flearning_rust" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/AcidBurnHen/learning_rust on toolchain 46424fb5054f211ec836c5c03159f92e46bb35ac
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+46424fb5054f211ec836c5c03159f92e46bb35ac" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/AcidBurnHen/learning_rust
[INFO] finished tweaking git repo https://github.com/AcidBurnHen/learning_rust
[INFO] tweaked toml for git repo https://github.com/AcidBurnHen/learning_rust written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/AcidBurnHen/learning_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" "+46424fb5054f211ec836c5c03159f92e46bb35ac" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded array_tool v1.0.3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+46424fb5054f211ec836c5c03159f92e46bb35ac" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 72e57e58fce049e6471e902959ecba7d6a1f65ca412c1a292edb1f49c884b6ed
[INFO] running `Command { std: "docker" "start" "-a" "72e57e58fce049e6471e902959ecba7d6a1f65ca412c1a292edb1f49c884b6ed", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "72e57e58fce049e6471e902959ecba7d6a1f65ca412c1a292edb1f49c884b6ed", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "72e57e58fce049e6471e902959ecba7d6a1f65ca412c1a292edb1f49c884b6ed", kill_on_drop: false }`
[INFO] [stdout] 72e57e58fce049e6471e902959ecba7d6a1f65ca412c1a292edb1f49c884b6ed
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+46424fb5054f211ec836c5c03159f92e46bb35ac" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 505eb67083454bb5c77dae3281315629d370999eeea334c981dd330e6c0fdb09
[INFO] running `Command { std: "docker" "start" "-a" "505eb67083454bb5c77dae3281315629d370999eeea334c981dd330e6c0fdb09", kill_on_drop: false }`
[INFO] [stderr]     Checking array_tool v1.0.3
[INFO] [stderr]     Checking main_test_123 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: type `pointer` should have an upper camel case name
[INFO] [stdout]   --> src/lib.rs:14:6
[INFO] [stdout]    |
[INFO] [stdout] 14 | type pointer = Option<Box<Node>>;
[INFO] [stdout]    |      ^^^^^^^ help: convert the identifier to upper camel case: `Pointer`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_camel_case_types)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `pointer` should have an upper camel case name
[INFO] [stdout]   --> src/lib.rs:14:6
[INFO] [stdout]    |
[INFO] [stdout] 14 | type pointer = Option<Box<Node>>;
[INFO] [stdout]    |      ^^^^^^^ help: convert the identifier to upper camel case: `Pointer`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_camel_case_types)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `list`
[INFO] [stdout]   --> src/lib.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 17 |     let list = Node {
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_list`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `list`
[INFO] [stdout]   --> src/lib.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 17 |     let list = Node {
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_list`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `list2`
[INFO] [stdout]   --> src/lib.rs:22:9
[INFO] [stdout]    |
[INFO] [stdout] 22 |     let list2 = Node {
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_list2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `list2`
[INFO] [stdout]   --> src/lib.rs:22:9
[INFO] [stdout]    |
[INFO] [stdout] 22 |     let list2 = Node {
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_list2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `LinkList` is never constructed
[INFO] [stdout]  --> src/lib.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 | struct LinkList {
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Node` is never constructed
[INFO] [stdout]  --> src/lib.rs:9:8
[INFO] [stdout]   |
[INFO] [stdout] 9 | struct Node {
[INFO] [stdout]   |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `next` is never read
[INFO] [stdout]   --> src/lib.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 9  | struct Node {
[INFO] [stdout]    |        ---- field in this struct
[INFO] [stdout] 10 |     element: i32,
[INFO] [stdout] 11 |     next: pointer,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `pointer` is never used
[INFO] [stdout]   --> src/lib.rs:14:6
[INFO] [stdout]    |
[INFO] [stdout] 14 | type pointer = Option<Box<Node>>;
[INFO] [stdout]    |      ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]   --> src/lib.rs:16:4
[INFO] [stdout]    |
[INFO] [stdout] 16 | fn main() {
[INFO] [stdout]    |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Ref`
[INFO] [stdout]  --> src/main.rs:7:17
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::cell::{Ref, RefCell};
[INFO] [stdout]   |                 ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Ref`
[INFO] [stdout]  --> src/main.rs:7:17
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::cell::{Ref, RefCell};
[INFO] [stdout]   |                 ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:26:20
[INFO] [stdout]    |
[INFO] [stdout] 26 |         next: Some(Rc::clone(&a)),
[INFO] [stdout]    |               ---- ^^^^^^^^^^^^^ expected `Weak<RefCell<Node>>`, found `Rc<RefCell<Node>>`
[INFO] [stdout]    |               |
[INFO] [stdout]    |               arguments to this enum variant are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `std::rc::Weak<RefCell<Node>>`
[INFO] [stdout]               found struct `Rc<RefCell<Node>>`
[INFO] [stdout] help: the type constructed contains `Rc<RefCell<Node>>` due to the type of the argument passed
[INFO] [stdout]   --> src/main.rs:26:15
[INFO] [stdout]    |
[INFO] [stdout] 26 |         next: Some(Rc::clone(&a)),
[INFO] [stdout]    |               ^^^^^-------------^
[INFO] [stdout]    |                    |
[INFO] [stdout]    |                    this argument influences the type of `Some`
[INFO] [stdout] note: tuple variant defined here
[INFO] [stdout]   --> /rustc/46424fb5054f211ec836c5c03159f92e46bb35ac/library/core/src/option.rs:580:5
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:26:20
[INFO] [stdout]    |
[INFO] [stdout] 26 |         next: Some(Rc::clone(&a)),
[INFO] [stdout]    |               ---- ^^^^^^^^^^^^^ expected `Weak<RefCell<Node>>`, found `Rc<RefCell<Node>>`
[INFO] [stdout]    |               |
[INFO] [stdout]    |               arguments to this enum variant are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `std::rc::Weak<RefCell<Node>>`
[INFO] [stdout]               found struct `Rc<RefCell<Node>>`
[INFO] [stdout] help: the type constructed contains `Rc<RefCell<Node>>` due to the type of the argument passed
[INFO] [stdout]   --> src/main.rs:26:15
[INFO] [stdout]    |
[INFO] [stdout] 26 |         next: Some(Rc::clone(&a)),
[INFO] [stdout]    |               ^^^^^-------------^
[INFO] [stdout]    |                    |
[INFO] [stdout]    |                    this argument influences the type of `Some`
[INFO] [stdout] note: tuple variant defined here
[INFO] [stdout]   --> /rustc/46424fb5054f211ec836c5c03159f92e46bb35ac/library/core/src/option.rs:580:5
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:32:20
[INFO] [stdout]    |
[INFO] [stdout] 32 |         next: Some(Rc::clone(&b)),
[INFO] [stdout]    |               ---- ^^^^^^^^^^^^^ expected `Weak<RefCell<Node>>`, found `Rc<RefCell<Node>>`
[INFO] [stdout]    |               |
[INFO] [stdout]    |               arguments to this enum variant are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `std::rc::Weak<RefCell<Node>>`
[INFO] [stdout]               found struct `Rc<RefCell<Node>>`
[INFO] [stdout] help: the type constructed contains `Rc<RefCell<Node>>` due to the type of the argument passed
[INFO] [stdout]   --> src/main.rs:32:15
[INFO] [stdout]    |
[INFO] [stdout] 32 |         next: Some(Rc::clone(&b)),
[INFO] [stdout]    |               ^^^^^-------------^
[INFO] [stdout]    |                    |
[INFO] [stdout]    |                    this argument influences the type of `Some`
[INFO] [stdout] note: tuple variant defined here
[INFO] [stdout]   --> /rustc/46424fb5054f211ec836c5c03159f92e46bb35ac/library/core/src/option.rs:580:5
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:32:20
[INFO] [stdout]    |
[INFO] [stdout] 32 |         next: Some(Rc::clone(&b)),
[INFO] [stdout]    |               ---- ^^^^^^^^^^^^^ expected `Weak<RefCell<Node>>`, found `Rc<RefCell<Node>>`
[INFO] [stdout]    |               |
[INFO] [stdout]    |               arguments to this enum variant are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `std::rc::Weak<RefCell<Node>>`
[INFO] [stdout]               found struct `Rc<RefCell<Node>>`
[INFO] [stdout] help: the type constructed contains `Rc<RefCell<Node>>` due to the type of the argument passed
[INFO] [stdout]   --> src/main.rs:32:15
[INFO] [stdout]    |
[INFO] [stdout] 32 |         next: Some(Rc::clone(&b)),
[INFO] [stdout]    |               ^^^^^-------------^
[INFO] [stdout]    |                    |
[INFO] [stdout]    |                    this argument influences the type of `Some`
[INFO] [stdout] note: tuple variant defined here
[INFO] [stdout]   --> /rustc/46424fb5054f211ec836c5c03159f92e46bb35ac/library/core/src/option.rs:580:5
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:35:35
[INFO] [stdout]    |
[INFO] [stdout] 35 |     (*a).borrow_mut().next = Some(Rc::clone(&c));
[INFO] [stdout]    |                              ---- ^^^^^^^^^^^^^ expected `Weak<RefCell<Node>>`, found `Rc<RefCell<Node>>`
[INFO] [stdout]    |                              |
[INFO] [stdout]    |                              arguments to this enum variant are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `std::rc::Weak<RefCell<Node>>`
[INFO] [stdout]               found struct `Rc<RefCell<Node>>`
[INFO] [stdout] help: the type constructed contains `Rc<RefCell<Node>>` due to the type of the argument passed
[INFO] [stdout]   --> src/main.rs:35:30
[INFO] [stdout]    |
[INFO] [stdout] 35 |     (*a).borrow_mut().next = Some(Rc::clone(&c));
[INFO] [stdout]    |                              ^^^^^-------------^
[INFO] [stdout]    |                                   |
[INFO] [stdout]    |                                   this argument influences the type of `Some`
[INFO] [stdout] note: tuple variant defined here
[INFO] [stdout]   --> /rustc/46424fb5054f211ec836c5c03159f92e46bb35ac/library/core/src/option.rs:580:5
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:35:35
[INFO] [stdout]    |
[INFO] [stdout] 35 |     (*a).borrow_mut().next = Some(Rc::clone(&c));
[INFO] [stdout]    |                              ---- ^^^^^^^^^^^^^ expected `Weak<RefCell<Node>>`, found `Rc<RefCell<Node>>`
[INFO] [stdout]    |                              |
[INFO] [stdout]    |                              arguments to this enum variant are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `std::rc::Weak<RefCell<Node>>`
[INFO] [stdout]               found struct `Rc<RefCell<Node>>`
[INFO] [stdout] help: the type constructed contains `Rc<RefCell<Node>>` due to the type of the argument passed
[INFO] [stdout]   --> src/main.rs:35:30
[INFO] [stdout]    |
[INFO] [stdout] 35 |     (*a).borrow_mut().next = Some(Rc::clone(&c));
[INFO] [stdout]    |                              ^^^^^-------------^
[INFO] [stdout]    |                                   |
[INFO] [stdout]    |                                   this argument influences the type of `Some`
[INFO] [stdout] note: tuple variant defined here
[INFO] [stdout]   --> /rustc/46424fb5054f211ec836c5c03159f92e46bb35ac/library/core/src/option.rs:580:5
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `main_test_123` (bin "main_test_123") due to 3 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `main_test_123` (bin "main_test_123" test) due to 3 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "505eb67083454bb5c77dae3281315629d370999eeea334c981dd330e6c0fdb09", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "505eb67083454bb5c77dae3281315629d370999eeea334c981dd330e6c0fdb09", kill_on_drop: false }`
[INFO] [stdout] 505eb67083454bb5c77dae3281315629d370999eeea334c981dd330e6c0fdb09
