[INFO] updating cached 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" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d72efc73822d9837cb7856e6dfae8b85bcaec8bd [INFO] testing gregtatum/rust-sketches against master#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgregtatum%2Frust-sketches" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/gregtatum/rust-sketches on toolchain 8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "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-13/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" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 50e7c34206801400de45f45e3762c7ecfadc3278346af1c55d11b2806c2a77d9 [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" "50e7c34206801400de45f45e3762c7ecfadc3278346af1c55d11b2806c2a77d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "50e7c34206801400de45f45e3762c7ecfadc3278346af1c55d11b2806c2a77d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "50e7c34206801400de45f45e3762c7ecfadc3278346af1c55d11b2806c2a77d9", kill_on_drop: false }` [INFO] [stdout] 50e7c34206801400de45f45e3762c7ecfadc3278346af1c55d11b2806c2a77d9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 16e2245c8e6c498c68b3166d26650804bcf94da4c92f147b94b222b76be25622 [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" "16e2245c8e6c498c68b3166d26650804bcf94da4c92f147b94b222b76be25622", kill_on_drop: false }` [INFO] [stderr] Compiling rust-memory v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.68s [INFO] running `Command { std: "docker" "inspect" "16e2245c8e6c498c68b3166d26650804bcf94da4c92f147b94b222b76be25622", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16e2245c8e6c498c68b3166d26650804bcf94da4c92f147b94b222b76be25622", kill_on_drop: false }` [INFO] [stdout] 16e2245c8e6c498c68b3166d26650804bcf94da4c92f147b94b222b76be25622 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7608244c5633f383c8edb4c4c60a255ce4b6a5fdf9d17f2a5ffb0d3ccef25203 [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" "7608244c5633f383c8edb4c4c60a255ce4b6a5fdf9d17f2a5ffb0d3ccef25203", kill_on_drop: false }` [INFO] [stderr] Compiling 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: use of deprecated item '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: 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] warning: use of deprecated item '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] For more information about this error, try `rustc --explain E0601`. [INFO] [stdout] [INFO] [stdout] error: expected type, found `0` [INFO] [stdout] --> examples/macro-expansion.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 4 | ( $x:expr, $y:expr ) => { [INFO] [stdout] | ------- while parsing argument for this `expr` macro fragment [INFO] [stdout] ... [INFO] [stdout] 17 | cb![Box:new(0), Box::new(1)] [INFO] [stdout] | - ^ expected type [INFO] [stdout] | | [INFO] [stdout] | help: maybe write a path separator here: `::` [INFO] [stdout] | [INFO] [stdout] = note: `#![feature(type_ascription)]` lets you annotate an expression with a type: `: ` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-memory`. [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [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 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: 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: 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/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 `std::vec::Vec<[f32; 3]>` [INFO] [stdout] found struct `std::vec::Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0605]: non-primitive cast: `std::vec::Vec<[f32; 3]>` as `std::vec::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] [stdout] warning: 1 warning emitted [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: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "7608244c5633f383c8edb4c4c60a255ce4b6a5fdf9d17f2a5ffb0d3ccef25203", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7608244c5633f383c8edb4c4c60a255ce4b6a5fdf9d17f2a5ffb0d3ccef25203", kill_on_drop: false }` [INFO] [stdout] 7608244c5633f383c8edb4c4c60a255ce4b6a5fdf9d17f2a5ffb0d3ccef25203