[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#1fe72d35998dea48aeecaf7fc07783b0b553f24f for pr-154992-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqparrod%2Frust" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[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-5-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/qparrod/rust on toolchain 1fe72d35998dea48aeecaf7fc07783b0b553f24f
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1fe72d35998dea48aeecaf7fc07783b0b553f24f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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" "+1fe72d35998dea48aeecaf7fc07783b0b553f24f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[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-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1fe72d35998dea48aeecaf7fc07783b0b553f24f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 1a490038d78edb0955ebc86793221571d0804955696f15553a0be49fc27a9afa
[INFO] running `Command { std: "docker" "start" "-a" "1a490038d78edb0955ebc86793221571d0804955696f15553a0be49fc27a9afa", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1a490038d78edb0955ebc86793221571d0804955696f15553a0be49fc27a9afa", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1a490038d78edb0955ebc86793221571d0804955696f15553a0be49fc27a9afa", kill_on_drop: false }`
[INFO] [stdout] 1a490038d78edb0955ebc86793221571d0804955696f15553a0be49fc27a9afa
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1fe72d35998dea48aeecaf7fc07783b0b553f24f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f6d8f7e773a5b0ffaa63ec71498956ba9c98f0a09670fc192553a3dbcd68c409
[INFO] running `Command { std: "docker" "start" "-a" "f6d8f7e773a5b0ffaa63ec71498956ba9c98f0a09670fc192553a3dbcd68c409", kill_on_drop: false }`
[INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[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: 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:1
[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/1fe72d35998dea48aeecaf7fc07783b0b553f24f/library/std/src/path.rs:2338:11
[INFO] [stdout]   = note: statics and constants must have a statically known size
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `str: const AsRef<OsStr>` is not satisfied
[INFO] [stdout]  --> src/log.rs:8:32
[INFO] [stdout]   |
[INFO] [stdout] 8 | static path : Path = Path::new("log/test.log");
[INFO] [stdout]   |                      --------- ^^^^^^^^^^^^^^
[INFO] [stdout]   |                      |
[INFO] [stdout]   |                      required by a bound introduced by this call
[INFO] [stdout]   |
[INFO] [stdout] note: trait `AsRef` is implemented but not `const`
[INFO] [stdout]  --> /rustc/1fe72d35998dea48aeecaf7fc07783b0b553f24f/library/std/src/ffi/os_str.rs:1722:0
[INFO] [stdout] note: required by a bound in `Path::new`
[INFO] [stdout]  --> /rustc/1fe72d35998dea48aeecaf7fc07783b0b553f24f/library/std/src/path.rs:2394:4
[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[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] 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] 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]    |
[INFO] [stdout]   --> /rustc/1fe72d35998dea48aeecaf7fc07783b0b553f24f/library/std/src/io/mod.rs:1857:7
[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/1fe72d35998dea48aeecaf7fc07783b0b553f24f/library/std/src/os/unix/fs.rs:330:4
[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] Some errors have detailed explanations: E0070, E0277, E0369, E0599, E0605.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0070`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust-learning` (bin "rust-learning") due to 6 previous errors; 3 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[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:1
[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/1fe72d35998dea48aeecaf7fc07783b0b553f24f/library/std/src/path.rs:2338:11
[INFO] [stdout]   = note: statics and constants must have a statically known size
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `str: const AsRef<OsStr>` is not satisfied
[INFO] [stdout]  --> src/log.rs:8:32
[INFO] [stdout]   |
[INFO] [stdout] 8 | static path : Path = Path::new("log/test.log");
[INFO] [stdout]   |                      --------- ^^^^^^^^^^^^^^
[INFO] [stdout]   |                      |
[INFO] [stdout]   |                      required by a bound introduced by this call
[INFO] [stdout]   |
[INFO] [stdout] note: trait `AsRef` is implemented but not `const`
[INFO] [stdout]  --> /rustc/1fe72d35998dea48aeecaf7fc07783b0b553f24f/library/std/src/ffi/os_str.rs:1722:0
[INFO] [stdout] note: required by a bound in `Path::new`
[INFO] [stdout]  --> /rustc/1fe72d35998dea48aeecaf7fc07783b0b553f24f/library/std/src/path.rs:2394:4
[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[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[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]    |
[INFO] [stdout]   --> /rustc/1fe72d35998dea48aeecaf7fc07783b0b553f24f/library/std/src/io/mod.rs:1857:7
[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/1fe72d35998dea48aeecaf7fc07783b0b553f24f/library/std/src/os/unix/fs.rs:330:4
[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] Some errors have detailed explanations: E0070, E0277, E0369, E0599, E0605.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0070`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust-learning` (bin "rust-learning" test) due to 6 previous errors; 3 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "f6d8f7e773a5b0ffaa63ec71498956ba9c98f0a09670fc192553a3dbcd68c409", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f6d8f7e773a5b0ffaa63ec71498956ba9c98f0a09670fc192553a3dbcd68c409", kill_on_drop: false }`
[INFO] [stdout] f6d8f7e773a5b0ffaa63ec71498956ba9c98f0a09670fc192553a3dbcd68c409
