[INFO] updating cached repository https://github.com/MinusKelvin/ppt-tas [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] 5c8105c90be44abd58e37d2978f778eed5ca03d5 [INFO] checking MinusKelvin/ppt-tas against try#e4dba30b9b475d8750370c4dfb49b6541990904d for pr-71393 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMinusKelvin%2Fppt-tas" "/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/MinusKelvin/ppt-tas on toolchain e4dba30b9b475d8750370c4dfb49b6541990904d [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/MinusKelvin/ppt-tas [INFO] finished tweaking git repo https://github.com/MinusKelvin/ppt-tas [INFO] tweaked toml for git repo https://github.com/MinusKelvin/ppt-tas written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/MinusKelvin/ppt-tas already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [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" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] df965f4ef6e68797fcf31f2241f8bce6a0cc53c52f309e571422c063fd35c153 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "df965f4ef6e68797fcf31f2241f8bce6a0cc53c52f309e571422c063fd35c153"` [INFO] [stderr] Compiling libc v0.2.65 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling nix v0.15.0 [INFO] [stderr] Checking ppt-tas v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: unused import: `Read` [INFO] [stderr] --> src/main.rs:1:23 [INFO] [stderr] | [INFO] [stderr] 1 | use std::io::{ stdin, Read }; [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `Read` [INFO] [stderr] --> src/main.rs:1:23 [INFO] [stderr] | [INFO] [stderr] 1 | use std::io::{ stdin, Read }; [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/unix.rs:27:5 [INFO] [stderr] | [INFO] [stderr] 7 | pub fn playback() -> Result<()> { [INFO] [stderr] | ---------- expected `std::result::Result<(), std::boxed::Box<(dyn std::error::Error + 'static)>>` because of return type [INFO] [stderr] ... [INFO] [stderr] 27 | detach(pid) [INFO] [stderr] | ^^^^^^^^^^^ expected struct `std::boxed::Box`, found enum `nix::Error` [INFO] [stderr] | [INFO] [stderr] = note: expected enum `std::result::Result<_, std::boxed::Box<(dyn std::error::Error + 'static)>>` [INFO] [stderr] found enum `std::result::Result<_, nix::Error>` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/unix.rs:27:5 [INFO] [stderr] | [INFO] [stderr] 7 | pub fn playback() -> Result<()> { [INFO] [stderr] | ---------- expected `std::result::Result<(), std::boxed::Box<(dyn std::error::Error + 'static)>>` because of return type [INFO] [stderr] ... [INFO] [stderr] 27 | detach(pid) [INFO] [stderr] | ^^^^^^^^^^^ expected struct `std::boxed::Box`, found enum `nix::Error` [INFO] [stderr] | [INFO] [stderr] = note: expected enum `std::result::Result<_, std::boxed::Box<(dyn std::error::Error + 'static)>>` [INFO] [stderr] found enum `std::result::Result<_, nix::Error>` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `read_to_string` found for struct `std::fs::File` in the current scope [INFO] [stderr] --> src/unix.rs:84:10 [INFO] [stderr] | [INFO] [stderr] 84 | .read_to_string(&mut cmdline).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^ method not found in `std::fs::File` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stderr] `use std::io::Read;` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `read_to_string` found for struct `std::fs::File` in the current scope [INFO] [stderr] --> src/unix.rs:84:10 [INFO] [stderr] | [INFO] [stderr] 84 | .read_to_string(&mut cmdline).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^ method not found in `std::fs::File` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stderr] `use std::io::Read;` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/unix.rs:107:5 [INFO] [stderr] | [INFO] [stderr] 92 | fn breakpoint(pid: Pid, addr: u64) -> Result<()> { [INFO] [stderr] | ---------- expected `std::result::Result<(), std::boxed::Box<(dyn std::error::Error + 'static)>>` because of return type [INFO] [stderr] ... [INFO] [stderr] 107 | setregs(pid, regs) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ expected struct `std::boxed::Box`, found enum `nix::Error` [INFO] [stderr] | [INFO] [stderr] = note: expected enum `std::result::Result<_, std::boxed::Box<(dyn std::error::Error + 'static)>>` [INFO] [stderr] found enum `std::result::Result<_, nix::Error>` [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors; 1 warning emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0308, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0308`. [INFO] [stderr] error: could not compile `ppt-tas`. [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[E0308]: mismatched types [INFO] [stderr] --> src/unix.rs:107:5 [INFO] [stderr] | [INFO] [stderr] 92 | fn breakpoint(pid: Pid, addr: u64) -> Result<()> { [INFO] [stderr] | ---------- expected `std::result::Result<(), std::boxed::Box<(dyn std::error::Error + 'static)>>` because of return type [INFO] [stderr] ... [INFO] [stderr] 107 | setregs(pid, regs) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ expected struct `std::boxed::Box`, found enum `nix::Error` [INFO] [stderr] | [INFO] [stderr] = note: expected enum `std::result::Result<_, std::boxed::Box<(dyn std::error::Error + 'static)>>` [INFO] [stderr] found enum `std::result::Result<_, nix::Error>` [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors; 1 warning emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0308, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0308`. [INFO] [stderr] error: could not compile `ppt-tas`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "df965f4ef6e68797fcf31f2241f8bce6a0cc53c52f309e571422c063fd35c153"` [INFO] running `"docker" "rm" "-f" "df965f4ef6e68797fcf31f2241f8bce6a0cc53c52f309e571422c063fd35c153"` [INFO] [stdout] df965f4ef6e68797fcf31f2241f8bce6a0cc53c52f309e571422c063fd35c153