[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.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmzyl%2Fbookbytes3.0" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mzyl/bookbytes3.0 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.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-2/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.60.0" "fetch" "--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] [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-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6e6dd6fc5504d17634f44a46d150b8947e73387f67f773cc4fda9898793ab4ec [INFO] running `Command { std: "docker" "start" "-a" "6e6dd6fc5504d17634f44a46d150b8947e73387f67f773cc4fda9898793ab4ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6e6dd6fc5504d17634f44a46d150b8947e73387f67f773cc4fda9898793ab4ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e6dd6fc5504d17634f44a46d150b8947e73387f67f773cc4fda9898793ab4ec", kill_on_drop: false }` [INFO] [stdout] 6e6dd6fc5504d17634f44a46d150b8947e73387f67f773cc4fda9898793ab4ec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a01081c483f863c2427767ee3f9fa79a9cfb18fe32a57b02fd893e0d5c3b7689 [INFO] running `Command { std: "docker" "start" "-a" "a01081c483f863c2427767ee3f9fa79a9cfb18fe32a57b02fd893e0d5c3b7689", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling mac v0.1.1 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling dtoa v0.4.8 [INFO] [stderr] Compiling anyhow v1.0.40 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling nodrop v0.1.14 [INFO] [stderr] Compiling thin-slice v0.1.1 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling futf v0.1.4 [INFO] [stderr] Compiling servo_arc v0.1.1 [INFO] [stderr] Compiling dtoa-short v0.3.3 [INFO] [stderr] Compiling tendril v0.4.2 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling bzip2-sys v0.1.10+1.0.8 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling flate2 v1.0.20 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Compiling bzip2 v0.3.3 [INFO] [stderr] Compiling phf_codegen v0.8.0 [INFO] [stderr] Compiling string_cache_codegen v0.5.1 [INFO] [stderr] Compiling selectors v0.22.0 [INFO] [stderr] Compiling markup5ever v0.10.1 [INFO] [stderr] Compiling string_cache v0.8.1 [INFO] [stderr] Compiling phf_macros v0.8.0 [INFO] [stderr] Compiling cssparser v0.27.2 [INFO] [stderr] Compiling cssparser-macros v0.6.0 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling html5ever v0.25.1 [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] | ___________________________- [INFO] [stdout] 23 | | .split('\r') [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" "a01081c483f863c2427767ee3f9fa79a9cfb18fe32a57b02fd893e0d5c3b7689", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a01081c483f863c2427767ee3f9fa79a9cfb18fe32a57b02fd893e0d5c3b7689", kill_on_drop: false }` [INFO] [stdout] a01081c483f863c2427767ee3f9fa79a9cfb18fe32a57b02fd893e0d5c3b7689