[INFO] cloning repository https://github.com/qparrod/rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/qparrod/rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqparrod%2Frust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqparrod%2Frust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d40f3bc5513856e7a293b59b61b06f8686e3f0d7 [INFO] checking qparrod/rust against master#fb4bca04fa1bde2f7db1b31a59e066f7bebd7fc6 for pr-120361 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqparrod%2Frust" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/qparrod/rust on toolchain fb4bca04fa1bde2f7db1b31a59e066f7bebd7fc6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fb4bca04fa1bde2f7db1b31a59e066f7bebd7fc6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/qparrod/rust [INFO] finished tweaking git repo https://github.com/qparrod/rust [INFO] tweaked toml for git repo https://github.com/qparrod/rust written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/qparrod/rust 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" "+fb4bca04fa1bde2f7db1b31a59e066f7bebd7fc6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking qparrod/rust against try#e35e259478581c01033b8da67214c0d376859a32 for pr-120361 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqparrod%2Frust" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/qparrod/rust on toolchain e35e259478581c01033b8da67214c0d376859a32 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e35e259478581c01033b8da67214c0d376859a32" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/qparrod/rust [INFO] finished tweaking git repo https://github.com/qparrod/rust [INFO] tweaked toml for git repo https://github.com/qparrod/rust written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/qparrod/rust 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" "+e35e259478581c01033b8da67214c0d376859a32" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded libc v0.2.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+e35e259478581c01033b8da67214c0d376859a32" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d0e592a12c384960626de6db304948e6a776727c087b953df290f6ee4e5fed9a [INFO] running `Command { std: "docker" "start" "-a" "d0e592a12c384960626de6db304948e6a776727c087b953df290f6ee4e5fed9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d0e592a12c384960626de6db304948e6a776727c087b953df290f6ee4e5fed9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0e592a12c384960626de6db304948e6a776727c087b953df290f6ee4e5fed9a", kill_on_drop: false }` [INFO] [stdout] d0e592a12c384960626de6db304948e6a776727c087b953df290f6ee4e5fed9a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+e35e259478581c01033b8da67214c0d376859a32" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 924ae83fa87c56f532ee2bfe1d898dc0c0d4d86976db39e59f1442ccf41e0d8d [INFO] running `Command { std: "docker" "start" "-a" "924ae83fa87c56f532ee2bfe1d898dc0c0d4d86976db39e59f1442ccf41e0d8d", kill_on_drop: false }` [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Checking winapi v0.2.5 [INFO] [stderr] Checking libc v0.2.7 [INFO] [stderr] Compiling kernel32-sys v0.2.1 [INFO] [stderr] Checking time v0.1.34 [INFO] [stderr] Checking rust-learning v0.0.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: found module declaration for lib.rs [INFO] [stdout] --> src/main.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub mod lib; // lib as folder lib [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: lib.rs is the root of this crate's library target [INFO] [stdout] = help: to refer to it from other targets, use the library's name as the path [INFO] [stdout] = note: `#[warn(special_module_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: found module declaration for lib.rs [INFO] [stdout] --> src/main.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub mod lib; // lib as folder lib [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: lib.rs is the root of this crate's library target [INFO] [stdout] = help: to refer to it from other targets, use the library's name as the path [INFO] [stdout] = note: `#[warn(special_module_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/log.rs:16:70 [INFO] [stdout] | [INFO] [stdout] 16 | Err(why) => panic!("couldn't create {}: {}", display, Error::description(&why)), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/log.rs:29:74 [INFO] [stdout] | [INFO] [stdout] 29 | Err(why) => { panic!("couldn't write to {}: {}", display, Error::description(&why)) }, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/log.rs:16:70 [INFO] [stdout] | [INFO] [stdout] 16 | Err(why) => panic!("couldn't create {}: {}", display, Error::description(&why)), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/log.rs:29:74 [INFO] [stdout] | [INFO] [stdout] 29 | Err(why) => { panic!("couldn't write to {}: {}", display, Error::description(&why)) }, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/log.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | static path : Path = Path::new("log/test.log"); [INFO] [stdout] | ^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `Path`, the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] note: required because it appears within the type `Path` [INFO] [stdout] --> /rustc/e35e259478581c01033b8da67214c0d376859a32/library/std/src/path.rs:1992:12 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/log.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | static path : Path = Path::new("log/test.log"); [INFO] [stdout] | ^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `Path`, the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] note: required because it appears within the type `Path` [INFO] [stdout] --> /rustc/e35e259478581c01033b8da67214c0d376859a32/library/std/src/path.rs:1992:12 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/log.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | static path : Path = Path::new("log/test.log"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `Path`, the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] note: required because it appears within the type `Path` [INFO] [stdout] --> /rustc/e35e259478581c01033b8da67214c0d376859a32/library/std/src/path.rs:1992:12 [INFO] [stdout] = note: constant expressions must have a statically known size [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/log.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | static path : Path = Path::new("log/test.log"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `Path`, the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] note: required because it appears within the type `Path` [INFO] [stdout] --> /rustc/e35e259478581c01033b8da67214c0d376859a32/library/std/src/path.rs:1992:12 [INFO] [stdout] = note: constant expressions must have a statically known size [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/log.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | static path : Path = Path::new("log/test.log"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Path`, found `&Path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/log.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | static path : Path = Path::new("log/test.log"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Path`, found `&Path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0605]: non-primitive cast: `i32` as `File` [INFO] [stdout] --> src/log.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 10 | const file : File = 0 as File; [INFO] [stdout] | ^^^^^^^^^ an `as` expression can only be used to convert between primitive types or to coerce to a specific trait object [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0605]: non-primitive cast: `i32` as `File` [INFO] [stdout] --> src/log.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 10 | const file : File = 0 as File; [INFO] [stdout] | ^^^^^^^^^ an `as` expression can only be used to convert between primitive types or to coerce to a specific trait object [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0605. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0605. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-learning` (bin "rust-learning" test) due to 5 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `rust-learning` (bin "rust-learning") due to 5 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "924ae83fa87c56f532ee2bfe1d898dc0c0d4d86976db39e59f1442ccf41e0d8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "924ae83fa87c56f532ee2bfe1d898dc0c0d4d86976db39e59f1442ccf41e0d8d", kill_on_drop: false }` [INFO] [stdout] 924ae83fa87c56f532ee2bfe1d898dc0c0d4d86976db39e59f1442ccf41e0d8d