[INFO] cloning repository https://github.com/alareti/groat
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/alareti/groat" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falareti%2Fgroat", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falareti%2Fgroat'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] fba7c843c9a16e55657f073be0ed7396f47d2971
[INFO] checking alareti/groat against master#9e293ae9f8abecb0be5105787d181518c9012a19 for pr-146440-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falareti%2Fgroat" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/alareti/groat
[INFO] finished tweaking git repo https://github.com/alareti/groat
[INFO] tweaked toml for git repo https://github.com/alareti/groat written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/alareti/groat on toolchain 9e293ae9f8abecb0be5105787d181518c9012a19
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9e293ae9f8abecb0be5105787d181518c9012a19" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/alareti/groat 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" "+9e293ae9f8abecb0be5105787d181518c9012a19" "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-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+9e293ae9f8abecb0be5105787d181518c9012a19" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] d0c40ca801d5783e9b4aff3ca4882d90b1dba35c5467d06047ed224c24f4c110
[INFO] running `Command { std: "docker" "start" "-a" "d0c40ca801d5783e9b4aff3ca4882d90b1dba35c5467d06047ed224c24f4c110", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d0c40ca801d5783e9b4aff3ca4882d90b1dba35c5467d06047ed224c24f4c110", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d0c40ca801d5783e9b4aff3ca4882d90b1dba35c5467d06047ed224c24f4c110", kill_on_drop: false }`
[INFO] [stdout] d0c40ca801d5783e9b4aff3ca4882d90b1dba35c5467d06047ed224c24f4c110
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+9e293ae9f8abecb0be5105787d181518c9012a19" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d768f942c55cf8ce2e6db3cab5c0deb230d4e4d116b38d7c1166adea69f796e4
[INFO] running `Command { std: "docker" "start" "-a" "d768f942c55cf8ce2e6db3cab5c0deb230d4e4d116b38d7c1166adea69f796e4", kill_on_drop: false }`
[INFO] [stderr]     Checking gro v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `sorted`
[INFO] [stdout]   --> src/graph.rs:85:13
[INFO] [stdout]    |
[INFO] [stdout] 85 |         let sorted = topological_sort(&self.node_handles);
[INFO] [stdout]    |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sorted`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `outputter`
[INFO] [stdout]   --> src/lib.rs:45:13
[INFO] [stdout]    |
[INFO] [stdout] 45 |         let outputter: Outputter<S> = Arc::new(move |callback| {
[INFO] [stdout]    |             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_outputter`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `updater`
[INFO] [stdout]   --> src/lib.rs:67:13
[INFO] [stdout]    |
[INFO] [stdout] 67 |         let updater: Updater<S> = Arc::new(move |input: Input<S>| {
[INFO] [stdout]    |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_updater`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Reducer` is never used
[INFO] [stdout]   --> src/lib.rs:12:7
[INFO] [stdout]    |
[INFO] [stdout] 12 | trait Reducer<S> {
[INFO] [stdout]    |       ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `Input` is never used
[INFO] [stdout]   --> src/lib.rs:17:6
[INFO] [stdout]    |
[INFO] [stdout] 17 | type Input<'a, S> = &'a dyn Reducer<S>;
[INFO] [stdout]    |      ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `Updater` is never used
[INFO] [stdout]   --> src/lib.rs:18:6
[INFO] [stdout]    |
[INFO] [stdout] 18 | type Updater<S> = Arc<dyn Fn(Input<S>)>;
[INFO] [stdout]    |      ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `Callback` is never used
[INFO] [stdout]   --> src/lib.rs:22:6
[INFO] [stdout]    |
[INFO] [stdout] 22 | type Callback<S> = Arc<dyn Fn(&S)>;
[INFO] [stdout]    |      ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `Outputter` is never used
[INFO] [stdout]   --> src/lib.rs:23:6
[INFO] [stdout]    |
[INFO] [stdout] 23 | type Outputter<S> = Arc<dyn Fn(Callback<S>)>;
[INFO] [stdout]    |      ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `handle` is never read
[INFO] [stdout]   --> src/lib.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub struct Gro<S> {
[INFO] [stdout]    |            --- field in this struct
[INFO] [stdout] 26 |     handle: Arc<thread::JoinHandle<()>>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/lib.rs:34:8
[INFO] [stdout]    |
[INFO] [stdout] 30 | / impl<S> Gro<S>
[INFO] [stdout] 31 | | where
[INFO] [stdout] 32 | |     S: 'static,
[INFO] [stdout]    | |_______________- associated function in this implementation
[INFO] [stdout] 33 |   {
[INFO] [stdout] 34 |       fn new(init: S) -> Self {
[INFO] [stdout]    |          ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `NodeHandle` is never constructed
[INFO] [stdout]  --> src/graph.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | struct NodeHandle<T> {
[INFO] [stdout]   |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/graph.rs:12:8
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl<T> NodeHandle<T> {
[INFO] [stdout]    | --------------------- associated function in this implementation
[INFO] [stdout] 12 |     fn new(id: usize, node: Node<T>) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Node` is never constructed
[INFO] [stdout]   --> src/graph.rs:37:8
[INFO] [stdout]    |
[INFO] [stdout] 37 | struct Node<T> {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/graph.rs:44:8
[INFO] [stdout]    |
[INFO] [stdout] 43 | impl<T> Node<T> {
[INFO] [stdout]    | --------------- associated function in this implementation
[INFO] [stdout] 44 |     fn new(body: T) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Builder` is never constructed
[INFO] [stdout]   --> src/graph.rs:53:8
[INFO] [stdout]    |
[INFO] [stdout] 53 | struct Builder<T> {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `node`, `connect`, and `build` are never used
[INFO] [stdout]   --> src/graph.rs:61:8
[INFO] [stdout]    |
[INFO] [stdout] 57 | / impl<T> Builder<T>
[INFO] [stdout] 58 | | where
[INFO] [stdout] 59 | |     T: Debug,
[INFO] [stdout]    | |_____________- associated items in this implementation
[INFO] [stdout] 60 |   {
[INFO] [stdout] 61 |       fn new() -> Self {
[INFO] [stdout]    |          ^^^
[INFO] [stdout] ...
[INFO] [stdout] 67 |       fn node(&mut self, body: T) -> NodeHandle<T> {
[INFO] [stdout]    |          ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 75 |       fn connect(&mut self, tail: &NodeHandle<T>, head: &NodeHandle<T>) {
[INFO] [stdout]    |          ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 84 |       fn build(&self) -> Result<Graph<T>, String> {
[INFO] [stdout]    |          ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `topological_sort` is never used
[INFO] [stdout]   --> src/graph.rs:93:4
[INFO] [stdout]    |
[INFO] [stdout] 93 | fn topological_sort<T: Debug>(node_handles: &Vec<NodeHandle<T>>) -> Result<Vec<usize>, String> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Graph` is never constructed
[INFO] [stdout]    --> src/graph.rs:190:8
[INFO] [stdout]     |
[INFO] [stdout] 190 | struct Graph<T> {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sorted`
[INFO] [stdout]   --> src/graph.rs:85:13
[INFO] [stdout]    |
[INFO] [stdout] 85 |         let sorted = topological_sort(&self.node_handles);
[INFO] [stdout]    |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sorted`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `outputter`
[INFO] [stdout]   --> src/lib.rs:45:13
[INFO] [stdout]    |
[INFO] [stdout] 45 |         let outputter: Outputter<S> = Arc::new(move |callback| {
[INFO] [stdout]    |             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_outputter`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `updater`
[INFO] [stdout]   --> src/lib.rs:67:13
[INFO] [stdout]    |
[INFO] [stdout] 67 |         let updater: Updater<S> = Arc::new(move |input: Input<S>| {
[INFO] [stdout]    |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_updater`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Reducer` is never used
[INFO] [stdout]   --> src/lib.rs:12:7
[INFO] [stdout]    |
[INFO] [stdout] 12 | trait Reducer<S> {
[INFO] [stdout]    |       ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `Input` is never used
[INFO] [stdout]   --> src/lib.rs:17:6
[INFO] [stdout]    |
[INFO] [stdout] 17 | type Input<'a, S> = &'a dyn Reducer<S>;
[INFO] [stdout]    |      ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `Updater` is never used
[INFO] [stdout]   --> src/lib.rs:18:6
[INFO] [stdout]    |
[INFO] [stdout] 18 | type Updater<S> = Arc<dyn Fn(Input<S>)>;
[INFO] [stdout]    |      ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `Callback` is never used
[INFO] [stdout]   --> src/lib.rs:22:6
[INFO] [stdout]    |
[INFO] [stdout] 22 | type Callback<S> = Arc<dyn Fn(&S)>;
[INFO] [stdout]    |      ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `Outputter` is never used
[INFO] [stdout]   --> src/lib.rs:23:6
[INFO] [stdout]    |
[INFO] [stdout] 23 | type Outputter<S> = Arc<dyn Fn(Callback<S>)>;
[INFO] [stdout]    |      ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `handle` is never read
[INFO] [stdout]   --> src/lib.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub struct Gro<S> {
[INFO] [stdout]    |            --- field in this struct
[INFO] [stdout] 26 |     handle: Arc<thread::JoinHandle<()>>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/lib.rs:34:8
[INFO] [stdout]    |
[INFO] [stdout] 30 | / impl<S> Gro<S>
[INFO] [stdout] 31 | | where
[INFO] [stdout] 32 | |     S: 'static,
[INFO] [stdout]    | |_______________- associated function in this implementation
[INFO] [stdout] 33 |   {
[INFO] [stdout] 34 |       fn new(init: S) -> Self {
[INFO] [stdout]    |          ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `body` is never read
[INFO] [stdout]   --> src/graph.rs:38:5
[INFO] [stdout]    |
[INFO] [stdout] 37 | struct Node<T> {
[INFO] [stdout]    |        ---- field in this struct
[INFO] [stdout] 38 |     body: T,
[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] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `build` is never used
[INFO] [stdout]   --> src/graph.rs:84:8
[INFO] [stdout]    |
[INFO] [stdout] 57 | / impl<T> Builder<T>
[INFO] [stdout] 58 | | where
[INFO] [stdout] 59 | |     T: Debug,
[INFO] [stdout]    | |_____________- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 84 |       fn build(&self) -> Result<Graph<T>, String> {
[INFO] [stdout]    |          ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `topological_sort` is never used
[INFO] [stdout]   --> src/graph.rs:93:4
[INFO] [stdout]    |
[INFO] [stdout] 93 | fn topological_sort<T: Debug>(node_handles: &Vec<NodeHandle<T>>) -> Result<Vec<usize>, String> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Graph` is never constructed
[INFO] [stdout]    --> src/graph.rs:190:8
[INFO] [stdout]     |
[INFO] [stdout] 190 | struct Graph<T> {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.10s
[INFO] running `Command { std: "docker" "inspect" "d768f942c55cf8ce2e6db3cab5c0deb230d4e4d116b38d7c1166adea69f796e4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d768f942c55cf8ce2e6db3cab5c0deb230d4e4d116b38d7c1166adea69f796e4", kill_on_drop: false }`
[INFO] [stdout] d768f942c55cf8ce2e6db3cab5c0deb230d4e4d116b38d7c1166adea69f796e4
