[INFO] cloning repository https://github.com/theotherphil/talks [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/theotherphil/talks" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftheotherphil%2Ftalks", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftheotherphil%2Ftalks'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1497aa68a0bcbf21110a11d10c7294aed9d43012 [INFO] checking theotherphil/talks against master#cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c for pr-143170 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftheotherphil%2Ftalks" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/theotherphil/talks [INFO] finished tweaking git repo https://github.com/theotherphil/talks [INFO] tweaked toml for git repo https://github.com/theotherphil/talks written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/theotherphil/talks on toolchain cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/theotherphil/talks 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" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_derive v1.0.97 [INFO] [stderr] Downloaded crossbeam-deque v0.6.3 [INFO] [stderr] Downloaded crossbeam-epoch v0.7.1 [INFO] [stderr] Downloaded crossbeam-utils v0.6.5 [INFO] [stderr] Downloaded bitflags v1.2.0 [INFO] [stderr] Downloaded either v1.5.2 [INFO] [stderr] Downloaded unicase v2.5.1 [INFO] [stderr] Downloaded serde v1.0.97 [INFO] [stderr] Downloaded rayon-core v1.5.0 [INFO] [stderr] Downloaded rayon v1.1.0 [INFO] [stderr] Downloaded syn v0.15.39 [INFO] [stderr] Downloaded pulldown-cmark v0.6.0 [INFO] [stderr] Downloaded libc v0.2.60 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f0db1d59a9a9e047f7ee902f32404973e057477b8d727d24416241832284a9fe [INFO] running `Command { std: "docker" "start" "-a" "f0db1d59a9a9e047f7ee902f32404973e057477b8d727d24416241832284a9fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f0db1d59a9a9e047f7ee902f32404973e057477b8d727d24416241832284a9fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f0db1d59a9a9e047f7ee902f32404973e057477b8d727d24416241832284a9fe", kill_on_drop: false }` [INFO] [stdout] f0db1d59a9a9e047f7ee902f32404973e057477b8d727d24416241832284a9fe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4a7884a5e61bbeb9b2f55c5cdf3a099353fabe458ae2fcf128f43e6c2e321190 [INFO] running `Command { std: "docker" "start" "-a" "4a7884a5e61bbeb9b2f55c5cdf3a099353fabe458ae2fcf128f43e6c2e321190", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Checking lazy_static v1.3.0 [INFO] [stderr] Checking cfg-if v0.1.9 [INFO] [stderr] Compiling arrayvec v0.4.11 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking nodrop v0.1.13 [INFO] [stderr] Compiling libc v0.2.60 [INFO] [stderr] Compiling syn v0.15.39 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Checking crossbeam-utils v0.6.5 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Checking memoffset v0.2.1 [INFO] [stderr] Compiling ryu v1.0.0 [INFO] [stderr] Compiling bitflags v1.2.0 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling rayon-core v1.5.0 [INFO] [stderr] Compiling unicase v2.5.1 [INFO] [stderr] Compiling serde v1.0.97 [INFO] [stderr] Checking crossbeam-queue v0.1.2 [INFO] [stderr] Compiling pulldown-cmark v0.6.0 [INFO] [stderr] Checking unicode-width v0.1.6 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Checking crossbeam-epoch v0.7.1 [INFO] [stderr] Checking itoa v0.4.4 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking either v1.5.2 [INFO] [stderr] Checking crossbeam-deque v0.6.3 [INFO] [stderr] Checking num_cpus v1.10.1 [INFO] [stderr] Checking rayon v1.1.0 [INFO] [stderr] Compiling serde_derive v1.0.97 [INFO] [stderr] Checking serde_json v1.0.40 [INFO] [stderr] Checking talks v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `html` [INFO] [stdout] --> src/lib.rs:9:39 [INFO] [stdout] | [INFO] [stdout] 9 | use pulldown_cmark::{Parser, Options, html, Event, Tag}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> src/lib.rs:218:56 [INFO] [stdout] | [INFO] [stdout] 218 | fn render<'a, W: Write, I: Iterator>>(w: &mut W, iter: I) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `split_markdown` is never used [INFO] [stdout] --> src/lib.rs:163:4 [INFO] [stdout] | [INFO] [stdout] 163 | fn split_markdown<'a>(input: &'a str, sections: &[&str]) -> Vec>> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `render` is never used [INFO] [stdout] --> src/lib.rs:218:4 [INFO] [stdout] | [INFO] [stdout] 218 | fn render<'a, W: Write, I: Iterator>>(w: &mut W, iter: I) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `push_header` is never used [INFO] [stdout] --> src/lib.rs:294:4 [INFO] [stdout] | [INFO] [stdout] 294 | fn push_header<'a>(out: &mut Vec>, level: u32, text: &pulldown_cmark::CowStr<'a>) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> src/lib.rs:218:56 [INFO] [stdout] | [INFO] [stdout] 218 | fn render<'a, W: Write, I: Iterator>>(w: &mut W, iter: I) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `render` is never used [INFO] [stdout] --> src/lib.rs:218:4 [INFO] [stdout] | [INFO] [stdout] 218 | fn render<'a, W: Write, I: Iterator>>(w: &mut W, iter: I) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `xs` as mutable because it is also borrowed as immutable [INFO] [stdout] --> examples/iterator_invalidation.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | let x = &xs[0]; [INFO] [stdout] | -- immutable borrow occurs here [INFO] [stdout] 5 | xs.push(4); [INFO] [stdout] | ^^^^^^^^^^ mutable borrow occurs here [INFO] [stdout] 6 | println!("{}", x); [INFO] [stdout] | - immutable borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0502`. [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> examples/proc_macros.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [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 `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] --> examples/proc_macros.rs:5:28 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [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] [stderr] error: could not compile `talks` (example "iterator_invalidation") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: field `source` is never read [INFO] [stdout] --> examples/data_race.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | struct Image { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 6 | source: String [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Image` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> examples/proc_macros.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Thing` [INFO] [stdout] 6 | struct Thing { [INFO] [stdout] | ----- `Thing` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [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: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> examples/proc_macros.rs:5:28 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Thing` [INFO] [stdout] 6 | struct Thing { [INFO] [stdout] | ----- `Thing` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [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] running `Command { std: "docker" "inspect" "4a7884a5e61bbeb9b2f55c5cdf3a099353fabe458ae2fcf128f43e6c2e321190", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a7884a5e61bbeb9b2f55c5cdf3a099353fabe458ae2fcf128f43e6c2e321190", kill_on_drop: false }` [INFO] [stdout] 4a7884a5e61bbeb9b2f55c5cdf3a099353fabe458ae2fcf128f43e6c2e321190