[INFO] fetching crate Algod 0.1.1... [INFO] testing Algod-0.1.1 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate Algod 0.1.1 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate Algod 0.1.1 [INFO] finished tweaking crates.io crate Algod 0.1.1 [INFO] tweaked toml for crates.io crate Algod 0.1.1 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate Algod 0.1.1 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] aa4d962f3084699e3da96cd73618ca4b230f73a53d1cfe374e01d10bda180bcf [INFO] running `Command { std: "docker" "start" "-a" "aa4d962f3084699e3da96cd73618ca4b230f73a53d1cfe374e01d10bda180bcf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aa4d962f3084699e3da96cd73618ca4b230f73a53d1cfe374e01d10bda180bcf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa4d962f3084699e3da96cd73618ca4b230f73a53d1cfe374e01d10bda180bcf", kill_on_drop: false }` [INFO] [stdout] aa4d962f3084699e3da96cd73618ca4b230f73a53d1cfe374e01d10bda180bcf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 118f9c4d2adf98740477911a2ac4c37d75874ac07701352801c0a10c25d2f914 [INFO] running `Command { std: "docker" "start" "-a" "118f9c4d2adf98740477911a2ac4c37d75874ac07701352801c0a10c25d2f914", kill_on_drop: false }` [INFO] [stderr] Compiling Algod v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/ciphers/sha256.rs:135:19 [INFO] [stdout] | [INFO] [stdout] 135 | chunk[(63 - i)] = len as u8; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 135 - chunk[(63 - i)] = len as u8; [INFO] [stdout] 135 + chunk[63 - i] = len as u8; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/graph/depth_first_search_tic_tac_toe.rs:277:9 [INFO] [stdout] | [INFO] [stdout] 277 | let mut play_actions = opt_play_actions.as_mut().unwrap(); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NodeNotInGraph` is never constructed [INFO] [stdout] --> src/data_structures/graph.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct NodeNotInGraph; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NodeNotInGraph` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `adjacency_table` is never read [INFO] [stdout] --> src/data_structures/graph.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct DirectedGraph { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 14 | adjacency_table: HashMap>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `adjacency_table` is never read [INFO] [stdout] --> src/data_structures/graph.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct UndirectedGraph { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 32 | adjacency_table: HashMap>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Graph` is never used [INFO] [stdout] --> src/data_structures/graph.rs:64:11 [INFO] [stdout] | [INFO] [stdout] 64 | pub trait Graph { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `Algod` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = help: convert the identifier to snake case: `algod` [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/data_structures/avl_tree.rs:88:18 [INFO] [stdout] | [INFO] [stdout] 88 | fn node_iter(&self) -> NodeIter { [INFO] [stdout] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 88 | fn node_iter(&self) -> NodeIter<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/data_structures/avl_tree.rs:103:17 [INFO] [stdout] | [INFO] [stdout] 103 | pub fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 103 | pub fn iter(&self) -> Iter<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/data_structures/binary_search_tree.rs:201:22 [INFO] [stdout] | [INFO] [stdout] 201 | pub fn new(tree: &BinarySearchTree) -> BinarySearchTreeIter { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ----------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 201 | pub fn new(tree: &BinarySearchTree) -> BinarySearchTreeIter<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/data_structures/rb_tree.rs:218:13 [INFO] [stdout] | [INFO] [stdout] 218 | Box::from_raw(node); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 218 | let _ = Box::from_raw(node); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.80s [INFO] running `Command { std: "docker" "inspect" "118f9c4d2adf98740477911a2ac4c37d75874ac07701352801c0a10c25d2f914", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "118f9c4d2adf98740477911a2ac4c37d75874ac07701352801c0a10c25d2f914", kill_on_drop: false }` [INFO] [stdout] 118f9c4d2adf98740477911a2ac4c37d75874ac07701352801c0a10c25d2f914 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 95fa8612e2fc5ef2b011feb3c0b7d3d32f3dd6c8f8c8bfdbe869f0653c602d9b [INFO] running `Command { std: "docker" "start" "-a" "95fa8612e2fc5ef2b011feb3c0b7d3d32f3dd6c8f8c8bfdbe869f0653c602d9b", kill_on_drop: false }` [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/ciphers/sha256.rs:135:19 [INFO] [stdout] | [INFO] [stdout] 135 | chunk[(63 - i)] = len as u8; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 135 - chunk[(63 - i)] = len as u8; [INFO] [stdout] 135 + chunk[63 - i] = len as u8; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/graph/depth_first_search_tic_tac_toe.rs:277:9 [INFO] [stdout] | [INFO] [stdout] 277 | let mut play_actions = opt_play_actions.as_mut().unwrap(); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NodeNotInGraph` is never constructed [INFO] [stdout] --> src/data_structures/graph.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct NodeNotInGraph; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NodeNotInGraph` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `adjacency_table` is never read [INFO] [stdout] --> src/data_structures/graph.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct DirectedGraph { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 14 | adjacency_table: HashMap>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `adjacency_table` is never read [INFO] [stdout] --> src/data_structures/graph.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct UndirectedGraph { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 32 | adjacency_table: HashMap>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Graph` is never used [INFO] [stdout] --> src/data_structures/graph.rs:64:11 [INFO] [stdout] | [INFO] [stdout] 64 | pub trait Graph { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `Algod` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = help: convert the identifier to snake case: `algod` [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/data_structures/avl_tree.rs:88:18 [INFO] [stdout] | [INFO] [stdout] 88 | fn node_iter(&self) -> NodeIter { [INFO] [stdout] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 88 | fn node_iter(&self) -> NodeIter<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/data_structures/avl_tree.rs:103:17 [INFO] [stdout] | [INFO] [stdout] 103 | pub fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 103 | pub fn iter(&self) -> Iter<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/data_structures/binary_search_tree.rs:201:22 [INFO] [stdout] | [INFO] [stdout] 201 | pub fn new(tree: &BinarySearchTree) -> BinarySearchTreeIter { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ----------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 201 | pub fn new(tree: &BinarySearchTree) -> BinarySearchTreeIter<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling Algod v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/data_structures/rb_tree.rs:218:13 [INFO] [stdout] | [INFO] [stdout] 218 | Box::from_raw(node); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 218 | let _ = Box::from_raw(node); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sorting` [INFO] [stdout] --> src/lib.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | use sorting; [INFO] [stdout] | ^^^^^^^ no external crate `sorting` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module instead [INFO] [stdout] | [INFO] [stdout] 13 | use crate::sorting; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/ciphers/sha256.rs:135:19 [INFO] [stdout] | [INFO] [stdout] 135 | chunk[(63 - i)] = len as u8; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 135 - chunk[(63 - i)] = len as u8; [INFO] [stdout] 135 + chunk[63 - i] = len as u8; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/graph/depth_first_search_tic_tac_toe.rs:277:9 [INFO] [stdout] | [INFO] [stdout] 277 | let mut play_actions = opt_play_actions.as_mut().unwrap(); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `Algod` (lib test) due to 1 previous error; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "95fa8612e2fc5ef2b011feb3c0b7d3d32f3dd6c8f8c8bfdbe869f0653c602d9b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "95fa8612e2fc5ef2b011feb3c0b7d3d32f3dd6c8f8c8bfdbe869f0653c602d9b", kill_on_drop: false }` [INFO] [stdout] 95fa8612e2fc5ef2b011feb3c0b7d3d32f3dd6c8f8c8bfdbe869f0653c602d9b