[INFO] cloning repository https://github.com/iampug/mod-updater [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/iampug/mod-updater" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiampug%2Fmod-updater", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiampug%2Fmod-updater'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 79df397a0c99e834dfc3130f0ba8944f082cfafd [INFO] testing iampug/mod-updater against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiampug%2Fmod-updater" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/iampug/mod-updater [INFO] finished tweaking git repo https://github.com/iampug/mod-updater [INFO] tweaked toml for git repo https://github.com/iampug/mod-updater written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/iampug/mod-updater on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/iampug/mod-updater 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded proc-macro2 v1.0.33 [INFO] [stderr] Downloaded futures-sink v0.3.18 [INFO] [stderr] Downloaded futures-core v0.3.18 [INFO] [stderr] Downloaded console v0.15.0 [INFO] [stderr] Downloaded clap_derive v3.0.0-rc.7 [INFO] [stderr] Downloaded futures-task v0.3.18 [INFO] [stderr] Downloaded security-framework-sys v2.4.2 [INFO] [stderr] Downloaded futures-channel v0.3.18 [INFO] [stderr] Downloaded security-framework v2.4.2 [INFO] [stderr] Downloaded serde_derive v1.0.131 [INFO] [stderr] Downloaded socket2 v0.4.2 [INFO] [stderr] Downloaded serde v1.0.131 [INFO] [stderr] Downloaded reqwest v0.11.7 [INFO] [stderr] Downloaded futures-util v0.3.17 [INFO] [stderr] Downloaded h2 v0.3.9 [INFO] [stderr] Downloaded clap v3.0.0-rc.7 [INFO] [stderr] Downloaded futures-io v0.3.18 [INFO] [stderr] Downloaded syn v1.0.82 [INFO] [stderr] Downloaded futures-macro v0.3.17 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.28 [INFO] [stderr] Downloaded tokio v1.14.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 895ce32fc77c12f0f97f0994dfd2bc416c88d9b4c866ac20c3068edfafa613e2 [INFO] running `Command { std: "docker" "start" "-a" "895ce32fc77c12f0f97f0994dfd2bc416c88d9b4c866ac20c3068edfafa613e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "895ce32fc77c12f0f97f0994dfd2bc416c88d9b4c866ac20c3068edfafa613e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "895ce32fc77c12f0f97f0994dfd2bc416c88d9b4c866ac20c3068edfafa613e2", kill_on_drop: false }` [INFO] [stdout] 895ce32fc77c12f0f97f0994dfd2bc416c88d9b4c866ac20c3068edfafa613e2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0b989d30f97091e3f839b6875f136184ae034bd684401f02b4ffd43305237c9a [INFO] running `Command { std: "docker" "start" "-a" "0b989d30f97091e3f839b6875f136184ae034bd684401f02b4ffd43305237c9a", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling proc-macro2 v1.0.33 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling futures-core v0.3.18 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling tokio v1.14.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling futures-macro v0.3.17 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling once_cell v1.9.0 [INFO] [stderr] Compiling futures-task v0.3.18 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling serde v1.0.131 [INFO] [stderr] Compiling http v0.2.5 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling tracing-core v0.1.21 [INFO] [stderr] Compiling futures-channel v0.3.18 [INFO] [stderr] Compiling futures-io v0.3.18 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling futures-sink v0.3.18 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling tracing v0.1.29 [INFO] [stderr] Compiling bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling crc32fast v1.3.0 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling openssl-probe v0.1.4 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling socket2 v0.4.2 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling encoding_rs v0.8.30 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling terminal_size v0.1.17 [INFO] [stderr] Compiling serde_derive v1.0.131 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling serde_json v1.0.73 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling clap_derive v3.0.0-rc.7 [INFO] [stderr] Compiling console v0.15.0 [INFO] [stderr] Compiling flate2 v1.0.22 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling bzip2 v0.4.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling os_str_bytes v6.0.0 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling number_prefix v0.4.0 [INFO] [stderr] Compiling textwrap v0.14.2 [INFO] [stderr] Compiling ipnet v2.3.1 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling zip v0.5.13 [INFO] [stderr] Compiling clap v3.0.0-rc.7 [INFO] [stderr] Compiling indicatif v0.16.2 [INFO] [stderr] Compiling h2 v0.3.9 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling hyper v0.14.16 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.7 [INFO] [stderr] Compiling mod_updater v1.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Root` in module `config` [INFO] [stdout] --> src/scanner/mod.rs:11:30 [INFO] [stdout] | [INFO] [stdout] 11 | let mut config = config::Root { [INFO] [stdout] | ^^^^ not found in `config` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use crate::structs::fabric_json::Root; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::structs::modrinth_mod::Root; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::structs::modrinth_version::Root; [INFO] [stdout] | [INFO] [stdout] help: if you import `Root`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 11 - let mut config = config::Root { [INFO] [stdout] 11 + let mut config = Root { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: borrow of moved value: `config` [INFO] [stdout] --> src/main.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 35 | let config: Config = toml::from_str( [INFO] [stdout] | ------ move occurs because `config` has type `Config`, which does not implement the `Copy` trait [INFO] [stdout] ... [INFO] [stdout] 41 | download::download(config, reqwest); [INFO] [stdout] | ------ value moved here [INFO] [stdout] ... [INFO] [stdout] 45 | &config.download.output_path [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ value borrowed here after move [INFO] [stdout] | [INFO] [stdout] note: consider changing this parameter type in function `download` to borrow instead if owning the value isn't necessary [INFO] [stdout] --> src/download/mod.rs:12:25 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn download(config: Config, client: Arc) { [INFO] [stdout] | -------- ^^^^^^ this parameter takes ownership of the value [INFO] [stdout] | | [INFO] [stdout] | in this function [INFO] [stdout] note: if `Config` implemented `Clone`, you could clone the value [INFO] [stdout] --> src/structs/config.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Config { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:41:24 [INFO] [stdout] | [INFO] [stdout] 41 | download::download(config, reqwest); [INFO] [stdout] | ------ you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0382, E0422. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0382`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mod_updater` (bin "mod_updater") due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "0b989d30f97091e3f839b6875f136184ae034bd684401f02b4ffd43305237c9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b989d30f97091e3f839b6875f136184ae034bd684401f02b4ffd43305237c9a", kill_on_drop: false }` [INFO] [stdout] 0b989d30f97091e3f839b6875f136184ae034bd684401f02b4ffd43305237c9a