[INFO] cloning repository https://github.com/ColinFendrick/rust-todo-cli [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ColinFendrick/rust-todo-cli" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FColinFendrick%2Frust-todo-cli", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FColinFendrick%2Frust-todo-cli'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d017edafdb84a4f61b5e32d50a96de288e9bf8a9 [INFO] checking ColinFendrick/rust-todo-cli against master#836c31742687ba4e2f857b5b698e1e9e6b67619c for pr-81789 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FColinFendrick%2Frust-todo-cli" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ColinFendrick/rust-todo-cli on toolchain 836c31742687ba4e2f857b5b698e1e9e6b67619c [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+836c31742687ba4e2f857b5b698e1e9e6b67619c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ColinFendrick/rust-todo-cli [INFO] finished tweaking git repo https://github.com/ColinFendrick/rust-todo-cli [INFO] tweaked toml for git repo https://github.com/ColinFendrick/rust-todo-cli written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/ColinFendrick/rust-todo-cli already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+836c31742687ba4e2f857b5b698e1e9e6b67619c" "fetch" "--locked" "--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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+836c31742687ba4e2f857b5b698e1e9e6b67619c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] afb5207a428be2d61e08d0750337ca81dd69c98cefd2f9c85e888d3cf44517e8 [INFO] running `Command { std: "docker" "start" "-a" "afb5207a428be2d61e08d0750337ca81dd69c98cefd2f9c85e888d3cf44517e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "afb5207a428be2d61e08d0750337ca81dd69c98cefd2f9c85e888d3cf44517e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "afb5207a428be2d61e08d0750337ca81dd69c98cefd2f9c85e888d3cf44517e8", kill_on_drop: false }` [INFO] [stdout] afb5207a428be2d61e08d0750337ca81dd69c98cefd2f9c85e888d3cf44517e8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+836c31742687ba4e2f857b5b698e1e9e6b67619c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 862e1b6b1c6953fdb10c2a23adeb1eeed3da89930e09c88e4bd0d880ee1dbc74 [INFO] running `Command { std: "docker" "start" "-a" "862e1b6b1c6953fdb10c2a23adeb1eeed3da89930e09c88e4bd0d880ee1dbc74", kill_on_drop: false }` [INFO] [stderr] Checking todo-cli v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0599]: no method named `read_to_string` found for struct `File` in the current scope [INFO] [stdout] --> src/main.rs:57:11 [INFO] [stdout] | [INFO] [stdout] 57 | f.read_to_string(&mut content)?; [INFO] [stdout] | ^^^^^^^^^^^^^^ method not found in `File` [INFO] [stdout] | [INFO] [stdout] help: consider wrapping the receiver expression with the appropriate type [INFO] [stdout] | [INFO] [stdout] 57 | Box::new(f).read_to_string(&mut content)?; [INFO] [stdout] | ^^^^^^^^^ ^ [INFO] [stdout] help: consider wrapping the receiver expression with the appropriate type [INFO] [stdout] | [INFO] [stdout] 57 | Box::new(&mut f).read_to_string(&mut content)?; [INFO] [stdout] | ^^^^^^^^^^^^^ ^ [INFO] [stdout] help: consider wrapping the receiver expression with the appropriate type [INFO] [stdout] | [INFO] [stdout] 57 | Box::new(&f).read_to_string(&mut content)?; [INFO] [stdout] | ^^^^^^^^^^ ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `todo-cli` [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no method named `read_to_string` found for struct `File` in the current scope [INFO] [stdout] --> src/main.rs:57:11 [INFO] [stdout] | [INFO] [stdout] 57 | f.read_to_string(&mut content)?; [INFO] [stdout] | ^^^^^^^^^^^^^^ method not found in `File` [INFO] [stdout] | [INFO] [stdout] help: consider wrapping the receiver expression with the appropriate type [INFO] [stdout] | [INFO] [stdout] 57 | Box::new(f).read_to_string(&mut content)?; [INFO] [stdout] | ^^^^^^^^^ ^ [INFO] [stdout] help: consider wrapping the receiver expression with the appropriate type [INFO] [stdout] | [INFO] [stdout] 57 | Box::new(&mut f).read_to_string(&mut content)?; [INFO] [stdout] | ^^^^^^^^^^^^^ ^ [INFO] [stdout] help: consider wrapping the receiver expression with the appropriate type [INFO] [stdout] | [INFO] [stdout] 57 | Box::new(&f).read_to_string(&mut content)?; [INFO] [stdout] | ^^^^^^^^^^ ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "862e1b6b1c6953fdb10c2a23adeb1eeed3da89930e09c88e4bd0d880ee1dbc74", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "862e1b6b1c6953fdb10c2a23adeb1eeed3da89930e09c88e4bd0d880ee1dbc74", kill_on_drop: false }` [INFO] [stdout] 862e1b6b1c6953fdb10c2a23adeb1eeed3da89930e09c88e4bd0d880ee1dbc74