[INFO] cloning repository https://github.com/infinityb/fourchan-dehtml [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/infinityb/fourchan-dehtml" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Finfinityb%2Ffourchan-dehtml", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Finfinityb%2Ffourchan-dehtml'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6d9160dc939f3a98f81a25ebb58b29c438b18156 [INFO] checking infinityb/fourchan-dehtml against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Finfinityb%2Ffourchan-dehtml" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/infinityb/fourchan-dehtml on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/infinityb/fourchan-dehtml [INFO] finished tweaking git repo https://github.com/infinityb/fourchan-dehtml [INFO] tweaked toml for git repo https://github.com/infinityb/fourchan-dehtml written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/infinityb/fourchan-dehtml already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-0/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5fcece2002a1e82147e65853e5c49c92dfc75b1d9327a313b6ab278653ad5bd1 [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" "5fcece2002a1e82147e65853e5c49c92dfc75b1d9327a313b6ab278653ad5bd1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5fcece2002a1e82147e65853e5c49c92dfc75b1d9327a313b6ab278653ad5bd1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5fcece2002a1e82147e65853e5c49c92dfc75b1d9327a313b6ab278653ad5bd1", kill_on_drop: false }` [INFO] [stdout] 5fcece2002a1e82147e65853e5c49c92dfc75b1d9327a313b6ab278653ad5bd1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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=forbid" "-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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 87c87c3d1b37817caec2fa204d4480e59fed9a2f733a3eea47040289de33c679 [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" "87c87c3d1b37817caec2fa204d4480e59fed9a2f733a3eea47040289de33c679", kill_on_drop: false }` [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling syn v1.0.57 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling siphasher v0.3.3 [INFO] [stderr] Compiling serde_json v1.0.61 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Checking new_debug_unreachable v1.0.4 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Checking unicode-bidi v0.2.6 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Checking log v0.4.11 [INFO] [stderr] Checking futf v0.1.4 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Checking tendril v0.4.1 [INFO] [stderr] Checking phf v0.8.0 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking uuid v0.2.3 [INFO] [stderr] Checking url v0.5.10 [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] Checking string_cache v0.8.1 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling html5ever v0.25.1 [INFO] [stderr] Compiling markup5ever v0.10.0 [INFO] [stderr] Checking dehtml v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `html5ever::rcdom` [INFO] [stdout] --> src/lib.rs:12:16 [INFO] [stdout] | [INFO] [stdout] 12 | use html5ever::rcdom::RcDom; [INFO] [stdout] | ^^^^^ could not find `rcdom` in `html5ever` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `rcdom` in `html5ever` [INFO] [stdout] --> src/dehtml.rs:54:20 [INFO] [stdout] | [INFO] [stdout] 54 | use html5ever::rcdom::ElementEnum::Normal; [INFO] [stdout] | ^^^^^ could not find `rcdom` in `html5ever` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `rcdom` in `html5ever` [INFO] [stdout] --> src/dehtml.rs:268:20 [INFO] [stdout] | [INFO] [stdout] 268 | use html5ever::rcdom::ElementEnum::Normal; [INFO] [stdout] | ^^^^^ could not find `rcdom` in `html5ever` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `html5ever::rcdom` [INFO] [stdout] --> src/dehtml.rs:6:16 [INFO] [stdout] | [INFO] [stdout] 6 | use html5ever::rcdom::{Document, Doctype, Text, Comment, Element, Handle}; [INFO] [stdout] | ^^^^^ could not find `rcdom` in `html5ever` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read src/../comments: No such file or directory (os error 2) [INFO] [stdout] --> src/lib.rs:256:36 [INFO] [stdout] | [INFO] [stdout] 256 | const COMMENTS: &'static str = include_str!("../comments"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dehtml.rs:71:29 [INFO] [stdout] | [INFO] [stdout] 71 | if let Some(node) = try!(identify_handle(handle)) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `html5ever::rcdom` [INFO] [stdout] --> src/lib.rs:12:16 [INFO] [stdout] | [INFO] [stdout] 12 | use html5ever::rcdom::RcDom; [INFO] [stdout] | ^^^^^ could not find `rcdom` in `html5ever` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `rcdom` in `html5ever` [INFO] [stdout] --> src/dehtml.rs:54:20 [INFO] [stdout] | [INFO] [stdout] 54 | use html5ever::rcdom::ElementEnum::Normal; [INFO] [stdout] | ^^^^^ could not find `rcdom` in `html5ever` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `rcdom` in `html5ever` [INFO] [stdout] --> src/dehtml.rs:268:20 [INFO] [stdout] | [INFO] [stdout] 268 | use html5ever::rcdom::ElementEnum::Normal; [INFO] [stdout] | ^^^^^ could not find `rcdom` in `html5ever` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `html5ever::rcdom` [INFO] [stdout] --> src/dehtml.rs:6:16 [INFO] [stdout] | [INFO] [stdout] 6 | use html5ever::rcdom::{Document, Doctype, Text, Comment, Element, Handle}; [INFO] [stdout] | ^^^^^ could not find `rcdom` in `html5ever` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dehtml.rs:100:23 [INFO] [stdout] | [INFO] [stdout] 100 | let post_id = try!(text[2..].parse().map_err(|_| err())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dehtml.rs:110:23 [INFO] [stdout] | [INFO] [stdout] 110 | let post_id = try!(parts[2].parse().map_err(|_| err())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dehtml.rs:116:23 [INFO] [stdout] | [INFO] [stdout] 116 | let post_id = try!(parts[2].parse().map_err(|_| err())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dehtml.rs:135:26 [INFO] [stdout] | [INFO] [stdout] 135 | let child_text = try!(child_text_res); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dehtml.rs:174:19 [INFO] [stdout] | [INFO] [stdout] 174 | let url = try!(parser.parse(&anchor.href).map_err(|err| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dehtml.rs:185:20 [INFO] [stdout] | [INFO] [stdout] 185 | let post = try!(anchor.href[2..].parse().map_err(|_| Error::BadRef)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dehtml.rs:71:29 [INFO] [stdout] | [INFO] [stdout] 71 | if let Some(node) = try!(identify_handle(handle)) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dehtml.rs:100:23 [INFO] [stdout] | [INFO] [stdout] 100 | let post_id = try!(text[2..].parse().map_err(|_| err())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dehtml.rs:189:30 [INFO] [stdout] | [INFO] [stdout] 189 | let (path, midl, frag) = try!(url::parse_path(&anchor.href).map_err(|_| Error::BadRef)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dehtml.rs:110:23 [INFO] [stdout] | [INFO] [stdout] 110 | let post_id = try!(parts[2].parse().map_err(|_| err())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dehtml.rs:116:23 [INFO] [stdout] | [INFO] [stdout] 116 | let post_id = try!(parts[2].parse().map_err(|_| err())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dehtml.rs:208:34 [INFO] [stdout] | [INFO] [stdout] 208 | let thread_num = try!(part.parse().map_err(|_| Error::BadRef)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dehtml.rs:135:26 [INFO] [stdout] | [INFO] [stdout] 135 | let child_text = try!(child_text_res); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dehtml.rs:216:22 [INFO] [stdout] | [INFO] [stdout] 216 | Some(try!(frag[1..].parse().map_err(|_| Error::BadRef))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dehtml.rs:174:19 [INFO] [stdout] | [INFO] [stdout] 174 | let url = try!(parser.parse(&anchor.href).map_err(|err| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dehtml.rs:185:20 [INFO] [stdout] | [INFO] [stdout] 185 | let post = try!(anchor.href[2..].parse().map_err(|_| Error::BadRef)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dehtml.rs:189:30 [INFO] [stdout] | [INFO] [stdout] 189 | let (path, midl, frag) = try!(url::parse_path(&anchor.href).map_err(|_| Error::BadRef)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dehtml.rs:208:34 [INFO] [stdout] | [INFO] [stdout] 208 | let thread_num = try!(part.parse().map_err(|_| Error::BadRef)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dehtml.rs:216:22 [INFO] [stdout] | [INFO] [stdout] 216 | Some(try!(frag[1..].parse().map_err(|_| Error::BadRef))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dehtml.rs:236:18 [INFO] [stdout] | [INFO] [stdout] 236 | let anchor = try!(Anchor::from_attrs(attrs).ok_or(Error::BadAnchor)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dehtml.rs:249:32 [INFO] [stdout] | [INFO] [stdout] 249 | let children = try!(identify(children)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dehtml.rs:236:18 [INFO] [stdout] | [INFO] [stdout] 236 | let anchor = try!(Anchor::from_attrs(attrs).ok_or(Error::BadAnchor)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dehtml.rs:249:32 [INFO] [stdout] | [INFO] [stdout] 249 | let children = try!(identify(children)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dehtml.rs:259:16 [INFO] [stdout] | [INFO] [stdout] 259 | let html = try!(node.children.get(0).ok_or(Error::BadDocument)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/dehtml.rs:259:16 [INFO] [stdout] | [INFO] [stdout] 259 | let html = try!(node.children.get(0).ok_or(Error::BadDocument)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `serialize` has an incompatible type for trait [INFO] [stdout] --> src/lib.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | / fn serialize(&self, serializer: &mut S) -> Result<(), S::Error> [INFO] [stdout] 37 | | where S: serde::Serializer, [INFO] [stdout] 38 | | { [INFO] [stdout] 39 | | self.as_str().serialize(serializer) [INFO] [stdout] 40 | | } [INFO] [stdout] | |_____^ expected type parameter `S`, found `&mut S` [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn(&EncapKind, S) -> std::result::Result<::Ok, _>` [INFO] [stdout] found fn pointer `fn(&EncapKind, &mut S) -> std::result::Result<(), _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `serialize` has an incompatible type for trait [INFO] [stdout] --> src/lib.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 87 | / fn serialize(&self, serializer: &mut S) -> Result<(), S::Error> [INFO] [stdout] 88 | | where S: serde::Serializer, [INFO] [stdout] 89 | | { [INFO] [stdout] 90 | | use serde::Serialize; [INFO] [stdout] ... | [INFO] [stdout] 130 | | } [INFO] [stdout] 131 | | } [INFO] [stdout] | |_____^ expected type parameter `S`, found `&mut S` [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn(&Node, S) -> std::result::Result<::Ok, _>` [INFO] [stdout] found fn pointer `fn(&Node, &mut S) -> std::result::Result<(), _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `serialize` has an incompatible type for trait [INFO] [stdout] --> src/lib.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | / fn serialize(&self, serializer: &mut S) -> Result<(), S::Error> [INFO] [stdout] 37 | | where S: serde::Serializer, [INFO] [stdout] 38 | | { [INFO] [stdout] 39 | | self.as_str().serialize(serializer) [INFO] [stdout] 40 | | } [INFO] [stdout] | |_____^ expected type parameter `S`, found `&mut S` [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn(&EncapKind, S) -> std::result::Result<::Ok, _>` [INFO] [stdout] found fn pointer `fn(&EncapKind, &mut S) -> std::result::Result<(), _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `serialize` has an incompatible type for trait [INFO] [stdout] --> src/lib.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 87 | / fn serialize(&self, serializer: &mut S) -> Result<(), S::Error> [INFO] [stdout] 88 | | where S: serde::Serializer, [INFO] [stdout] 89 | | { [INFO] [stdout] 90 | | use serde::Serialize; [INFO] [stdout] ... | [INFO] [stdout] 130 | | } [INFO] [stdout] 131 | | } [INFO] [stdout] | |_____^ expected type parameter `S`, found `&mut S` [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn(&Node, S) -> std::result::Result<::Ok, _>` [INFO] [stdout] found fn pointer `fn(&Node, &mut S) -> std::result::Result<(), _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&mut S: serde::Serializer` is not satisfied [INFO] [stdout] --> src/lib.rs:39:33 [INFO] [stdout] | [INFO] [stdout] 39 | self.as_str().serialize(serializer) [INFO] [stdout] | ^^^^^^^^^^ the trait `serde::Serializer` is not implemented for `&mut S` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&mut S: serde::Serializer` is not satisfied [INFO] [stdout] --> src/lib.rs:96:43 [INFO] [stdout] | [INFO] [stdout] 96 | ("list", nodes).serialize(serializer) [INFO] [stdout] | ^^^^^^^^^^ the trait `serde::Serializer` is not implemented for `&mut S` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&mut S: serde::Serializer` is not satisfied [INFO] [stdout] --> src/lib.rs:100:43 [INFO] [stdout] | [INFO] [stdout] 100 | (kind, subnode).serialize(serializer) [INFO] [stdout] | ^^^^^^^^^^ the trait `serde::Serializer` is not implemented for `&mut S` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&mut S: serde::Serializer` is not satisfied [INFO] [stdout] --> src/lib.rs:104:51 [INFO] [stdout] | [INFO] [stdout] 104 | ("localref", lref.post).serialize(serializer) [INFO] [stdout] | ^^^^^^^^^^ the trait `serde::Serializer` is not implemented for `&mut S` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&mut S: serde::Serializer` is not satisfied [INFO] [stdout] --> src/lib.rs:108:61 [INFO] [stdout] | [INFO] [stdout] 108 | ("globalref", "board", board).serialize(serializer) [INFO] [stdout] | ^^^^^^^^^^ the trait `serde::Serializer` is not implemented for `&mut S` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&mut S: serde::Serializer` is not satisfied [INFO] [stdout] --> src/lib.rs:111:63 [INFO] [stdout] | [INFO] [stdout] 111 | ("globalref", "catalog", board).serialize(serializer) [INFO] [stdout] | ^^^^^^^^^^ the trait `serde::Serializer` is not implemented for `&mut S` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&mut S: serde::Serializer` is not satisfied [INFO] [stdout] --> src/lib.rs:114:70 [INFO] [stdout] | [INFO] [stdout] 114 | ("globalref", "thread", board, thread).serialize(serializer) [INFO] [stdout] | ^^^^^^^^^^ the trait `serde::Serializer` is not implemented for `&mut S` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&mut S: serde::Serializer` is not satisfied [INFO] [stdout] --> src/lib.rs:117:74 [INFO] [stdout] | [INFO] [stdout] 117 | ("globalref", "post", board, thread, post).serialize(serializer) [INFO] [stdout] | ^^^^^^^^^^ the trait `serde::Serializer` is not implemented for `&mut S` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&mut S: serde::Serializer` is not satisfied [INFO] [stdout] --> src/lib.rs:120:68 [INFO] [stdout] | [INFO] [stdout] 120 | ("globalref", "search", board, term).serialize(serializer) [INFO] [stdout] | ^^^^^^^^^^ the trait `serde::Serializer` is not implemented for `&mut S` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&mut S: serde::Serializer` is not satisfied [INFO] [stdout] --> src/lib.rs:39:33 [INFO] [stdout] | [INFO] [stdout] 39 | self.as_str().serialize(serializer) [INFO] [stdout] | ^^^^^^^^^^ the trait `serde::Serializer` is not implemented for `&mut S` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&mut S: serde::Serializer` is not satisfied [INFO] [stdout] --> src/lib.rs:125:42 [INFO] [stdout] | [INFO] [stdout] 125 | ("text", text).serialize(serializer) [INFO] [stdout] | ^^^^^^^^^^ the trait `serde::Serializer` is not implemented for `&mut S` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&mut S: serde::Serializer` is not satisfied [INFO] [stdout] --> src/lib.rs:128:50 [INFO] [stdout] | [INFO] [stdout] 128 | ("anchor", url, child).serialize(serializer) [INFO] [stdout] | ^^^^^^^^^^ the trait `serde::Serializer` is not implemented for `&mut S` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&mut S: serde::Serializer` is not satisfied [INFO] [stdout] --> src/lib.rs:96:43 [INFO] [stdout] | [INFO] [stdout] 96 | ("list", nodes).serialize(serializer) [INFO] [stdout] | ^^^^^^^^^^ the trait `serde::Serializer` is not implemented for `&mut S` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&mut S: serde::Serializer` is not satisfied [INFO] [stdout] --> src/lib.rs:100:43 [INFO] [stdout] | [INFO] [stdout] 100 | (kind, subnode).serialize(serializer) [INFO] [stdout] | ^^^^^^^^^^ the trait `serde::Serializer` is not implemented for `&mut S` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&mut S: serde::Serializer` is not satisfied [INFO] [stdout] --> src/lib.rs:104:51 [INFO] [stdout] | [INFO] [stdout] 104 | ("localref", lref.post).serialize(serializer) [INFO] [stdout] | ^^^^^^^^^^ the trait `serde::Serializer` is not implemented for `&mut S` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&mut S: serde::Serializer` is not satisfied [INFO] [stdout] --> src/lib.rs:108:61 [INFO] [stdout] | [INFO] [stdout] 108 | ("globalref", "board", board).serialize(serializer) [INFO] [stdout] | ^^^^^^^^^^ the trait `serde::Serializer` is not implemented for `&mut S` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&mut S: serde::Serializer` is not satisfied [INFO] [stdout] --> src/lib.rs:111:63 [INFO] [stdout] | [INFO] [stdout] 111 | ("globalref", "catalog", board).serialize(serializer) [INFO] [stdout] | ^^^^^^^^^^ the trait `serde::Serializer` is not implemented for `&mut S` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&mut S: serde::Serializer` is not satisfied [INFO] [stdout] --> src/lib.rs:114:70 [INFO] [stdout] | [INFO] [stdout] 114 | ("globalref", "thread", board, thread).serialize(serializer) [INFO] [stdout] | ^^^^^^^^^^ the trait `serde::Serializer` is not implemented for `&mut S` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&mut S: serde::Serializer` is not satisfied [INFO] [stdout] --> src/lib.rs:117:74 [INFO] [stdout] | [INFO] [stdout] 117 | ("globalref", "post", board, thread, post).serialize(serializer) [INFO] [stdout] | ^^^^^^^^^^ the trait `serde::Serializer` is not implemented for `&mut S` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&mut S: serde::Serializer` is not satisfied [INFO] [stdout] --> src/lib.rs:120:68 [INFO] [stdout] | [INFO] [stdout] 120 | ("globalref", "search", board, term).serialize(serializer) [INFO] [stdout] | ^^^^^^^^^^ the trait `serde::Serializer` is not implemented for `&mut S` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&mut S: serde::Serializer` is not satisfied [INFO] [stdout] --> src/lib.rs:125:42 [INFO] [stdout] | [INFO] [stdout] 125 | ("text", text).serialize(serializer) [INFO] [stdout] | ^^^^^^^^^^ the trait `serde::Serializer` is not implemented for `&mut S` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&mut S: serde::Serializer` is not satisfied [INFO] [stdout] --> src/lib.rs:128:50 [INFO] [stdout] | [INFO] [stdout] 128 | ("anchor", url, child).serialize(serializer) [INFO] [stdout] | ^^^^^^^^^^ the trait `serde::Serializer` is not implemented for `&mut S` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/dehtml.rs:135:13 [INFO] [stdout] | [INFO] [stdout] 135 | let child_text = try!(child_text_res); [INFO] [stdout] | ^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/dehtml.rs:135:26 [INFO] [stdout] | [INFO] [stdout] 135 | let child_text = try!(child_text_res); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/dehtml.rs:135:26 [INFO] [stdout] | [INFO] [stdout] 135 | let child_text = try!(child_text_res); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: required by `Ok` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/dehtml.rs:135:26 [INFO] [stdout] | [INFO] [stdout] 135 | let child_text = try!(child_text_res); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: required by `Err` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::Serialize` [INFO] [stdout] --> src/lib.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | use serde::Serialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 22 previous errors; 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0053, E0277, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0053`. [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/dehtml.rs:135:13 [INFO] [stdout] | [INFO] [stdout] 135 | let child_text = try!(child_text_res); [INFO] [stdout] | ^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/dehtml.rs:135:26 [INFO] [stdout] | [INFO] [stdout] 135 | let child_text = try!(child_text_res); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/dehtml.rs:135:26 [INFO] [stdout] | [INFO] [stdout] 135 | let child_text = try!(child_text_res); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: required by `Ok` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/dehtml.rs:135:26 [INFO] [stdout] | [INFO] [stdout] 135 | let child_text = try!(child_text_res); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: required by `Err` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `dehtml` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused import: `serde::Serialize` [INFO] [stdout] --> src/lib.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | use serde::Serialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 21 previous errors; 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0053, E0277, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0053`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "87c87c3d1b37817caec2fa204d4480e59fed9a2f733a3eea47040289de33c679", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "87c87c3d1b37817caec2fa204d4480e59fed9a2f733a3eea47040289de33c679", kill_on_drop: false }` [INFO] [stdout] 87c87c3d1b37817caec2fa204d4480e59fed9a2f733a3eea47040289de33c679