[INFO] cloning repository https://github.com/mzyl/bookbytes3.0 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mzyl/bookbytes3.0" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmzyl%2Fbookbytes3.0", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmzyl%2Fbookbytes3.0'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fbe96c75280a63e6430cf789a8f06a553e73975d [INFO] testing mzyl/bookbytes3.0 against 1.55.0 for beta-1.56-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmzyl%2Fbookbytes3.0" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mzyl/bookbytes3.0 on toolchain 1.55.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mzyl/bookbytes3.0 [INFO] finished tweaking git repo https://github.com/mzyl/bookbytes3.0 [INFO] tweaked toml for git repo https://github.com/mzyl/bookbytes3.0 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/mzyl/bookbytes3.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded zip v0.5.12 [INFO] [stderr] Downloaded epub v1.2.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0a4fccd41172e1a3f07ccb9b4f51c9f8e8515c241378b29d7f6d69c687355752 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "0a4fccd41172e1a3f07ccb9b4f51c9f8e8515c241378b29d7f6d69c687355752", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0a4fccd41172e1a3f07ccb9b4f51c9f8e8515c241378b29d7f6d69c687355752", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a4fccd41172e1a3f07ccb9b4f51c9f8e8515c241378b29d7f6d69c687355752", kill_on_drop: false }` [INFO] [stdout] 0a4fccd41172e1a3f07ccb9b4f51c9f8e8515c241378b29d7f6d69c687355752 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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=warn" "-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 765ffb6e661b23879707ec6c86e89774dc4550b805f8c61b5842625b9ef4104c [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "765ffb6e661b23879707ec6c86e89774dc4550b805f8c61b5842625b9ef4104c", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling siphasher v0.3.5 [INFO] [stderr] Compiling bzip2-sys v0.1.10+1.0.8 [INFO] [stderr] Compiling dtoa-short v0.3.3 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling flate2 v1.0.20 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling string_cache v0.8.1 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Compiling phf_codegen v0.8.0 [INFO] [stderr] Compiling string_cache_codegen v0.5.1 [INFO] [stderr] Compiling bzip2 v0.3.3 [INFO] [stderr] Compiling selectors v0.22.0 [INFO] [stderr] Compiling markup5ever v0.10.1 [INFO] [stderr] Compiling phf_macros v0.8.0 [INFO] [stderr] Compiling cssparser v0.27.2 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling html5ever v0.25.1 [INFO] [stderr] Compiling cssparser-macros v0.6.0 [INFO] [stderr] Compiling derive_more v0.99.13 [INFO] [stderr] Compiling phf v0.8.0 [INFO] [stderr] Compiling thiserror v1.0.24 [INFO] [stderr] Compiling zip v0.5.12 [INFO] [stderr] Compiling epub v1.2.3 [INFO] [stderr] Compiling kuchiki v0.8.1 [INFO] [stderr] Compiling bookbytes v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::selector::*` [INFO] [stdout] --> src/book.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::selector::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ElementData` [INFO] [stdout] --> src/book.rs:4:34 [INFO] [stdout] | [INFO] [stdout] 4 | use kuchiki::{NodeData, NodeRef, ElementData}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `el` [INFO] [stdout] --> src/book.rs:77:27 [INFO] [stdout] | [INFO] [stdout] 77 | NodeData::Element(el) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_el` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing local variable `words` [INFO] [stdout] --> src/book.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 22 | let html: Vec<&str> = words [INFO] [stdout] | ----- `words` is borrowed here [INFO] [stdout] ... [INFO] [stdout] 27 | html [INFO] [stdout] | ^^^^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0515`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bookbytes` due to 2 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "765ffb6e661b23879707ec6c86e89774dc4550b805f8c61b5842625b9ef4104c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "765ffb6e661b23879707ec6c86e89774dc4550b805f8c61b5842625b9ef4104c", kill_on_drop: false }` [INFO] [stdout] 765ffb6e661b23879707ec6c86e89774dc4550b805f8c61b5842625b9ef4104c