[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#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [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 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "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" "+506512391b1a75ae450d36c9420978402a91abcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded kernel32-sys v0.2.1 [INFO] [stderr] Downloaded time v0.1.34 [INFO] [stderr] Downloaded libc v0.2.7 [INFO] [stderr] Downloaded winapi v0.2.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7511058e301fdfe47496498a2b8b920bd7a879cd066e3a799c0178921b7068ae [INFO] running `Command { std: "docker" "start" "-a" "7511058e301fdfe47496498a2b8b920bd7a879cd066e3a799c0178921b7068ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7511058e301fdfe47496498a2b8b920bd7a879cd066e3a799c0178921b7068ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7511058e301fdfe47496498a2b8b920bd7a879cd066e3a799c0178921b7068ae", kill_on_drop: false }` [INFO] [stdout] 7511058e301fdfe47496498a2b8b920bd7a879cd066e3a799c0178921b7068ae [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1181c42b81d6310c103537831e3ab98cf05112217758b5285eb0b055938a46d7 [INFO] running `Command { std: "docker" "start" "-a" "1181c42b81d6310c103537831e3ab98cf05112217758b5285eb0b055938a46d7", 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] 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]`, which is required by `Path: Sized` [INFO] [stdout] note: required because it appears within the type `Path` [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/std/src/path.rs:1991: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]`, which is required by `Path: Sized` [INFO] [stdout] note: required because it appears within the type `Path` [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/std/src/path.rs:1991: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: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]`, which is required by `Path: Sized` [INFO] [stdout] note: required because it appears within the type `Path` [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/std/src/path.rs:1991: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]`, which is required by `Path: Sized` [INFO] [stdout] note: required because it appears within the type `Path` [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/std/src/path.rs:1991: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[E0015]: cannot call non-const fn `Path::display` in statics [INFO] [stdout] --> src/log.rs:9:33 [INFO] [stdout] | [INFO] [stdout] 9 | static display : Display = path.display(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in statics are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = note: consider wrapping this expression in `Lazy::new(|| ...)` from the `once_cell` crate: https://crates.io/crates/once_cell [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const fn `Path::display` in statics [INFO] [stdout] --> src/log.rs:9:33 [INFO] [stdout] | [INFO] [stdout] 9 | static display : Display = path.display(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in statics are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] = note: consider wrapping this expression in `Lazy::new(|| ...)` from the `once_cell` crate: https://crates.io/crates/once_cell [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0070]: invalid left-hand side of assignment [INFO] [stdout] --> src/log.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | file = match File::open(&path) [INFO] [stdout] | ---- ^ [INFO] [stdout] | | [INFO] [stdout] | cannot assign to this expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0070]: invalid left-hand side of assignment [INFO] [stdout] --> src/log.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | file = match File::open(&path) [INFO] [stdout] | ---- ^ [INFO] [stdout] | | [INFO] [stdout] | cannot assign to this expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: cannot add `TmFmt<'_>` to `&str` [INFO] [stdout] --> src/log.rs:23:20 [INFO] [stdout] | [INFO] [stdout] 23 | let line = "[" + time::now().rfc822() + "] " + to_print; [INFO] [stdout] | --- ^ -------------------- TmFmt<'_> [INFO] [stdout] | | [INFO] [stdout] | &str [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: cannot add `TmFmt<'_>` to `&str` [INFO] [stdout] --> src/log.rs:23:20 [INFO] [stdout] | [INFO] [stdout] 23 | let line = "[" + time::now().rfc822() + "] " + to_print; [INFO] [stdout] | --- ^ -------------------- TmFmt<'_> [INFO] [stdout] | | [INFO] [stdout] | &str [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write_all` found for struct `File` in the current scope [INFO] [stdout] --> src/log.rs:27:16 [INFO] [stdout] | [INFO] [stdout] 27 | match file.write_all(line.as_bytes()) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/std/src/io/mod.rs:1699:8 [INFO] [stdout] | [INFO] [stdout] = note: the method is available for `File` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `write_all_at` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/std/src/os/unix/fs.rs:244:5 [INFO] [stdout] help: trait `Write` which provides `write_all` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::io::Write; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write_all` found for struct `File` in the current scope [INFO] [stdout] --> src/log.rs:27:16 [INFO] [stdout] | [INFO] [stdout] 27 | match file.write_all(line.as_bytes()) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/std/src/io/mod.rs:1699:8 [INFO] [stdout] | [INFO] [stdout] = note: the method is available for `File` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `write_all_at` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/std/src/os/unix/fs.rs:244:5 [INFO] [stdout] help: trait `Write` which provides `write_all` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::io::Write; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0015, E0070, E0277, E0308, E0369, E0599, E0605. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0015`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0015, E0070, E0277, E0308, E0369, E0599, E0605. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0015`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-learning` (bin "rust-learning" test) due to 9 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `rust-learning` (bin "rust-learning") due to 9 previous errors [INFO] running `Command { std: "docker" "inspect" "1181c42b81d6310c103537831e3ab98cf05112217758b5285eb0b055938a46d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1181c42b81d6310c103537831e3ab98cf05112217758b5285eb0b055938a46d7", kill_on_drop: false }` [INFO] [stdout] 1181c42b81d6310c103537831e3ab98cf05112217758b5285eb0b055938a46d7 [INFO] checking qparrod/rust against try#dae34b759e282c069aa28752564694effd121a63 for pr-125384 [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 dae34b759e282c069aa28752564694effd121a63 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "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" "+dae34b759e282c069aa28752564694effd121a63" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ffe6a0c72599e57c8532fa977023e95fa8de0ac18883c1755ea9f2bb31a040ad [INFO] running `Command { std: "docker" "start" "-a" "ffe6a0c72599e57c8532fa977023e95fa8de0ac18883c1755ea9f2bb31a040ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ffe6a0c72599e57c8532fa977023e95fa8de0ac18883c1755ea9f2bb31a040ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ffe6a0c72599e57c8532fa977023e95fa8de0ac18883c1755ea9f2bb31a040ad", kill_on_drop: false }` [INFO] [stdout] ffe6a0c72599e57c8532fa977023e95fa8de0ac18883c1755ea9f2bb31a040ad [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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c9fe3466a3115cf83872b2c70ddcbfa251883ab2914bcade0af3f266aac77cd2 [INFO] running `Command { std: "docker" "start" "-a" "c9fe3466a3115cf83872b2c70ddcbfa251883ab2914bcade0af3f266aac77cd2", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] no edition found in manifest, probably 2015, skipping [INFO] running `Command { std: "docker" "inspect" "c9fe3466a3115cf83872b2c70ddcbfa251883ab2914bcade0af3f266aac77cd2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c9fe3466a3115cf83872b2c70ddcbfa251883ab2914bcade0af3f266aac77cd2", kill_on_drop: false }` [INFO] [stdout] c9fe3466a3115cf83872b2c70ddcbfa251883ab2914bcade0af3f266aac77cd2