[INFO] cloning repository https://github.com/ConradKhakhria/woah [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ConradKhakhria/woah" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FConradKhakhria%2Fwoah", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FConradKhakhria%2Fwoah'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 250c4fd462854567624d51793f357ecfc18a18f0 [INFO] checking ConradKhakhria/woah/250c4fd462854567624d51793f357ecfc18a18f0 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FConradKhakhria%2Fwoah" "/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/ConradKhakhria/woah on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ConradKhakhria/woah [INFO] finished tweaking git repo https://github.com/ConradKhakhria/woah [INFO] tweaked toml for git repo https://github.com/ConradKhakhria/woah written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ConradKhakhria/woah 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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded derive-getters v0.2.0 [INFO] [stderr] Downloaded syn v1.0.70 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fa3db73779b428d84ed02d727bd69bd668ba418030164be1b968872f93890f79 [INFO] running `Command { std: "docker" "start" "-a" "fa3db73779b428d84ed02d727bd69bd668ba418030164be1b968872f93890f79", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fa3db73779b428d84ed02d727bd69bd668ba418030164be1b968872f93890f79", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa3db73779b428d84ed02d727bd69bd668ba418030164be1b968872f93890f79", kill_on_drop: false }` [INFO] [stdout] fa3db73779b428d84ed02d727bd69bd668ba418030164be1b968872f93890f79 [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=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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a461ba652c2ca6eda74e7f9832255c287f4c860c193e3369a94e6d03c2518f07 [INFO] running `Command { std: "docker" "start" "-a" "a461ba652c2ca6eda74e7f9832255c287f4c860c193e3369a94e6d03c2518f07", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.70 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Checking regex-syntax v0.6.23 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking regex v1.4.6 [INFO] [stderr] Compiling snafu-derive v0.6.10 [INFO] [stderr] Compiling derive-getters v0.2.0 [INFO] [stderr] Checking snafu v0.6.10 [INFO] [stderr] Checking woah v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `analyser::StaticAnalysisResults as StaticAnalysisResults` [INFO] [stdout] --> src/analysis/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use analyser::StaticAnalysisResults as StaticAnalysisResults; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `function::Argument as Argument` [INFO] [stdout] --> src/parse/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use function::Argument as Argument; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `analyser::StaticAnalysisResults as StaticAnalysisResults` [INFO] [stdout] --> src/analysis/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use analyser::StaticAnalysisResults as StaticAnalysisResults; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `function::Argument as Argument` [INFO] [stdout] --> src/parse/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use function::Argument as Argument; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `root_path` [INFO] [stdout] --> src/interface.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | let root_path = src_path.parent().unwrap().to_path_buf(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_root_path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `static_analysis_results` [INFO] [stdout] --> src/interface.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | let static_analysis_results = analyse_program(&mut modules)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_static_analysis_results` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `root_path` [INFO] [stdout] --> src/interface.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | let root_path = src_path.parent().unwrap().to_path_buf(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_root_path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `static_analysis_results` [INFO] [stdout] --> src/interface.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | let static_analysis_results = analyse_program(&mut modules)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_static_analysis_results` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_attr_res_type` is never used [INFO] [stdout] --> src/analysis/type_checker.rs:593:8 [INFO] [stdout] | [INFO] [stdout] 21 | impl<'a> TypeChecker<'a> { [INFO] [stdout] | ------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 593 | fn get_attr_res_type(&self, parent: &Box, attr_name: &String) -> Result, Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `instance_methods_mut`, `module_methods_mut`, `module_path`, and `module_type` are never used [INFO] [stdout] --> src/parse/module.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 30 | impl Module { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn instance_methods_mut(&mut self) -> &mut HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn module_methods_mut(&mut self) -> &mut HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn module_path(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn module_type(&self) -> &ModuleType { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_attr_res_type` is never used [INFO] [stdout] --> src/analysis/type_checker.rs:593:8 [INFO] [stdout] | [INFO] [stdout] 21 | impl<'a> TypeChecker<'a> { [INFO] [stdout] | ------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 593 | fn get_attr_res_type(&self, parent: &Box, attr_name: &String) -> Result, Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `instance_methods_mut`, `module_methods_mut`, `module_path`, and `module_type` are never used [INFO] [stdout] --> src/parse/module.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 30 | impl Module { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn instance_methods_mut(&mut self) -> &mut HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn module_methods_mut(&mut self) -> &mut HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn module_path(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn module_type(&self) -> &ModuleType { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.17s [INFO] running `Command { std: "docker" "inspect" "a461ba652c2ca6eda74e7f9832255c287f4c860c193e3369a94e6d03c2518f07", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a461ba652c2ca6eda74e7f9832255c287f4c860c193e3369a94e6d03c2518f07", kill_on_drop: false }` [INFO] [stdout] a461ba652c2ca6eda74e7f9832255c287f4c860c193e3369a94e6d03c2518f07