[INFO] cloning repository https://github.com/stay-on-main/rust-fs [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/stay-on-main/rust-fs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstay-on-main%2Frust-fs"` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstay-on-main%2Frust-fs'... [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 857fc3a08d492625fe61f95bb587cd42e0ed4654 [INFO] checking stay-on-main/rust-fs against beta-2019-10-27 for pr-65897 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstay-on-main%2Frust-fs" "/workspace/builds/worker-1/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/stay-on-main/rust-fs on toolchain beta-2019-10-27 [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2019-10-27" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/stay-on-main/rust-fs [INFO] finished tweaking git repo https://github.com/stay-on-main/rust-fs [INFO] tweaked toml for git repo https://github.com/stay-on-main/rust-fs written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/stay-on-main/rust-fs already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2019-10-27" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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=allow" "-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" "+beta-2019-10-27" "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] 94c0cd13889939d435c0d38f7eb8d90e83cf34f753b07cc5bf810666ff0d9a95 [INFO] running `"docker" "start" "-a" "94c0cd13889939d435c0d38f7eb8d90e83cf34f753b07cc5bf810666ff0d9a95"` [INFO] [stderr] Checking rust-fs v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0594]: cannot assign to `file.index`, as `file` is not declared as mutable [INFO] [stderr] --> src/main.rs:173:5 [INFO] [stderr] | [INFO] [stderr] 169 | let file = fs.file_open("hello.txt").unwrap(); [INFO] [stderr] | ---- help: consider changing this to be mutable: `mut file` [INFO] [stderr] ... [INFO] [stderr] 173 | file.index = 0; [INFO] [stderr] | ^^^^^^^^^^^^^^ cannot assign [INFO] [stderr] [INFO] [stderr] error[E0382]: assign to part of moved value: `file` [INFO] [stderr] --> src/main.rs:173:5 [INFO] [stderr] | [INFO] [stderr] 169 | let file = fs.file_open("hello.txt").unwrap(); [INFO] [stderr] | ---- move occurs because `file` has type `File`, which does not implement the `Copy` trait [INFO] [stderr] ... [INFO] [stderr] 172 | fs.file_close(file); [INFO] [stderr] | ---- value moved here [INFO] [stderr] 173 | file.index = 0; [INFO] [stderr] | ^^^^^^^^^^^^^^ value partially assigned here after move [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0382`. [INFO] [stderr] error: could not compile `rust-fs`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0594]: cannot assign to `file.index`, as `file` is not declared as mutable [INFO] [stderr] --> src/main.rs:173:5 [INFO] [stderr] | [INFO] [stderr] 169 | let file = fs.file_open("hello.txt").unwrap(); [INFO] [stderr] | ---- help: consider changing this to be mutable: `mut file` [INFO] [stderr] ... [INFO] [stderr] 173 | file.index = 0; [INFO] [stderr] | ^^^^^^^^^^^^^^ cannot assign [INFO] [stderr] [INFO] [stderr] error[E0382]: assign to part of moved value: `file` [INFO] [stderr] --> src/main.rs:173:5 [INFO] [stderr] | [INFO] [stderr] 169 | let file = fs.file_open("hello.txt").unwrap(); [INFO] [stderr] | ---- move occurs because `file` has type `File`, which does not implement the `Copy` trait [INFO] [stderr] ... [INFO] [stderr] 172 | fs.file_close(file); [INFO] [stderr] | ---- value moved here [INFO] [stderr] 173 | file.index = 0; [INFO] [stderr] | ^^^^^^^^^^^^^^ value partially assigned here after move [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0382`. [INFO] [stderr] error: could not compile `rust-fs`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "94c0cd13889939d435c0d38f7eb8d90e83cf34f753b07cc5bf810666ff0d9a95"` [INFO] running `"docker" "rm" "-f" "94c0cd13889939d435c0d38f7eb8d90e83cf34f753b07cc5bf810666ff0d9a95"` [INFO] [stdout] 94c0cd13889939d435c0d38f7eb8d90e83cf34f753b07cc5bf810666ff0d9a95