[INFO] fetching crate picodraw 0.2.0... [INFO] checking picodraw-0.2.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate picodraw 0.2.0 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate picodraw 0.2.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate picodraw 0.2.0 [INFO] tweaked toml for crates.io crate picodraw 0.2.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate picodraw 0.2.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate picodraw 0.2.0 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded picodraw-derive v0.1.0 [INFO] [stderr] Downloaded crunch v0.5.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] eaac13b2831e18189cebbf3183d906daf6821626faeb323d476eca9e9e0b755e [INFO] running `Command { std: "docker" "start" "-a" "eaac13b2831e18189cebbf3183d906daf6821626faeb323d476eca9e9e0b755e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eaac13b2831e18189cebbf3183d906daf6821626faeb323d476eca9e9e0b755e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eaac13b2831e18189cebbf3183d906daf6821626faeb323d476eca9e9e0b755e", kill_on_drop: false }` [INFO] [stdout] eaac13b2831e18189cebbf3183d906daf6821626faeb323d476eca9e9e0b755e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] df4a732f1f4b336c52f2b603ca1ce1f138f991c718fc822a618b1f8982a9d546 [INFO] running `Command { std: "docker" "start" "-a" "df4a732f1f4b336c52f2b603ca1ce1f138f991c718fc822a618b1f8982a9d546", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking bytemuck v1.16.1 [INFO] [stderr] Checking crunch v0.5.3 [INFO] [stderr] Checking rustc-hash v2.0.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.68 [INFO] [stderr] Checking image v0.25.1 [INFO] [stderr] Compiling picodraw-derive v0.1.0 [INFO] [stderr] Checking picodraw v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable `userParam` should have a snake case name [INFO] [stdout] --> src/opengl/bindings.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | userParam: *mut c_void, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `user_param` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/opengl/codegen/atlas.rs:55:19 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn shader(&self, index: u32) -> ShaderTextures { [INFO] [stdout] | ^^^^^ -------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 55 | pub fn shader(&self, index: u32) -> ShaderTextures<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `userParam` should have a snake case name [INFO] [stdout] --> src/opengl/bindings.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | userParam: *mut c_void, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `user_param` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/opengl/codegen/atlas.rs:55:19 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn shader(&self, index: u32) -> ShaderTextures { [INFO] [stdout] | ^^^^^ -------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 55 | pub fn shader(&self, index: u32) -> ShaderTextures<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: suffixes on a tuple index are invalid [INFO] [stdout] --> examples/example.rs:133:10 [INFO] [stdout] | [INFO] [stdout] 133 | #[derive(ShaderData)] [INFO] [stdout] | ^^^^^^^^^^ invalid suffix `usize` [INFO] [stdout] | [INFO] [stdout] = help: `usize` is *temporarily* accepted on tuple index fields as it was incorrectly accepted on stable for a few releases [INFO] [stdout] = help: on proc macros, you'll want to use `syn::Index::from` or `proc_macro::Literal::*_unsuffixed` for code that will desugar to tuple field access [INFO] [stdout] = help: see issue #60210 for more information [INFO] [stdout] = note: this warning originates in the derive macro `ShaderData` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `baseview` [INFO] [stdout] --> examples/example.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use baseview::{ [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `baseview` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `baseview`, use `cargo add baseview` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `baseview` [INFO] [stdout] --> examples/example.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use baseview::{ [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `baseview` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `baseview`, use `cargo add baseview` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `shader` in this scope [INFO] [stdout] --> examples/example.rs:141:7 [INFO] [stdout] | [INFO] [stdout] 141 | #[shader(ignore)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `shader` in this scope [INFO] [stdout] --> examples/example.rs:144:7 [INFO] [stdout] | [INFO] [stdout] 144 | #[shader(F16_01)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `prefix_vars` in crate `picodraw` [INFO] [stdout] --> examples/example.rs:133:10 [INFO] [stdout] | [INFO] [stdout] 133 | #[derive(ShaderData)] [INFO] [stdout] | ^^^^^^^^^^ not found in `picodraw` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `ShaderData` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `prefix_writer` in crate `picodraw` [INFO] [stdout] --> examples/example.rs:133:10 [INFO] [stdout] | [INFO] [stdout] 133 | #[derive(ShaderData)] [INFO] [stdout] | ^^^^^^^^^^ not found in `picodraw` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `ShaderData` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `prefix_vars` in crate `picodraw` [INFO] [stdout] --> examples/example.rs:136:10 [INFO] [stdout] | [INFO] [stdout] 136 | #[derive(ShaderData)] [INFO] [stdout] | ^^^^^^^^^^ not found in `picodraw` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `ShaderData` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `prefix_writer` in crate `picodraw` [INFO] [stdout] --> examples/example.rs:136:10 [INFO] [stdout] | [INFO] [stdout] 136 | #[derive(ShaderData)] [INFO] [stdout] | ^^^^^^^^^^ not found in `picodraw` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `ShaderData` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `u64: ShaderData` is not satisfied [INFO] [stdout] --> examples/example.rs:136:10 [INFO] [stdout] | [INFO] [stdout] 136 | #[derive(ShaderData)] [INFO] [stdout] | ^^^^^^^^^^ the trait `ShaderData` is not implemented for `u64` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `ShaderData`: [INFO] [stdout] f32 [INFO] [stdout] f64 [INFO] [stdout] i16 [INFO] [stdout] i32 [INFO] [stdout] i8 [INFO] [stdout] u16 [INFO] [stdout] u32 [INFO] [stdout] u8 [INFO] [stdout] = note: this error originates in the derive macro `ShaderData` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `picodraw` (example "example") due to 9 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "df4a732f1f4b336c52f2b603ca1ce1f138f991c718fc822a618b1f8982a9d546", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df4a732f1f4b336c52f2b603ca1ce1f138f991c718fc822a618b1f8982a9d546", kill_on_drop: false }` [INFO] [stdout] df4a732f1f4b336c52f2b603ca1ce1f138f991c718fc822a618b1f8982a9d546