[INFO] updating cached repository https://github.com/qparrod/rust [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] d40f3bc5513856e7a293b59b61b06f8686e3f0d7 [INFO] checking qparrod/rust against master#45d050cde277b22a755847338f2acc2c7b834141 for pr-71393 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqparrod%2Frust" "/workspace/builds/worker-6/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/qparrod/rust on toolchain 45d050cde277b22a755847338f2acc2c7b834141 [INFO] running `"/workspace/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "read-manifest" "--manifest-path" "Cargo.toml"` [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-6/source/Cargo.toml [INFO] crate git repo https://github.com/qparrod/rust already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /workspace/builds/worker-6/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `"/workspace/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 21d1f06ed13508766c5d1ac753cebf4e1b6078953f5cd76bc0677e224718c6ea [INFO] running `"docker" "start" "-a" "21d1f06ed13508766c5d1ac753cebf4e1b6078953f5cd76bc0677e224718c6ea"` [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking rust-learning v0.0.3 (/opt/rustwide/workdir) [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/log.rs:16:63 [INFO] [stderr] | [INFO] [stderr] 16 | Err(why) => panic!("couldn't create {}: {}", display, Error::description(&why)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/log.rs:29:67 [INFO] [stderr] | [INFO] [stderr] 29 | Err(why) => { panic!("couldn't write to {}: {}", display, Error::description(&why)) }, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stderr] --> src/log.rs:8:15 [INFO] [stderr] | [INFO] [stderr] 8 | static path : Path = Path::new("log/test.log"); [INFO] [stderr] | ^^^^ borrow the `Path` instead [INFO] [stderr] | [INFO] [stderr] = help: within `std::path::Path`, the trait `std::marker::Sized` is not implemented for `[u8]` [INFO] [stderr] = note: to learn more, visit [INFO] [stderr] = note: required because it appears within the type `std::path::Path` [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error; 2 warnings emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0277`. [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/log.rs:16:63 [INFO] [stderr] | [INFO] [stderr] 16 | Err(why) => panic!("couldn't create {}: {}", display, Error::description(&why)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/log.rs:29:67 [INFO] [stderr] | [INFO] [stderr] 29 | Err(why) => { panic!("couldn't write to {}: {}", display, Error::description(&why)) }, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: could not compile `rust-learning`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stderr] --> src/log.rs:8:15 [INFO] [stderr] | [INFO] [stderr] 8 | static path : Path = Path::new("log/test.log"); [INFO] [stderr] | ^^^^ borrow the `Path` instead [INFO] [stderr] | [INFO] [stderr] = help: within `std::path::Path`, the trait `std::marker::Sized` is not implemented for `[u8]` [INFO] [stderr] = note: to learn more, visit [INFO] [stderr] = note: required because it appears within the type `std::path::Path` [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error; 2 warnings emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0277`. [INFO] [stderr] error: could not compile `rust-learning`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "21d1f06ed13508766c5d1ac753cebf4e1b6078953f5cd76bc0677e224718c6ea"` [INFO] running `"docker" "rm" "-f" "21d1f06ed13508766c5d1ac753cebf4e1b6078953f5cd76bc0677e224718c6ea"` [INFO] [stdout] 21d1f06ed13508766c5d1ac753cebf4e1b6078953f5cd76bc0677e224718c6ea