[INFO] cloning repository https://github.com/brundonsmith/data_structures_and_algorithms [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/brundonsmith/data_structures_and_algorithms" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrundonsmith%2Fdata_structures_and_algorithms", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrundonsmith%2Fdata_structures_and_algorithms'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b854c5e099c8880c8d0543ed4782c8f12c426fda [INFO] checking brundonsmith/data_structures_and_algorithms against try#f3dc08d20a1589b87bde75bb82ee6423307f9bde for pr-135733 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrundonsmith%2Fdata_structures_and_algorithms" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/brundonsmith/data_structures_and_algorithms on toolchain f3dc08d20a1589b87bde75bb82ee6423307f9bde [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f3dc08d20a1589b87bde75bb82ee6423307f9bde" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/brundonsmith/data_structures_and_algorithms [INFO] finished tweaking git repo https://github.com/brundonsmith/data_structures_and_algorithms [INFO] tweaked toml for git repo https://github.com/brundonsmith/data_structures_and_algorithms written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/brundonsmith/data_structures_and_algorithms 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" "+f3dc08d20a1589b87bde75bb82ee6423307f9bde" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+f3dc08d20a1589b87bde75bb82ee6423307f9bde" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 755bb45828d18e9f529c454e4a834bd7dea2d5dae69135af059408b91c286046 [INFO] running `Command { std: "docker" "start" "-a" "755bb45828d18e9f529c454e4a834bd7dea2d5dae69135af059408b91c286046", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "755bb45828d18e9f529c454e4a834bd7dea2d5dae69135af059408b91c286046", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "755bb45828d18e9f529c454e4a834bd7dea2d5dae69135af059408b91c286046", kill_on_drop: false }` [INFO] [stdout] 755bb45828d18e9f529c454e4a834bd7dea2d5dae69135af059408b91c286046 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+f3dc08d20a1589b87bde75bb82ee6423307f9bde" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] da934d4f436614cf7c41b188c78c70da806de2eec6a68f53f644046fea023dd2 [INFO] running `Command { std: "docker" "start" "-a" "da934d4f436614cf7c41b188c78c70da806de2eec6a68f53f644046fea023dd2", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.4 [INFO] [stderr] Checking rand_core v0.4.0 [INFO] [stderr] Compiling libc v0.2.58 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking data_structures_and_algorithms v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `DirectedGraph` [INFO] [stdout] --> src/data_structures/directed_graph/mod.rs:5:26 [INFO] [stdout] | [INFO] [stdout] 5 | pub use directed_graph::{DirectedGraph}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LinkedList` [INFO] [stdout] --> src/data_structures/linked_list/mod.rs:5:23 [INFO] [stdout] | [INFO] [stdout] 5 | pub use linked_list::{LinkedList}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LinkedListPersistent` [INFO] [stdout] --> src/data_structures/linked_list_persistent/mod.rs:5:34 [INFO] [stdout] | [INFO] [stdout] 5 | pub use linked_list_persistent::{LinkedListPersistent}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `data_structures_and_algorithms` [INFO] [stdout] --> src/main.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | mod data_structures; [INFO] [stdout] | ^ consider adding a `main` function to `src/main.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/algorithms/sort.rs:2:22 [INFO] [stdout] | [INFO] [stdout] 2 | pub type SortFn = Fn(&mut [T]) -> (); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) 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] 2 | pub type SortFn = dyn Fn(&mut [T]) -> (); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/algorithms/sort.rs:2:22 [INFO] [stdout] | [INFO] [stdout] 2 | pub type SortFn = Fn(&mut [T]) -> (); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) 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] 2 | pub type SortFn = dyn Fn(&mut [T]) -> (); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0601`. [INFO] [stdout] [INFO] [stderr] error: could not compile `data_structures_and_algorithms` (bin "data_structures_and_algorithms") due to 1 previous error; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: associated items `new`, `add_node`, and `well_formed` are never used [INFO] [stdout] --> src/data_structures/directed_graph/directed_graph.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl DirectedGraph { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 13 | [INFO] [stdout] 14 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn add_node(&mut self) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn well_formed(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "da934d4f436614cf7c41b188c78c70da806de2eec6a68f53f644046fea023dd2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da934d4f436614cf7c41b188c78c70da806de2eec6a68f53f644046fea023dd2", kill_on_drop: false }` [INFO] [stdout] da934d4f436614cf7c41b188c78c70da806de2eec6a68f53f644046fea023dd2