[INFO] cloning repository https://github.com/mrodda/trees [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mrodda/trees" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmrodda%2Ftrees", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmrodda%2Ftrees'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8f78d0f375e97422dbffe7ca2344e8dadb562de2 [INFO] testing mrodda/trees against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmrodda%2Ftrees" "/workspace/builds/worker-57/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-57/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mrodda/trees on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mrodda/trees [INFO] finished tweaking git repo https://github.com/mrodda/trees [INFO] tweaked toml for git repo https://github.com/mrodda/trees written to /workspace/builds/worker-57/source/Cargo.toml [INFO] crate git repo https://github.com/mrodda/trees already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded clap_derive v3.0.12 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-57/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-57/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 93864fba106ed955300628e188acf92f037ececd85f9cc8f08c5b52d5e5c5274 [INFO] running `Command { std: "docker" "start" "-a" "93864fba106ed955300628e188acf92f037ececd85f9cc8f08c5b52d5e5c5274", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "93864fba106ed955300628e188acf92f037ececd85f9cc8f08c5b52d5e5c5274", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "93864fba106ed955300628e188acf92f037ececd85f9cc8f08c5b52d5e5c5274", kill_on_drop: false }` [INFO] [stdout] 93864fba106ed955300628e188acf92f037ececd85f9cc8f08c5b52d5e5c5274 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-57/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-57/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a9582a79e2ec976a76bf00a380b12d631a1e9a98b7a0109b8237f4c972693232 [INFO] running `Command { std: "docker" "start" "-a" "a9582a79e2ec976a76bf00a380b12d631a1e9a98b7a0109b8237f4c972693232", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.116 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling textwrap v0.14.2 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling os_str_bytes v6.0.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap_derive v3.0.12 [INFO] [stderr] Compiling clap v3.0.13 [INFO] [stderr] Compiling trees v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0412]: cannot find type `RefCell` in this scope [INFO] [stdout] --> src/element.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | parent: RefCell>, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::cell::RefCell; [INFO] [stdout] | [INFO] [stdout] 1 | use std::cell::RefCell; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RefCell` in this scope [INFO] [stdout] --> src/element.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | me: RefCell>, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::cell::RefCell; [INFO] [stdout] | [INFO] [stdout] 1 | use std::cell::RefCell; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RefCell` [INFO] [stdout] --> src/element.rs:25:22 [INFO] [stdout] | [INFO] [stdout] 25 | let mut me = RefCell::new(Self { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::cell::RefCell; [INFO] [stdout] | [INFO] [stdout] 1 | use std::cell::RefCell; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RefCell` [INFO] [stdout] --> src/element.rs:43:21 [INFO] [stdout] | [INFO] [stdout] 43 | parent: RefCell::new(None), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use core::cell::RefCell; [INFO] [stdout] | [INFO] [stdout] 1 | use std::cell::RefCell; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RefCell` [INFO] [stdout] --> src/main.rs:104:37 [INFO] [stdout] | [INFO] [stdout] 104 | let mut root = Tree::new_branch(RefCell::new(Element::make_root(".".to_owned(), ".".into()))); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use core::cell::RefCell; [INFO] [stdout] | [INFO] [stdout] 3 | use std::cell::RefCell; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PathBuf`, `Path`, `Rc`, `ReadDir`, `Weak` [INFO] [stdout] --> src/main.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | fs::{DirEntry, ReadDir}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 7 | path::{Path, PathBuf}, [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] 8 | rc::{Rc, Weak}, [INFO] [stdout] | ^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DirEntry`, `Path`, `Rc`, `ReadDir`, `Weak`, `error::Error` [INFO] [stdout] --> src/element.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | fs::{DirEntry, ReadDir}, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^ [INFO] [stdout] 5 | error::Error, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 6 | path::{Path, PathBuf}, [INFO] [stdout] | ^^^^ [INFO] [stdout] 7 | rc::{Rc, Weak}, [INFO] [stdout] | ^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Leaf` [INFO] [stdout] --> src/tree.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::tree::Tree::{Branch, Leaf}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ffi::OsString` [INFO] [stdout] --> src/tree.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::ffi::OsString; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing fields `parent` and `prefix` in initializer of `Element` [INFO] [stdout] --> src/element.rs:25:35 [INFO] [stdout] | [INFO] [stdout] 25 | let mut me = RefCell::new(Self { [INFO] [stdout] | ^^^^ missing `parent` and `prefix` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `me` in initializer of `Element` [INFO] [stdout] --> src/element.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | Self { [INFO] [stdout] | ^^^^ missing `me` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing fields `me` and `parent` in initializer of `Element` [INFO] [stdout] --> src/element.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | Self { [INFO] [stdout] | ^^^^ missing `me` and `parent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0063, E0412, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0063`. [INFO] [stdout] [INFO] [stderr] error: could not compile `trees` due to 9 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "a9582a79e2ec976a76bf00a380b12d631a1e9a98b7a0109b8237f4c972693232", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a9582a79e2ec976a76bf00a380b12d631a1e9a98b7a0109b8237f4c972693232", kill_on_drop: false }` [INFO] [stdout] a9582a79e2ec976a76bf00a380b12d631a1e9a98b7a0109b8237f4c972693232