[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] building cottonguard/kyopro-rs-bundler against master#44f415c1d617ebc7b931a243b7b321ef8a6ca47c for pr-142134-abi-ast-error [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcottonguard%2Fkyopro-rs-bundler" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/cottonguard/kyopro-rs-bundler on toolchain 44f415c1d617ebc7b931a243b7b321ef8a6ca47c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "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-4-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" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "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-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 899f616256eea9d55397866b38b9d8116f5e15902eddcdc610cc82aeff8a83c1 [INFO] running `Command { std: "docker" "start" "-a" "899f616256eea9d55397866b38b9d8116f5e15902eddcdc610cc82aeff8a83c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "899f616256eea9d55397866b38b9d8116f5e15902eddcdc610cc82aeff8a83c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "899f616256eea9d55397866b38b9d8116f5e15902eddcdc610cc82aeff8a83c1", kill_on_drop: false }` [INFO] [stdout] 899f616256eea9d55397866b38b9d8116f5e15902eddcdc610cc82aeff8a83c1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 572bae1da6cd4fb81825bf3f4493400694de155a0cf6aed7a61526a8a94bb877 [INFO] running `Command { std: "docker" "start" "-a" "572bae1da6cd4fb81825bf3f4493400694de155a0cf6aed7a61526a8a94bb877", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling libc v0.2.97 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling anyhow v1.0.41 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling getopts v0.2.21 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stderr] Compiling 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: `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] = note: `ModTree` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [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(Vec<(String, ModulePathBuf)>), [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] = note: `ModTree` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [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(Node), [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] = note: `ModTree` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [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(String), [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] = note: `ModTree` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [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(Node), [INFO] [stdout] 22 + Block(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.68s [INFO] running `Command { std: "docker" "inspect" "572bae1da6cd4fb81825bf3f4493400694de155a0cf6aed7a61526a8a94bb877", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "572bae1da6cd4fb81825bf3f4493400694de155a0cf6aed7a61526a8a94bb877", kill_on_drop: false }` [INFO] [stdout] 572bae1da6cd4fb81825bf3f4493400694de155a0cf6aed7a61526a8a94bb877 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5ce3d7accf55e6444bd665d99af326ab49b957c2f0e6cc2ce5d767a917690885 [INFO] running `Command { std: "docker" "start" "-a" "5ce3d7accf55e6444bd665d99af326ab49b957c2f0e6cc2ce5d767a917690885", kill_on_drop: false }` [INFO] [stderr] Compiling 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: `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] = note: `ModTree` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [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(Vec<(String, ModulePathBuf)>), [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] = note: `ModTree` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [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(Node), [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] = note: `ModTree` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [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(String), [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] = note: `ModTree` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [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(Node), [INFO] [stdout] 22 + Block(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.40s [INFO] running `Command { std: "docker" "inspect" "5ce3d7accf55e6444bd665d99af326ab49b957c2f0e6cc2ce5d767a917690885", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ce3d7accf55e6444bd665d99af326ab49b957c2f0e6cc2ce5d767a917690885", kill_on_drop: false }` [INFO] [stdout] 5ce3d7accf55e6444bd665d99af326ab49b957c2f0e6cc2ce5d767a917690885