[INFO] cloning repository https://github.com/somthn0somthn/rust-functional-adts [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/somthn0somthn/rust-functional-adts" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsomthn0somthn%2Frust-functional-adts", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsomthn0somthn%2Frust-functional-adts'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 554d51456dafd1e7ec6beda0ed52a52dbc91f203 [INFO] checking somthn0somthn/rust-functional-adts against try#0fe3684930279e4d3be3aca66b30f82946ce9ac2 for pr-138340 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsomthn0somthn%2Frust-functional-adts" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/somthn0somthn/rust-functional-adts on toolchain 0fe3684930279e4d3be3aca66b30f82946ce9ac2 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0fe3684930279e4d3be3aca66b30f82946ce9ac2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/somthn0somthn/rust-functional-adts [INFO] finished tweaking git repo https://github.com/somthn0somthn/rust-functional-adts [INFO] tweaked toml for git repo https://github.com/somthn0somthn/rust-functional-adts written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/somthn0somthn/rust-functional-adts 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" "+0fe3684930279e4d3be3aca66b30f82946ce9ac2" "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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+0fe3684930279e4d3be3aca66b30f82946ce9ac2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e20714411dfe3d89c90e9b19420f38b0f6cc5b65119fe271ba610733f844c45c [INFO] running `Command { std: "docker" "start" "-a" "e20714411dfe3d89c90e9b19420f38b0f6cc5b65119fe271ba610733f844c45c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e20714411dfe3d89c90e9b19420f38b0f6cc5b65119fe271ba610733f844c45c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e20714411dfe3d89c90e9b19420f38b0f6cc5b65119fe271ba610733f844c45c", kill_on_drop: false }` [INFO] [stdout] e20714411dfe3d89c90e9b19420f38b0f6cc5b65119fe271ba610733f844c45c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+0fe3684930279e4d3be3aca66b30f82946ce9ac2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b6181e302cdaa383cb8963311f5774ae7b3428559e094970a957d3f5d6dd61ce [INFO] running `Command { std: "docker" "start" "-a" "b6181e302cdaa383cb8963311f5774ae7b3428559e094970a957d3f5d6dd61ce", kill_on_drop: false }` [INFO] [stderr] Checking rust-adts v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: type `forall_t` should have an upper camel case name [INFO] [stdout] --> src/plug.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct forall_t; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `ForallT` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `forall_t` should have an upper camel case name [INFO] [stdout] --> src/plug.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct forall_t; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `ForallT` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated type `result_t` should have an upper camel case name [INFO] [stdout] --> src/plug.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | type result_t; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `ResultT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Concrete`, `Wrapper`, and `forall_t` [INFO] [stdout] --> src/classes.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::plug::{Concrete, Unplug, Plug, forall_t, Wrapper}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Wrapper` [INFO] [stdout] --> src/main.rs:9:46 [INFO] [stdout] | [INFO] [stdout] 9 | use plug::{Concrete, Unplug, Plug, forall_t, Wrapper}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Applicative`, `Foldable`, `Monad`, and `Monoid` [INFO] [stdout] --> src/main.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | use classes::{Monoid, Functor, Applicative, Monad, Foldable, Traversable}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^ ^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sum::SumMonoid` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use sum::SumMonoid; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `product::ProductMonoid` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use product::ProductMonoid; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/main.rs:69:81 [INFO] [stdout] | [INFO] [stdout] 69 | let opt_vec_none: Concrete, Vec> = Concrete::of(None);; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated type `result_t` should have an upper camel case name [INFO] [stdout] --> src/plug.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | type result_t; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `ResultT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Concrete`, `Wrapper`, and `forall_t` [INFO] [stdout] --> src/classes.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::plug::{Concrete, Unplug, Plug, forall_t, Wrapper}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Wrapper` [INFO] [stdout] --> src/main.rs:9:46 [INFO] [stdout] | [INFO] [stdout] 9 | use plug::{Concrete, Unplug, Plug, forall_t, Wrapper}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Applicative`, `Foldable`, `Monad`, and `Monoid` [INFO] [stdout] --> src/main.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | use classes::{Monoid, Functor, Applicative, Monad, Foldable, Traversable}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^ ^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sum::SumMonoid` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use sum::SumMonoid; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `product::ProductMonoid` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use product::ProductMonoid; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/main.rs:69:81 [INFO] [stdout] | [INFO] [stdout] 69 | let opt_vec_none: Concrete, Vec> = Concrete::of(None);; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/result.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | Err(err) => a, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/result.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | Err(err) => a, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `functor_test` is never used [INFO] [stdout] --> src/main.rs:15:4 [INFO] [stdout] | [INFO] [stdout] 15 | fn functor_test( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `int_to_string` is never used [INFO] [stdout] --> src/main.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | fn int_to_string(i: i32) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `int_to_conc_string` is never used [INFO] [stdout] --> src/main.rs:36:4 [INFO] [stdout] | [INFO] [stdout] 36 | fn int_to_conc_string(i: i32) -> Concrete, String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `int_to_conc_opt_string` is never used [INFO] [stdout] --> src/main.rs:44:4 [INFO] [stdout] | [INFO] [stdout] 44 | fn int_to_conc_opt_string(i: i32) -> Concrete, String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `int_to_conc_result_string` is never used [INFO] [stdout] --> src/main.rs:52:4 [INFO] [stdout] | [INFO] [stdout] 52 | fn int_to_conc_result_string(i: i32) -> Concrete, String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait method `foldMap` should have a snake case name [INFO] [stdout] --> src/classes.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | fn foldMap(g: G, s: Self) -> F [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `fold_map` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `functor_test` is never used [INFO] [stdout] --> src/main.rs:15:4 [INFO] [stdout] | [INFO] [stdout] 15 | fn functor_test( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `int_to_string` is never used [INFO] [stdout] --> src/main.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | fn int_to_string(i: i32) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `int_to_conc_string` is never used [INFO] [stdout] --> src/main.rs:36:4 [INFO] [stdout] | [INFO] [stdout] 36 | fn int_to_conc_string(i: i32) -> Concrete, String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `int_to_conc_opt_string` is never used [INFO] [stdout] --> src/main.rs:44:4 [INFO] [stdout] | [INFO] [stdout] 44 | fn int_to_conc_opt_string(i: i32) -> Concrete, String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `int_to_conc_result_string` is never used [INFO] [stdout] --> src/main.rs:52:4 [INFO] [stdout] | [INFO] [stdout] 52 | fn int_to_conc_result_string(i: i32) -> Concrete, String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait method `foldMap` should have a snake case name [INFO] [stdout] --> src/classes.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | fn foldMap(g: G, s: Self) -> F [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `fold_map` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.35s [INFO] running `Command { std: "docker" "inspect" "b6181e302cdaa383cb8963311f5774ae7b3428559e094970a957d3f5d6dd61ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b6181e302cdaa383cb8963311f5774ae7b3428559e094970a957d3f5d6dd61ce", kill_on_drop: false }` [INFO] [stdout] b6181e302cdaa383cb8963311f5774ae7b3428559e094970a957d3f5d6dd61ce