[INFO] cloning repository https://github.com/OriginalDecode/rust-learn [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/OriginalDecode/rust-learn" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOriginalDecode%2Frust-learn", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOriginalDecode%2Frust-learn'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ab01070e41f7bd6800aea709bcf97fab6d2a8f3f [INFO] testing OriginalDecode/rust-learn against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOriginalDecode%2Frust-learn" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/OriginalDecode/rust-learn on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/OriginalDecode/rust-learn [INFO] finished tweaking git repo https://github.com/OriginalDecode/rust-learn [INFO] tweaked toml for git repo https://github.com/OriginalDecode/rust-learn written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/OriginalDecode/rust-learn already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded redox_syscall v0.1.50 [INFO] [stderr] Downloaded proc-macro2 v0.4.26 [INFO] [stderr] Downloaded libc v0.2.47 [INFO] [stderr] Downloaded syn v0.15.26 [INFO] [stderr] Downloaded gfx_core v0.8.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c1ce4b1665f29f1a5f1dbbe1fe3364bcaf327a8459270f83cb9b339891efdc29 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "c1ce4b1665f29f1a5f1dbbe1fe3364bcaf327a8459270f83cb9b339891efdc29", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c1ce4b1665f29f1a5f1dbbe1fe3364bcaf327a8459270f83cb9b339891efdc29", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c1ce4b1665f29f1a5f1dbbe1fe3364bcaf327a8459270f83cb9b339891efdc29", kill_on_drop: false }` [INFO] [stdout] c1ce4b1665f29f1a5f1dbbe1fe3364bcaf327a8459270f83cb9b339891efdc29 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4949c7d6eb74dccfb06762c97605edacba8c9baaa2ad64a4f22e7d4771599b9b [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "4949c7d6eb74dccfb06762c97605edacba8c9baaa2ad64a4f22e7d4771599b9b", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling rust-learn v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0463]: can't find crate for `lazy_static` [INFO] [stdout] --> src/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate lazy_static; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `winapi` [INFO] [stdout] --> src/window.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate winapi; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `chrono` [INFO] [stdout] --> src/logger.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate chrono; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/window.rs:11:15 [INFO] [stdout] | [INFO] [stdout] 11 | use std::os::windows::prelude::*; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lazy_static` in this scope [INFO] [stdout] --> src/logger.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | lazy_static!{ static ref LOGGER : Logger = Logger::new(); } [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `lazy_static` is imported here, but it is an unresolved item, not a macro [INFO] [stdout] --> src/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate lazy_static; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Local` [INFO] [stdout] --> src/logger.rs:16:35 [INFO] [stdout] | [INFO] [stdout] 16 | let local : DateTime = Local::now(); [INFO] [stdout] | ^^^^^ use of undeclared type `Local` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MSG` in this scope [INFO] [stdout] --> src/window.rs:93:21 [INFO] [stdout] | [INFO] [stdout] 93 | let mut message : MSG = std::mem::uninitialized(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetMessageW` in this scope [INFO] [stdout] --> src/window.rs:94:6 [INFO] [stdout] | [INFO] [stdout] 94 | if GetMessageW( &mut message as *mut MSG, window.handle, 0, 0 ) > 0 { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MSG` in this scope [INFO] [stdout] --> src/window.rs:94:40 [INFO] [stdout] | [INFO] [stdout] 94 | if GetMessageW( &mut message as *mut MSG, window.handle, 0, 0 ) > 0 { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `TranslateMessage` in this scope [INFO] [stdout] --> src/window.rs:95:4 [INFO] [stdout] | [INFO] [stdout] 95 | TranslateMessage( &message as *const MSG ); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MSG` in this scope [INFO] [stdout] --> src/window.rs:95:41 [INFO] [stdout] | [INFO] [stdout] 95 | TranslateMessage( &message as *const MSG ); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DispatchMessageW` in this scope [INFO] [stdout] --> src/window.rs:96:4 [INFO] [stdout] | [INFO] [stdout] 96 | DispatchMessageW( &message as *const MSG ); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MSG` in this scope [INFO] [stdout] --> src/window.rs:96:41 [INFO] [stdout] | [INFO] [stdout] 96 | DispatchMessageW( &message as *const MSG ); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DateTime` in this scope [INFO] [stdout] --> src/logger.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | let local : DateTime = Local::now(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Local` in this scope [INFO] [stdout] --> src/logger.rs:16:26 [INFO] [stdout] | [INFO] [stdout] 15 | fn new_file() -> String { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 16 | let local : DateTime = Local::now(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `LOGGER` in this scope [INFO] [stdout] --> src/logger.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | LOGGER.write(msg); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `logger` [INFO] [stdout] --> src/window.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use logger; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `impl_mul` [INFO] [stdout] --> src/macros.rs:27:14 [INFO] [stdout] | [INFO] [stdout] 27 | macro_rules! impl_mul { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `rust_learn` [INFO] [stdout] --> src/main.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | / #[macro_use] [INFO] [stdout] 3 | | extern crate lazy_static; [INFO] [stdout] 4 | | // extern crate gfx; [INFO] [stdout] 5 | | [INFO] [stdout] ... | [INFO] [stdout] 26 | | } [INFO] [stdout] 27 | | } [INFO] [stdout] | |_^ consider adding a `main` function to `src/main.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate-level attribute should be in the root module [INFO] [stdout] --> src/window.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #![windows_subsystem = "windows"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/window.rs:93:37 [INFO] [stdout] | [INFO] [stdout] 93 | let mut message : MSG = std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope [INFO] [stdout] --> src/window.rs:12:32 [INFO] [stdout] | [INFO] [stdout] 12 | std::ffi::OsStr::new( value ).encode_wide().chain( std::iter::once( 0 ) ).collect() [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&OsStr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 18 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433, E0463, E0599, E0601. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-learn` due to 19 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "4949c7d6eb74dccfb06762c97605edacba8c9baaa2ad64a4f22e7d4771599b9b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4949c7d6eb74dccfb06762c97605edacba8c9baaa2ad64a4f22e7d4771599b9b", kill_on_drop: false }` [INFO] [stdout] 4949c7d6eb74dccfb06762c97605edacba8c9baaa2ad64a4f22e7d4771599b9b