[INFO] crate templater 0.1.0 is already in cache [INFO] checking templater-0.1.0 against master#b61e69433951e31f7bd746e22f516a48ad41623b for prs-64470-and-65389 [INFO] extracting crate templater 0.1.0 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate templater 0.1.0 on toolchain b61e69433951e31f7bd746e22f516a48ad41623b [INFO] running `"/workspace/cargo-home/bin/cargo" "+b61e69433951e31f7bd746e22f516a48ad41623b" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate templater 0.1.0 [INFO] finished tweaking crates.io crate templater 0.1.0 [INFO] tweaked toml for crates.io crate templater 0.1.0 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+b61e69433951e31f7bd746e22f516a48ad41623b" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+b61e69433951e31f7bd746e22f516a48ad41623b" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"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" "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" "+b61e69433951e31f7bd746e22f516a48ad41623b" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] fdcecc2c4646ccb3d8f886cfa1ac7d991a7cdb9795e7398e6959d3ad8f0c7e46 [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" "fdcecc2c4646ccb3d8f886cfa1ac7d991a7cdb9795e7398e6959d3ad8f0c7e46"` [INFO] [stderr] Checking app_dirs v1.2.1 [INFO] [stderr] Checking templater v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0425]: cannot find function `load_file_contents` in this scope [INFO] [stderr] --> src/template_creation.rs:44:9 [INFO] [stderr] | [INFO] [stderr] 44 | load_file_contents("example.txt") [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] warning: function is never used: `delete_template` [INFO] [stderr] --> src/template_persist.rs:27:1 [INFO] [stderr] | [INFO] [stderr] 27 | pub fn delete_template(template_name: &str) -> Result<(), AppDirsError> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 2 parameters but 3 parameters were supplied [INFO] [stderr] --> src/template_persist.rs:49:5 [INFO] [stderr] | [INFO] [stderr] 16 | pub fn save_template(file_name: &str, template_string: &str) -> Result<(), AppDirsError> { [INFO] [stderr] | ---------------------------------------------------------------------------------------- defined here [INFO] [stderr] ... [INFO] [stderr] 49 | save_template("hi", "example", "rs"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 2 parameters [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0061, E0425. [INFO] [stderr] For more information about an error, try `rustc --explain E0061`. [INFO] [stderr] error: could not compile `templater`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "fdcecc2c4646ccb3d8f886cfa1ac7d991a7cdb9795e7398e6959d3ad8f0c7e46"` [INFO] running `"docker" "rm" "-f" "fdcecc2c4646ccb3d8f886cfa1ac7d991a7cdb9795e7398e6959d3ad8f0c7e46"` [INFO] [stdout] fdcecc2c4646ccb3d8f886cfa1ac7d991a7cdb9795e7398e6959d3ad8f0c7e46