[INFO] fetching crate proto_seeder 0.0.8... [INFO] checking proto_seeder-0.0.8 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] extracting crate proto_seeder 0.0.8 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate proto_seeder 0.0.8 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 crates.io crate proto_seeder 0.0.8 [INFO] finished tweaking crates.io crate proto_seeder 0.0.8 [INFO] tweaked toml for crates.io crate proto_seeder 0.0.8 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate crates.io crate proto_seeder 0.0.8 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 structopt-derive v0.4.13 [INFO] [stderr] Downloaded anyhow v1.0.33 [INFO] [stderr] Downloaded console v0.13.0 [INFO] [stderr] Downloaded structopt v0.3.20 [INFO] [stderr] Downloaded syn v1.0.40 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 95a5cac0cbdefee1f142779fe7fe01a37caa68e22d0fce6f508e57f57006f016 [INFO] running `Command { std: "docker" "start" "-a" "95a5cac0cbdefee1f142779fe7fe01a37caa68e22d0fce6f508e57f57006f016", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "95a5cac0cbdefee1f142779fe7fe01a37caa68e22d0fce6f508e57f57006f016", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "95a5cac0cbdefee1f142779fe7fe01a37caa68e22d0fce6f508e57f57006f016", kill_on_drop: false }` [INFO] [stdout] 95a5cac0cbdefee1f142779fe7fe01a37caa68e22d0fce6f508e57f57006f016 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] caac982999fb9658b52f32ada4f22ed2f7de56c7824f73e57608500e3d9d6a46 [INFO] running `Command { std: "docker" "start" "-a" "caac982999fb9658b52f32ada4f22ed2f7de56c7824f73e57608500e3d9d6a46", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling syn v1.0.40 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking unicode-xid v0.2.1 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Checking regex-syntax v0.6.20 [INFO] [stderr] Compiling indexmap v1.6.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling anyhow v1.0.33 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking number_prefix v0.3.0 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking convert_case v0.4.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking terminal_size v0.1.13 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking regex v1.4.1 [INFO] [stderr] Checking console v0.13.0 [INFO] [stderr] Checking indicatif v0.15.0 [INFO] [stderr] Compiling structopt-derive v0.4.13 [INFO] [stderr] Checking structopt v0.3.20 [INFO] [stderr] Checking proto_seeder v0.0.8 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `SeedContent` and `find_routes` [INFO] [stdout] --> src/content/view.rs:88:44 [INFO] [stdout] | [INFO] [stdout] 88 | content::{view::get_view_function, SeedContent}, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 89 | find_model, find_routes, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `indexmap::map::IndexMap` [INFO] [stdout] --> src/content/view.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | use indexmap::map::IndexMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `should_have` [INFO] [stdout] --> src/content/guard.rs:140:17 [INFO] [stdout] | [INFO] [stdout] 140 | let mut should_have: IndexMap = IndexMap::new(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_should_have` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/content/guard.rs:140:13 [INFO] [stdout] | [INFO] [stdout] 140 | let mut should_have: IndexMap = IndexMap::new(); [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: `module_meta2` [INFO] [stdout] --> src/content/module/mod.rs:329:14 [INFO] [stdout] | [INFO] [stdout] 329 | let (module_meta2, updated_parent_2,) = generate_module_meta( [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_module_meta2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/content/module/mod.rs:320:13 [INFO] [stdout] | [INFO] [stdout] 320 | let mut import_module = import_result.unwrap(); [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `debug` is never read [INFO] [stdout] --> src/main.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 27 | struct Cli { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 38 | debug: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Cli` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/content/guard.rs:17:16 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct SeedGuard { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 17 | pub(crate) name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SeedGuard` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_filepath`, `set_mod_import`, and `set_import_file_location` are never used [INFO] [stdout] --> src/content/module/mod.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 65 | impl ModuleMeta { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] 66 | pub fn set_filepath(&mut self, filepath: String,) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn set_mod_import(&mut self, mod_import: String,) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn set_import_file_location(&mut self, import_file_location: String,) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `origin_route` is never used [INFO] [stdout] --> src/content/module/mod.rs:116:12 [INFO] [stdout] | [INFO] [stdout] 91 | impl SeedModule { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 116 | pub fn origin_route(&self,) -> &Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `imports_content` is never used [INFO] [stdout] --> src/content/module/import.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl ImportModule { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn imports_content(&self,) -> &Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `current_path` is never read [INFO] [stdout] --> src/writer/mod.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct ModulesWriter { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 35 | current_path: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `source_file` is never read [INFO] [stdout] --> src/writer/checker.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Checker { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 9 | source_file: syn::File, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `debug` is never read [INFO] [stdout] --> src/main.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 27 | struct Cli { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 38 | debug: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Cli` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/content/guard.rs:17:16 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct SeedGuard { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 17 | pub(crate) name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SeedGuard` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_filepath`, `set_mod_import`, and `set_import_file_location` are never used [INFO] [stdout] --> src/content/module/mod.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 65 | impl ModuleMeta { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] 66 | pub fn set_filepath(&mut self, filepath: String,) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn set_mod_import(&mut self, mod_import: String,) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn set_import_file_location(&mut self, import_file_location: String,) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `imports_content` is never used [INFO] [stdout] --> src/content/module/import.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl ImportModule { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn imports_content(&self,) -> &Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `HOME` is never used [INFO] [stdout] --> src/content/view.rs:97:11 [INFO] [stdout] | [INFO] [stdout] 97 | const HOME: &str = r###"fn home(theme : &Theme) -> Node{div!["home"]}"###; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `current_path` is never read [INFO] [stdout] --> src/writer/mod.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct ModulesWriter { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 35 | current_path: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `source_file` is never read [INFO] [stdout] --> src/writer/checker.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Checker { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 9 | source_file: syn::File, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.87s [INFO] running `Command { std: "docker" "inspect" "caac982999fb9658b52f32ada4f22ed2f7de56c7824f73e57608500e3d9d6a46", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "caac982999fb9658b52f32ada4f22ed2f7de56c7824f73e57608500e3d9d6a46", kill_on_drop: false }` [INFO] [stdout] caac982999fb9658b52f32ada4f22ed2f7de56c7824f73e57608500e3d9d6a46