[INFO] crate templater 0.1.0 is already in cache [INFO] checking templater-0.1.0 against try#e4dba30b9b475d8750370c4dfb49b6541990904d for pr-71393 [INFO] extracting crate templater 0.1.0 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate templater 0.1.0 on toolchain e4dba30b9b475d8750370c4dfb49b6541990904d [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "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-5/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [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-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] dbb9156cb8ea29ed12a9ec11ff8c776892c8e871ab74b29a3c679af4b5498e06 [INFO] running `"docker" "start" "-a" "dbb9156cb8ea29ed12a9ec11ff8c776892c8e871ab74b29a3c679af4b5498e06"` [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Checking app_dirs v1.2.1 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.33.0 [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:8 [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 arguments but 3 arguments 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] | ^^^^^^^^^^^^^ ---- --------- ---- supplied 3 arguments [INFO] [stderr] | | [INFO] [stderr] | expected 2 arguments [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] warning: 1 warning emitted [INFO] [stderr] [INFO] [stderr] error: could not compile `templater`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "dbb9156cb8ea29ed12a9ec11ff8c776892c8e871ab74b29a3c679af4b5498e06"` [INFO] running `"docker" "rm" "-f" "dbb9156cb8ea29ed12a9ec11ff8c776892c8e871ab74b29a3c679af4b5498e06"` [INFO] [stdout] dbb9156cb8ea29ed12a9ec11ff8c776892c8e871ab74b29a3c679af4b5498e06