[INFO] fetching crate libssg 0.1.1... [INFO] checking libssg-0.1.1 against try#52ae2445414b2a196b318d85c2819995c6e5f1aa for pr-133397 [INFO] extracting crate libssg 0.1.1 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate libssg 0.1.1 on toolchain 52ae2445414b2a196b318d85c2819995c6e5f1aa [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+52ae2445414b2a196b318d85c2819995c6e5f1aa" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate libssg 0.1.1 [INFO] finished tweaking crates.io crate libssg 0.1.1 [INFO] tweaked toml for crates.io crate libssg 0.1.1 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate crates.io crate libssg 0.1.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+52ae2445414b2a196b318d85c2819995c6e5f1aa" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+52ae2445414b2a196b318d85c2819995c6e5f1aa" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 17988b22c46ae84f437374740655c7f293443ba45709773df37fc1999dc62275 [INFO] running `Command { std: "docker" "start" "-a" "17988b22c46ae84f437374740655c7f293443ba45709773df37fc1999dc62275", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "17988b22c46ae84f437374740655c7f293443ba45709773df37fc1999dc62275", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17988b22c46ae84f437374740655c7f293443ba45709773df37fc1999dc62275", kill_on_drop: false }` [INFO] [stdout] 17988b22c46ae84f437374740655c7f293443ba45709773df37fc1999dc62275 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+52ae2445414b2a196b318d85c2819995c6e5f1aa" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 241b6e6f31da57edf65e2c3c00cb629a52764872bb2fdfd572a7ffcddf35aa3f [INFO] running `Command { std: "docker" "start" "-a" "241b6e6f31da57edf65e2c3c00cb629a52764872bb2fdfd572a7ffcddf35aa3f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.8 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.14 [INFO] [stderr] Compiling ucd-trie v0.1.2 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling memchr v2.3.0 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling pest v2.1.2 [INFO] [stderr] Checking itoa v0.4.5 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Checking md5 v0.6.1 [INFO] [stderr] Checking regex-syntax v0.6.14 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking aho-corasick v0.7.8 [INFO] [stderr] Checking uuid v0.8.1 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling pest_meta v2.1.2 [INFO] [stderr] Checking regex v1.3.4 [INFO] [stderr] Compiling pest_generator v2.1.1 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Checking serde_json v1.0.47 [INFO] [stderr] Checking handlebars v3.0.1 [INFO] [stderr] Checking libssg v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/compilers.rs:87:14 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Deserialize, Debug, Default)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/compilers.rs:95:14 [INFO] [stdout] | [INFO] [stdout] 95 | #[derive(Deserialize, Debug)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/compilers.rs:135:14 [INFO] [stdout] | [INFO] [stdout] 135 | #[derive(Deserialize, Debug)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/compilers.rs:218:14 [INFO] [stdout] | [INFO] [stdout] 218 | #[derive(Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/compilers.rs:87:14 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Deserialize, Debug, Default)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/compilers.rs:95:14 [INFO] [stdout] | [INFO] [stdout] 95 | #[derive(Deserialize, Debug)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/compilers.rs:135:14 [INFO] [stdout] | [INFO] [stdout] 135 | #[derive(Deserialize, Debug)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/compilers.rs:218:14 [INFO] [stdout] | [INFO] [stdout] 218 | #[derive(Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0631]: type mismatch in closure arguments [INFO] [stdout] --> src/rules.rs:115:30 [INFO] [stdout] | [INFO] [stdout] 115 | ... Renderer::Custom(Box::new(|metadata| { [INFO] [stdout] | ^ ---------- found signature defined here [INFO] [stdout] | ________________________| [INFO] [stdout] | | [INFO] [stdout] 116 | | ... Ok(if let Value::Object(ref map) = metadata { [INFO] [stdout] 117 | | ... map.get("body").and_then(|b| b.as_str()).ok_or_else(|| format!("Internal error while building rss feed: metadata does not c... [INFO] [stdout] 118 | | ... } else { [INFO] [stdout] 119 | | ... String::new() [INFO] [stdout] 120 | | ... }) [INFO] [stdout] 121 | | ... })), [INFO] [stdout] | |________^ expected due to this [INFO] [stdout] | [INFO] [stdout] = note: expected closure signature `for<'a> fn(&'a mut JsonValue) -> _` [INFO] [stdout] found closure signature `fn(JsonValue) -> _` [INFO] [stdout] note: required for `{closure@src/rules.rs:115:39: 115:49}` to implement `BFn` [INFO] [stdout] --> src/renderers.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | impl BFn for T [INFO] [stdout] | ^^^ ^ [INFO] [stdout] 31 | where [INFO] [stdout] 32 | T: 'static + Clone + Fn(&mut Value) -> Result, [INFO] [stdout] | -------------- unsatisfied trait bound introduced here [INFO] [stdout] = note: required for the cast from `Box<{closure@src/rules.rs:115:39: 115:49}>` to `Box<(dyn BFn + 'static)>` [INFO] [stdout] help: consider adjusting the signature so it borrows its argument [INFO] [stdout] | [INFO] [stdout] 115 | Renderer::Custom(Box::new(|&mut metadata| { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0631]: type mismatch in closure arguments [INFO] [stdout] --> src/rules.rs:115:30 [INFO] [stdout] | [INFO] [stdout] 115 | ... Renderer::Custom(Box::new(|metadata| { [INFO] [stdout] | ^ ---------- found signature defined here [INFO] [stdout] | ________________________| [INFO] [stdout] | | [INFO] [stdout] 116 | | ... Ok(if let Value::Object(ref map) = metadata { [INFO] [stdout] 117 | | ... map.get("body").and_then(|b| b.as_str()).ok_or_else(|| format!("Internal error while building rss feed: metadata does not c... [INFO] [stdout] 118 | | ... } else { [INFO] [stdout] 119 | | ... String::new() [INFO] [stdout] 120 | | ... }) [INFO] [stdout] 121 | | ... })), [INFO] [stdout] | |________^ expected due to this [INFO] [stdout] | [INFO] [stdout] = note: expected closure signature `for<'a> fn(&'a mut JsonValue) -> _` [INFO] [stdout] found closure signature `fn(JsonValue) -> _` [INFO] [stdout] note: required for `{closure@src/rules.rs:115:39: 115:49}` to implement `BFn` [INFO] [stdout] --> src/renderers.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | impl BFn for T [INFO] [stdout] | ^^^ ^ [INFO] [stdout] 31 | where [INFO] [stdout] 32 | T: 'static + Clone + Fn(&mut Value) -> Result, [INFO] [stdout] | -------------- unsatisfied trait bound introduced here [INFO] [stdout] = note: required for the cast from `Box<{closure@src/rules.rs:115:39: 115:49}>` to `Box<(dyn BFn + 'static)>` [INFO] [stdout] help: consider adjusting the signature so it borrows its argument [INFO] [stdout] | [INFO] [stdout] 115 | Renderer::Custom(Box::new(|&mut metadata| { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0631`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0631`. [INFO] [stdout] [INFO] [stderr] error: could not compile `libssg` (lib) due to 1 previous error; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `libssg` (lib test) due to 1 previous error; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "241b6e6f31da57edf65e2c3c00cb629a52764872bb2fdfd572a7ffcddf35aa3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "241b6e6f31da57edf65e2c3c00cb629a52764872bb2fdfd572a7ffcddf35aa3f", kill_on_drop: false }` [INFO] [stdout] 241b6e6f31da57edf65e2c3c00cb629a52764872bb2fdfd572a7ffcddf35aa3f