[INFO] cloning repository https://github.com/gregtatum/rust-sketches [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gregtatum/rust-sketches" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgregtatum%2Frust-sketches", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgregtatum%2Frust-sketches'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d72efc73822d9837cb7856e6dfae8b85bcaec8bd [INFO] checking gregtatum/rust-sketches against master#0d37dca25a51fb900a402c94c8818ad1c2789e30 for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgregtatum%2Frust-sketches" "/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/gregtatum/rust-sketches on toolchain 0d37dca25a51fb900a402c94c8818ad1c2789e30 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/gregtatum/rust-sketches [INFO] finished tweaking git repo https://github.com/gregtatum/rust-sketches [INFO] tweaked toml for git repo https://github.com/gregtatum/rust-sketches written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/gregtatum/rust-sketches already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 9348cf28e6c88c82844d75266f1afe5cc0581a0d60ca07e6fb81bd62795b9473 [INFO] running `Command { std: "docker" "start" "-a" "9348cf28e6c88c82844d75266f1afe5cc0581a0d60ca07e6fb81bd62795b9473", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9348cf28e6c88c82844d75266f1afe5cc0581a0d60ca07e6fb81bd62795b9473", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9348cf28e6c88c82844d75266f1afe5cc0581a0d60ca07e6fb81bd62795b9473", kill_on_drop: false }` [INFO] [stdout] 9348cf28e6c88c82844d75266f1afe5cc0581a0d60ca07e6fb81bd62795b9473 [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=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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5a055d9ae40d8b8f8d965f466b87fe852da4f34c950ee3adf5bbd611d465b16d [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" "5a055d9ae40d8b8f8d965f466b87fe852da4f34c950ee3adf5bbd611d465b16d", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.21 [INFO] [stderr] Checking rand v0.3.15 [INFO] [stderr] Checking rust-memory v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> examples/vec-closure.rs:12:24 [INFO] [stdout] | [INFO] [stdout] 12 | let mut v: Vec Box>> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn() -> Box` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> examples/vec-closure.rs:12:36 [INFO] [stdout] | [INFO] [stdout] 12 | let mut v: Vec Box>> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn UniformValue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/match-ownership.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | let mut x = &Struct { value: 5 }; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> examples/attributes-trait-object.rs:19:48 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn add(&mut self, name: String, data: &BufferData) { [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn BufferData` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `generic_traits` [INFO] [stdout] | [INFO] [stdout] = note: consider adding a `main` function to `examples/generic-traits.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0601`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-memory` [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: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> examples/transmute-vecs.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | try!( fmtr.write_fmt(format_args!("{:02x} ", byte))); [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] --> examples/memory.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | try!( fmtr.write_fmt(format_args!("{:02x} ", byte))); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vecs2` [INFO] [stdout] --> examples/transmute-vecs.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | let vecs2 = vec![[0.0, 0.0], [1.0, 1.0]]; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_vecs2` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `transmute` [INFO] [stdout] --> examples/transmute-vecs.rs:31:4 [INFO] [stdout] | [INFO] [stdout] 31 | fn transmute() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `a` [INFO] [stdout] --> examples/memory.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | a: i32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `b` [INFO] [stdout] --> examples/memory.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | b: i32 [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> examples/transmute-vecs.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | fmtr.write_fmt(format_args!("| ")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> examples/memory.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | fmtr.write_fmt(format_args!("| ")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/iterators.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | vec = vec as Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^ expected array `[f32; 3]`, found `f32` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec<[f32; 3]>` [INFO] [stdout] found struct `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0605]: non-primitive cast: `Vec<[f32; 3]>` as `Vec` [INFO] [stdout] --> examples/iterators.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | vec = vec as Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^ an `as` expression can only be used to convert between primitive types or to coerce to a specific trait object [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0605. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "5a055d9ae40d8b8f8d965f466b87fe852da4f34c950ee3adf5bbd611d465b16d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a055d9ae40d8b8f8d965f466b87fe852da4f34c950ee3adf5bbd611d465b16d", kill_on_drop: false }` [INFO] [stdout] 5a055d9ae40d8b8f8d965f466b87fe852da4f34c950ee3adf5bbd611d465b16d