[INFO] cloning repository https://github.com/cottonguard/kyopro-rs-bundler [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cottonguard/kyopro-rs-bundler" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcottonguard%2Fkyopro-rs-bundler", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcottonguard%2Fkyopro-rs-bundler'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 21db32e9c08872d013f5e74f9010e1c550f48dad [INFO] checking cottonguard/kyopro-rs-bundler against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcottonguard%2Fkyopro-rs-bundler" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/cottonguard/kyopro-rs-bundler on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/cottonguard/kyopro-rs-bundler [INFO] finished tweaking git repo https://github.com/cottonguard/kyopro-rs-bundler [INFO] tweaked toml for git repo https://github.com/cottonguard/kyopro-rs-bundler written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/cottonguard/kyopro-rs-bundler 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9708e43575e41c6be3d18e74b1084b665398a840d0677df9e1c008049fa69b7d [INFO] running `Command { std: "docker" "start" "-a" "9708e43575e41c6be3d18e74b1084b665398a840d0677df9e1c008049fa69b7d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9708e43575e41c6be3d18e74b1084b665398a840d0677df9e1c008049fa69b7d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9708e43575e41c6be3d18e74b1084b665398a840d0677df9e1c008049fa69b7d", kill_on_drop: false }` [INFO] [stdout] 9708e43575e41c6be3d18e74b1084b665398a840d0677df9e1c008049fa69b7d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d682c8cda21e0c47a7e42ab7de73669d2113718d2e2c367c39e97679c7ab5f9f [INFO] running `Command { std: "docker" "start" "-a" "d682c8cda21e0c47a7e42ab7de73669d2113718d2e2c367c39e97679c7ab5f9f", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling libc v0.2.97 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Checking unicode-xid v0.2.2 [INFO] [stderr] Compiling anyhow v1.0.41 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Checking quote v1.0.9 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking env_logger v0.8.4 [INFO] [stderr] Checking rs_bundler v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `reached` [INFO] [stdout] --> src/elimination.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | let mut reached: HashSet<_> = Some(ModulePathBuf::from("crate")).into_iter().collect(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reached` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inner` [INFO] [stdout] --> src/elimination.rs:61:32 [INFO] [stdout] | [INFO] [stdout] 61 | ModTree::Block(inner) | ModTree::Generics(inner) => {} [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 61 | ModTree::Block(_inner) | ModTree::Generics(_inner) => {} [INFO] [stdout] | ~~~~~~ ~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/elimination.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | let mut reached: HashSet<_> = Some(ModulePathBuf::from("crate")).into_iter().collect(); [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: unused variable: `scopes` [INFO] [stdout] --> src/elimination.rs:68:25 [INFO] [stdout] | [INFO] [stdout] 68 | fn proc_mod(node: Node, scopes: &mut Vec) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_scopes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reached` [INFO] [stdout] --> src/elimination.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | let mut reached: HashSet<_> = Some(ModulePathBuf::from("crate")).into_iter().collect(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reached` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inner` [INFO] [stdout] --> src/elimination.rs:61:32 [INFO] [stdout] | [INFO] [stdout] 61 | ModTree::Block(inner) | ModTree::Generics(inner) => {} [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 61 | ModTree::Block(_inner) | ModTree::Generics(_inner) => {} [INFO] [stdout] | ~~~~~~ ~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/elimination.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | let mut reached: HashSet<_> = Some(ModulePathBuf::from("crate")).into_iter().collect(); [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: unused variable: `scopes` [INFO] [stdout] --> src/elimination.rs:68:25 [INFO] [stdout] | [INFO] [stdout] 68 | fn proc_mod(node: Node, scopes: &mut Vec) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_scopes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mods` [INFO] [stdout] --> src/main.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | let mods = elimination::flatten_mods(tree); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mods` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `collect_reachablity` is never used [INFO] [stdout] --> src/elimination.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn collect_reachablity(mods: &HashMap) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `proc_mod` is never used [INFO] [stdout] --> src/elimination.rs:68:4 [INFO] [stdout] | [INFO] [stdout] 68 | fn proc_mod(node: Node, scopes: &mut Vec) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Scope` is never constructed [INFO] [stdout] --> src/elimination.rs:85:8 [INFO] [stdout] | [INFO] [stdout] 85 | struct Scope { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/mod_tree.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | Use(Vec<(String, ModulePathBuf)>), [INFO] [stdout] | --- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 19 | Use(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/mod_tree.rs:20:14 [INFO] [stdout] | [INFO] [stdout] 20 | Generics(Node), [INFO] [stdout] | -------- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 20 | Generics(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/mod_tree.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | Type(String), [INFO] [stdout] | ---- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 21 | Type(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/mod_tree.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | Block(Node), [INFO] [stdout] | ----- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 22 | Block(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mods` [INFO] [stdout] --> src/main.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | let mods = elimination::flatten_mods(tree); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mods` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `collect_reachablity` is never used [INFO] [stdout] --> src/elimination.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn collect_reachablity(mods: &HashMap) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `proc_mod` is never used [INFO] [stdout] --> src/elimination.rs:68:4 [INFO] [stdout] | [INFO] [stdout] 68 | fn proc_mod(node: Node, scopes: &mut Vec) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Scope` is never constructed [INFO] [stdout] --> src/elimination.rs:85:8 [INFO] [stdout] | [INFO] [stdout] 85 | struct Scope { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/mod_tree.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | Use(Vec<(String, ModulePathBuf)>), [INFO] [stdout] | --- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 19 | Use(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/mod_tree.rs:20:14 [INFO] [stdout] | [INFO] [stdout] 20 | Generics(Node), [INFO] [stdout] | -------- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 20 | Generics(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/mod_tree.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | Type(String), [INFO] [stdout] | ---- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 21 | Type(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/mod_tree.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | Block(Node), [INFO] [stdout] | ----- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 22 | Block(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.72s [INFO] running `Command { std: "docker" "inspect" "d682c8cda21e0c47a7e42ab7de73669d2113718d2e2c367c39e97679c7ab5f9f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d682c8cda21e0c47a7e42ab7de73669d2113718d2e2c367c39e97679c7ab5f9f", kill_on_drop: false }` [INFO] [stdout] d682c8cda21e0c47a7e42ab7de73669d2113718d2e2c367c39e97679c7ab5f9f