[INFO] cloning repository https://github.com/anyumuenyumuboto/create-googleform-from-html [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/anyumuenyumuboto/create-googleform-from-html" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanyumuenyumuboto%2Fcreate-googleform-from-html", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanyumuenyumuboto%2Fcreate-googleform-from-html'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1d1eb0e6bc365876154c37b293881cc5d1b6315f [INFO] building anyumuenyumuboto/create-googleform-from-html against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanyumuenyumuboto%2Fcreate-googleform-from-html" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/anyumuenyumuboto/create-googleform-from-html [INFO] finished tweaking git repo https://github.com/anyumuenyumuboto/create-googleform-from-html [INFO] tweaked toml for git repo https://github.com/anyumuenyumuboto/create-googleform-from-html written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/anyumuenyumuboto/create-googleform-from-html on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/anyumuenyumuboto/create-googleform-from-html 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded itoa v1.0.13 [INFO] [stderr] Downloaded log v0.4.24 [INFO] [stderr] Downloaded selectors v0.26.0 [INFO] [stderr] Downloaded value-bag-sval2 v1.10.0 [INFO] [stderr] Downloaded servo_arc v0.4.0 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.45 [INFO] [stderr] Downloaded sval_ref v2.13.2 [INFO] [stderr] Downloaded rustls-pki-types v1.10.0 [INFO] [stderr] Downloaded pulldown-cmark-escape v0.11.0 [INFO] [stderr] Downloaded security-framework-sys v2.12.1 [INFO] [stderr] Downloaded fastrand v2.2.0 [INFO] [stderr] Downloaded sval_buffer v2.13.2 [INFO] [stderr] Downloaded env_logger v0.11.6 [INFO] [stderr] Downloaded markup5ever v0.14.0 [INFO] [stderr] Downloaded oauth2 v4.4.2 [INFO] [stderr] Downloaded pulldown-cmark v0.12.2 [INFO] [stderr] Downloaded html-builder v0.5.1 [INFO] [stderr] Downloaded sval_dynamic v2.13.2 [INFO] [stderr] Downloaded html5ever v0.29.0 [INFO] [stderr] Downloaded sval_fmt v2.13.2 [INFO] [stderr] Downloaded sval_json v2.13.2 [INFO] [stderr] Downloaded rustls v0.23.18 [INFO] [stderr] Downloaded webpki-roots v0.25.4 [INFO] [stderr] Downloaded ego-tree v0.9.0 [INFO] [stderr] Downloaded value-bag-serde1 v1.10.0 [INFO] [stderr] Downloaded sval v2.13.2 [INFO] [stderr] Downloaded hyper-rustls v0.27.3 [INFO] [stderr] Downloaded typeid v1.0.2 [INFO] [stderr] Downloaded scraper v0.21.0 [INFO] [stderr] Downloaded cssparser v0.34.0 [INFO] [stderr] Downloaded sval_nested v2.13.2 [INFO] [stderr] Downloaded sval_serde v2.13.2 [INFO] [stderr] Downloaded web-sys v0.3.72 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 04580929f0a9c1538b88fcba423f74e9fa340362dbb1eb358a9df84e5cbb83c2 [INFO] running `Command { std: "docker" "start" "-a" "04580929f0a9c1538b88fcba423f74e9fa340362dbb1eb358a9df84e5cbb83c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "04580929f0a9c1538b88fcba423f74e9fa340362dbb1eb358a9df84e5cbb83c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "04580929f0a9c1538b88fcba423f74e9fa340362dbb1eb358a9df84e5cbb83c2", kill_on_drop: false }` [INFO] [stdout] 04580929f0a9c1538b88fcba423f74e9fa340362dbb1eb358a9df84e5cbb83c2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1f6965861b047e0d6196834ac260c29f17ea631b796c38b351b8ddca525d4258 [INFO] running `Command { std: "docker" "start" "-a" "1f6965861b047e0d6196834ac260c29f17ea631b796c38b351b8ddca525d4258", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.89 [INFO] [stderr] Compiling libc v0.2.164 [INFO] [stderr] Compiling itoa v1.0.13 [INFO] [stderr] Compiling bytes v1.8.0 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling cc v1.2.1 [INFO] [stderr] Compiling log v0.4.24 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling hashbrown v0.15.1 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling openssl v0.10.68 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling mac v0.1.1 [INFO] [stderr] Compiling serde_json v1.0.133 [INFO] [stderr] Compiling futf v0.1.5 [INFO] [stderr] Compiling dtoa v1.0.9 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling ipnet v2.10.1 [INFO] [stderr] Compiling tendril v0.4.3 [INFO] [stderr] Compiling servo_arc v0.4.0 [INFO] [stderr] Compiling pulldown-cmark v0.12.2 [INFO] [stderr] Compiling dtoa-short v0.3.5 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling indexmap v2.6.0 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling getopts v0.2.21 [INFO] [stderr] Compiling webpki-roots v0.25.4 [INFO] [stderr] Compiling rustls-pki-types v1.10.0 [INFO] [stderr] Compiling clap_lex v0.7.4 [INFO] [stderr] Compiling utf8-width v0.1.7 [INFO] [stderr] Compiling cpufeatures v0.2.16 [INFO] [stderr] Compiling html-escape v0.2.13 [INFO] [stderr] Compiling env_filter v0.1.3 [INFO] [stderr] Compiling clap_builder v4.5.23 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling unicase v2.8.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling ego-tree v0.9.0 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling openssl-sys v0.9.104 [INFO] [stderr] Compiling pulldown-cmark-escape v0.11.0 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling env_logger v0.11.6 [INFO] [stderr] Compiling html-builder v0.5.1 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling serde_derive v1.0.215 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling cssparser-macros v0.6.1 [INFO] [stderr] Compiling html5ever v0.29.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Compiling clap_derive v4.5.18 [INFO] [stderr] Compiling tokio v1.41.1 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling clap v4.5.23 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling serde v1.0.215 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling phf_codegen v0.11.2 [INFO] [stderr] Compiling phf_macros v0.11.2 [INFO] [stderr] Compiling string_cache_codegen v0.5.2 [INFO] [stderr] Compiling selectors v0.26.0 [INFO] [stderr] Compiling markup5ever v0.14.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Compiling cssparser v0.34.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling tokio-util v0.7.12 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling string_cache v0.8.7 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling serde_path_to_error v0.1.16 [INFO] [stderr] Compiling h2 v0.4.7 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling scraper v0.21.0 [INFO] [stderr] Compiling hyper v1.5.1 [INFO] [stderr] Compiling hyper v0.14.31 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.9 [INFO] [stderr] Compiling hyper-rustls v0.24.2 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling oauth2 v4.4.2 [INFO] [stderr] Compiling marksurvey v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::models::google_form::GoogleForm` [INFO] [stdout] --> src/modules/authentication.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::models::google_form::GoogleForm; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models::google_form::ChoiceType` [INFO] [stdout] --> src/modules/html_to_googleform/htmlform_to_googleform.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::models::google_form::ChoiceType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `oauth2::reqwest::async_http_client` [INFO] [stdout] --> src/modules/output/create_google_forms.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use oauth2::reqwest::async_http_client; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AuthUrl`, `AuthorizationCode`, `ClientId`, `ClientSecret`, `RedirectUrl`, `Scope`, `TokenResponse`, `TokenUrl`, and `basic::BasicClient` [INFO] [stdout] --> src/modules/output/create_google_forms.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | basic::BasicClient, AuthUrl, AuthorizationCode, ClientId, ClientSecret, RedirectUrl, Scope, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^ [INFO] [stdout] 4 | TokenResponse, TokenUrl, [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Write` and `self` [INFO] [stdout] --> src/modules/output/create_google_forms.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | use std::io::{self, Write}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models::google_form::BatchUpdate` [INFO] [stdout] --> src/modules.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::models::google_form::BatchUpdate; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models::google_form::Item` [INFO] [stdout] --> src/modules.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::models::google_form::Item; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `error`, `info`, and `warn` [INFO] [stdout] --> src/modules.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 13 | use log::{debug, error, info, trace, warn}; [INFO] [stdout] | ^^^^^ ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `google_form` [INFO] [stdout] --> src/modules/googleform_to_html.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | let google_form = match google_form { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_google_form` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client_id` [INFO] [stdout] --> src/modules.rs:142:5 [INFO] [stdout] | [INFO] [stdout] 142 | client_id: &str, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_client_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client_secret` [INFO] [stdout] --> src/modules.rs:143:5 [INFO] [stdout] | [INFO] [stdout] 143 | client_secret: &str, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_client_secret` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `form_id` [INFO] [stdout] --> src/modules.rs:144:5 [INFO] [stdout] | [INFO] [stdout] 144 | form_id: &str, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_form_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HtmlForm` is never constructed [INFO] [stdout] --> src/models/html_form.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct HtmlForm { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Question` is never used [INFO] [stdout] --> src/models/html_form.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Question { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MarkdownForm` is never constructed [INFO] [stdout] --> src/models/markdown_form.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct MarkdownForm { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Question` is never used [INFO] [stdout] --> src/models/markdown_form.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum Question { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChoiceQuestion` is never constructed [INFO] [stdout] --> src/models/markdown_form.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct ChoiceQuestion { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `output`, `log_level`, and `dry_run` are never read [INFO] [stdout] --> src/modules.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct MarksurveyArgs { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 22 | pub output: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub log_level: LogLevel, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub dry_run: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MarksurveyArgs` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `google_form_to_html` is never used [INFO] [stdout] --> src/modules.rs:141:14 [INFO] [stdout] | [INFO] [stdout] 141 | pub async fn google_form_to_html( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_google_form` is never used [INFO] [stdout] --> src/modules.rs:150:21 [INFO] [stdout] | [INFO] [stdout] 150 | pub(super) async fn get_google_form( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/modules/authentication.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/modules/googleform_to_html.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | pub async fn main() -> Result<(), Box> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_access_token` is never used [INFO] [stdout] --> src/modules/googleform_to_html/fetch_google_forms.rs:15:21 [INFO] [stdout] | [INFO] [stdout] 15 | pub(super) async fn get_access_token( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fetch_google_form` is never used [INFO] [stdout] --> src/modules/googleform_to_html/fetch_google_forms.rs:64:21 [INFO] [stdout] | [INFO] [stdout] 64 | pub(super) async fn fetch_google_form( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fetch_google_form_text` is never used [INFO] [stdout] --> src/modules/googleform_to_html/fetch_google_forms.rs:93:21 [INFO] [stdout] | [INFO] [stdout] 93 | pub(super) async fn fetch_google_form_text( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `html_to_html_form` is never used [INFO] [stdout] --> src/modules/html_to_googleform.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn html_to_html_form(html_string: &str) -> HtmlForm { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `split_html_by_headings` is never used [INFO] [stdout] --> src/modules/html_to_googleform.rs:177:8 [INFO] [stdout] | [INFO] [stdout] 177 | pub fn split_html_by_headings(html: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `htmlform_to_googleform` is never used [INFO] [stdout] --> src/modules/html_to_googleform/htmlform_to_googleform.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn htmlform_to_googleform() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `googleform_item_to_googleform_choicequestion` is never used [INFO] [stdout] --> src/modules/html_to_googleform/htmlform_to_googleform.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn googleform_item_to_googleform_choicequestion(googleform_item: Item) -> GoogleForm { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/modules/input.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | pub async fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_html_file` is never used [INFO] [stdout] --> src/modules/input.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn read_html_file(file_path: &Path) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fetch_google_form` is never used [INFO] [stdout] --> src/modules/input.rs:31:21 [INFO] [stdout] | [INFO] [stdout] 31 | pub(super) async fn fetch_google_form( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_html_to_file` is never used [INFO] [stdout] --> src/modules/output.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn write_html_to_file( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_google_form` is never used [INFO] [stdout] --> src/modules/output/create_google_forms.rs:68:14 [INFO] [stdout] | [INFO] [stdout] 68 | pub async fn create_google_form( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 26s [INFO] running `Command { std: "docker" "inspect" "1f6965861b047e0d6196834ac260c29f17ea631b796c38b351b8ddca525d4258", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f6965861b047e0d6196834ac260c29f17ea631b796c38b351b8ddca525d4258", kill_on_drop: false }` [INFO] [stdout] 1f6965861b047e0d6196834ac260c29f17ea631b796c38b351b8ddca525d4258 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b57d6fb9fd738f8264c8f73fc4218e9035957fb65e018682e16f5ca58b5f1997 [INFO] running `Command { std: "docker" "start" "-a" "b57d6fb9fd738f8264c8f73fc4218e9035957fb65e018682e16f5ca58b5f1997", kill_on_drop: false }` [INFO] [stderr] Compiling marksurvey v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::models::google_form::GoogleForm` [INFO] [stdout] --> src/modules/authentication.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::models::google_form::GoogleForm; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models::google_form::ChoiceType` [INFO] [stdout] --> src/modules/html_to_googleform/htmlform_to_googleform.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::models::google_form::ChoiceType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `oauth2::reqwest::async_http_client` [INFO] [stdout] --> src/modules/output/create_google_forms.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use oauth2::reqwest::async_http_client; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AuthUrl`, `AuthorizationCode`, `ClientId`, `ClientSecret`, `RedirectUrl`, `Scope`, `TokenResponse`, `TokenUrl`, and `basic::BasicClient` [INFO] [stdout] --> src/modules/output/create_google_forms.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | basic::BasicClient, AuthUrl, AuthorizationCode, ClientId, ClientSecret, RedirectUrl, Scope, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^ [INFO] [stdout] 4 | TokenResponse, TokenUrl, [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Write` and `self` [INFO] [stdout] --> src/modules/output/create_google_forms.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | use std::io::{self, Write}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models::google_form::BatchUpdate` [INFO] [stdout] --> src/modules.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::models::google_form::BatchUpdate; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models::google_form::Item` [INFO] [stdout] --> src/modules.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::models::google_form::Item; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `error`, `info`, and `warn` [INFO] [stdout] --> src/modules.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 13 | use log::{debug, error, info, trace, warn}; [INFO] [stdout] | ^^^^^ ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `google_form` [INFO] [stdout] --> src/modules/googleform_to_html.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | let google_form = match google_form { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_google_form` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client_id` [INFO] [stdout] --> src/modules.rs:142:5 [INFO] [stdout] | [INFO] [stdout] 142 | client_id: &str, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_client_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client_secret` [INFO] [stdout] --> src/modules.rs:143:5 [INFO] [stdout] | [INFO] [stdout] 143 | client_secret: &str, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_client_secret` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `form_id` [INFO] [stdout] --> src/modules.rs:144:5 [INFO] [stdout] | [INFO] [stdout] 144 | form_id: &str, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_form_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MarkdownForm` is never constructed [INFO] [stdout] --> src/models/markdown_form.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct MarkdownForm { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Question` is never used [INFO] [stdout] --> src/models/markdown_form.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum Question { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChoiceQuestion` is never constructed [INFO] [stdout] --> src/models/markdown_form.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct ChoiceQuestion { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `output`, `log_level`, and `dry_run` are never read [INFO] [stdout] --> src/modules.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct MarksurveyArgs { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 22 | pub output: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub log_level: LogLevel, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub dry_run: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MarksurveyArgs` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `google_form_to_html` is never used [INFO] [stdout] --> src/modules.rs:141:14 [INFO] [stdout] | [INFO] [stdout] 141 | pub async fn google_form_to_html( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_google_form` is never used [INFO] [stdout] --> src/modules.rs:150:21 [INFO] [stdout] | [INFO] [stdout] 150 | pub(super) async fn get_google_form( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/modules/authentication.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/modules/googleform_to_html.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | pub async fn main() -> Result<(), Box> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_access_token` is never used [INFO] [stdout] --> src/modules/googleform_to_html/fetch_google_forms.rs:15:21 [INFO] [stdout] | [INFO] [stdout] 15 | pub(super) async fn get_access_token( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fetch_google_form` is never used [INFO] [stdout] --> src/modules/googleform_to_html/fetch_google_forms.rs:64:21 [INFO] [stdout] | [INFO] [stdout] 64 | pub(super) async fn fetch_google_form( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fetch_google_form_text` is never used [INFO] [stdout] --> src/modules/googleform_to_html/fetch_google_forms.rs:93:21 [INFO] [stdout] | [INFO] [stdout] 93 | pub(super) async fn fetch_google_form_text( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `htmlform_to_googleform` is never used [INFO] [stdout] --> src/modules/html_to_googleform/htmlform_to_googleform.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn htmlform_to_googleform() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `googleform_item_to_googleform_choicequestion` is never used [INFO] [stdout] --> src/modules/html_to_googleform/htmlform_to_googleform.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn googleform_item_to_googleform_choicequestion(googleform_item: Item) -> GoogleForm { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/modules/input.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | pub async fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_html_file` is never used [INFO] [stdout] --> src/modules/input.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn read_html_file(file_path: &Path) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fetch_google_form` is never used [INFO] [stdout] --> src/modules/input.rs:31:21 [INFO] [stdout] | [INFO] [stdout] 31 | pub(super) async fn fetch_google_form( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_html_to_file` is never used [INFO] [stdout] --> src/modules/output.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn write_html_to_file( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_google_form` is never used [INFO] [stdout] --> src/modules/output/create_google_forms.rs:68:14 [INFO] [stdout] | [INFO] [stdout] 68 | pub async fn create_google_form( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.53s [INFO] running `Command { std: "docker" "inspect" "b57d6fb9fd738f8264c8f73fc4218e9035957fb65e018682e16f5ca58b5f1997", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b57d6fb9fd738f8264c8f73fc4218e9035957fb65e018682e16f5ca58b5f1997", kill_on_drop: false }` [INFO] [stdout] b57d6fb9fd738f8264c8f73fc4218e9035957fb65e018682e16f5ca58b5f1997