[INFO] fetching crate i2pd-launch 0.3.0... [INFO] checking i2pd-launch-0.3.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate i2pd-launch 0.3.0 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate i2pd-launch 0.3.0 [INFO] finished tweaking crates.io crate i2pd-launch 0.3.0 [INFO] tweaked toml for crates.io crate i2pd-launch 0.3.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate i2pd-launch 0.3.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate i2pd-launch 0.3.0 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4e594b40c941530fbf4940efd64d7a665dfbaf4c3e2bbced504420608e2ba46e [INFO] running `Command { std: "docker" "start" "-a" "4e594b40c941530fbf4940efd64d7a665dfbaf4c3e2bbced504420608e2ba46e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4e594b40c941530fbf4940efd64d7a665dfbaf4c3e2bbced504420608e2ba46e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e594b40c941530fbf4940efd64d7a665dfbaf4c3e2bbced504420608e2ba46e", kill_on_drop: false }` [INFO] [stdout] 4e594b40c941530fbf4940efd64d7a665dfbaf4c3e2bbced504420608e2ba46e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 19e6d2be80e5ce091ecb4555ff3083daa6a19df43a596da20a6f63070adb1219 [INFO] running `Command { std: "docker" "start" "-a" "19e6d2be80e5ce091ecb4555ff3083daa6a19df43a596da20a6f63070adb1219", kill_on_drop: false }` [INFO] [stderr] Compiling windows_x86_64_gnu v0.48.5 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Checking option-ext v0.2.0 [INFO] [stderr] Checking windows-targets v0.48.5 [INFO] [stderr] Checking windows-sys v0.48.0 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking i2pd-launch v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0428]: the name `main` is defined multiple times [INFO] [stdout] --> src/main.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 20 | fn main() -> ExitCode { [INFO] [stdout] | --------------------- previous definition of the value `main` here [INFO] [stdout] ... [INFO] [stdout] 35 | fn main() -> ExitCode { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ `main` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `main` must be defined only once in the value namespace of this module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0428]: the name `main` is defined multiple times [INFO] [stdout] --> src/main.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 20 | fn main() -> ExitCode { [INFO] [stdout] | --------------------- previous definition of the value `main` here [INFO] [stdout] ... [INFO] [stdout] 35 | fn main() -> ExitCode { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ `main` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `main` must be defined only once in the value namespace of this module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `known_folder` in crate `dirs_sys` [INFO] [stdout] --> src/main.rs:37:33 [INFO] [stdout] | [INFO] [stdout] 37 | let global_i2pd = dirs_sys::known_folder(FOLDERID_ProgramData).map_or(false, |f| detect_scoop_i2pd(&f)); [INFO] [stdout] | ^^^^^^^^^^^^ not found in `dirs_sys` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dirs-sys-0.4.1/src/lib.rs:219:5 [INFO] [stdout] | [INFO] [stdout] 217 | #[cfg(target_os = "windows")] [INFO] [stdout] | --------------------- the item is gated behind the `windows` feature [INFO] [stdout] 218 | pub use self::target_windows::{ [INFO] [stdout] 219 | known_folder, known_folder_profile, known_folder_roaming_app_data, known_folder_local_app_data, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `known_folder` in crate `dirs_sys` [INFO] [stdout] --> src/main.rs:38:31 [INFO] [stdout] | [INFO] [stdout] 38 | let user_i2pd = dirs_sys::known_folder(FOLDERID_Profile).map_or(false, |f| detect_scoop_i2pd(&f)); [INFO] [stdout] | ^^^^^^^^^^^^ not found in `dirs_sys` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dirs-sys-0.4.1/src/lib.rs:219:5 [INFO] [stdout] | [INFO] [stdout] 217 | #[cfg(target_os = "windows")] [INFO] [stdout] | --------------------- the item is gated behind the `windows` feature [INFO] [stdout] 218 | pub use self::target_windows::{ [INFO] [stdout] 219 | known_folder, known_folder_profile, known_folder_roaming_app_data, known_folder_local_app_data, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `known_folder` in crate `dirs_sys` [INFO] [stdout] --> src/main.rs:110:26 [INFO] [stdout] | [INFO] [stdout] 110 | let mut f = dirs_sys::known_folder(folder).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in `dirs_sys` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dirs-sys-0.4.1/src/lib.rs:219:5 [INFO] [stdout] | [INFO] [stdout] 217 | #[cfg(target_os = "windows")] [INFO] [stdout] | --------------------- the item is gated behind the `windows` feature [INFO] [stdout] 218 | pub use self::target_windows::{ [INFO] [stdout] 219 | known_folder, known_folder_profile, known_folder_roaming_app_data, known_folder_local_app_data, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `known_folder` in crate `dirs_sys` [INFO] [stdout] --> src/main.rs:37:33 [INFO] [stdout] | [INFO] [stdout] 37 | let global_i2pd = dirs_sys::known_folder(FOLDERID_ProgramData).map_or(false, |f| detect_scoop_i2pd(&f)); [INFO] [stdout] | ^^^^^^^^^^^^ not found in `dirs_sys` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dirs-sys-0.4.1/src/lib.rs:219:5 [INFO] [stdout] | [INFO] [stdout] 217 | #[cfg(target_os = "windows")] [INFO] [stdout] | --------------------- the item is gated behind the `windows` feature [INFO] [stdout] 218 | pub use self::target_windows::{ [INFO] [stdout] 219 | known_folder, known_folder_profile, known_folder_roaming_app_data, known_folder_local_app_data, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `known_folder` in crate `dirs_sys` [INFO] [stdout] --> src/main.rs:38:31 [INFO] [stdout] | [INFO] [stdout] 38 | let user_i2pd = dirs_sys::known_folder(FOLDERID_Profile).map_or(false, |f| detect_scoop_i2pd(&f)); [INFO] [stdout] | ^^^^^^^^^^^^ not found in `dirs_sys` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dirs-sys-0.4.1/src/lib.rs:219:5 [INFO] [stdout] | [INFO] [stdout] 217 | #[cfg(target_os = "windows")] [INFO] [stdout] | --------------------- the item is gated behind the `windows` feature [INFO] [stdout] 218 | pub use self::target_windows::{ [INFO] [stdout] 219 | known_folder, known_folder_profile, known_folder_roaming_app_data, known_folder_local_app_data, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `known_folder` in crate `dirs_sys` [INFO] [stdout] --> src/main.rs:110:26 [INFO] [stdout] | [INFO] [stdout] 110 | let mut f = dirs_sys::known_folder(folder).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in `dirs_sys` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dirs-sys-0.4.1/src/lib.rs:219:5 [INFO] [stdout] | [INFO] [stdout] 217 | #[cfg(target_os = "windows")] [INFO] [stdout] | --------------------- the item is gated behind the `windows` feature [INFO] [stdout] 218 | pub use self::target_windows::{ [INFO] [stdout] 219 | known_folder, known_folder_profile, known_folder_roaming_app_data, known_folder_local_app_data, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `From` found for struct `ExitCode` in the current scope [INFO] [stdout] --> src/main.rs:22:14 [INFO] [stdout] | [INFO] [stdout] 22 | ExitCode::From(3) [INFO] [stdout] | ^^^^ associated item not found in `ExitCode` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name (notice the capitalization) [INFO] [stdout] | [INFO] [stdout] 22 - ExitCode::From(3) [INFO] [stdout] 22 + ExitCode::from(3) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `From` found for struct `ExitCode` in the current scope [INFO] [stdout] --> src/main.rs:22:14 [INFO] [stdout] | [INFO] [stdout] 22 | ExitCode::From(3) [INFO] [stdout] | ^^^^ associated item not found in `ExitCode` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from` with a similar name (notice the capitalization) [INFO] [stdout] | [INFO] [stdout] 22 - ExitCode::From(3) [INFO] [stdout] 22 + ExitCode::from(3) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0428, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `i2pd-launch` (bin "i2pd-launch") due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0425, E0428, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `i2pd-launch` (bin "i2pd-launch" test) due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "19e6d2be80e5ce091ecb4555ff3083daa6a19df43a596da20a6f63070adb1219", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "19e6d2be80e5ce091ecb4555ff3083daa6a19df43a596da20a6f63070adb1219", kill_on_drop: false }` [INFO] [stdout] 19e6d2be80e5ce091ecb4555ff3083daa6a19df43a596da20a6f63070adb1219