[INFO] fetching crate cuisiner_derive 0.0.6... [INFO] testing cuisiner_derive-0.0.6 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate cuisiner_derive 0.0.6 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate cuisiner_derive 0.0.6 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate cuisiner_derive 0.0.6 [INFO] tweaked toml for crates.io crate cuisiner_derive 0.0.6 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate cuisiner_derive 0.0.6 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate cuisiner_derive 0.0.6 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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 245a6e0461a4c34f9b1e8d04ba15665c4dfb893b52d2d43b589aa5c8584e84fd [INFO] running `Command { std: "docker" "start" "-a" "245a6e0461a4c34f9b1e8d04ba15665c4dfb893b52d2d43b589aa5c8584e84fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "245a6e0461a4c34f9b1e8d04ba15665c4dfb893b52d2d43b589aa5c8584e84fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "245a6e0461a4c34f9b1e8d04ba15665c4dfb893b52d2d43b589aa5c8584e84fd", kill_on_drop: false }` [INFO] [stdout] 245a6e0461a4c34f9b1e8d04ba15665c4dfb893b52d2d43b589aa5c8584e84fd [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d01f3f98674b6a107f920e1a57a6665d45caa9afc3273a4592fb561283908f4b [INFO] running `Command { std: "docker" "start" "-a" "d01f3f98674b6a107f920e1a57a6665d45caa9afc3273a4592fb561283908f4b", kill_on_drop: false }` [INFO] [stderr] Compiling rustversion v1.0.20 [INFO] [stderr] Compiling strum_macros v0.27.1 [INFO] [stderr] Compiling strum v0.27.1 [INFO] [stderr] Compiling cuisiner_derive v0.0.6 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.43s [INFO] running `Command { std: "docker" "inspect" "d01f3f98674b6a107f920e1a57a6665d45caa9afc3273a4592fb561283908f4b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d01f3f98674b6a107f920e1a57a6665d45caa9afc3273a4592fb561283908f4b", kill_on_drop: false }` [INFO] [stdout] d01f3f98674b6a107f920e1a57a6665d45caa9afc3273a4592fb561283908f4b [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0a97406851f2e3f1ce73c29776b079e70285babd78d8d8aec2d8c5488c681c3b [INFO] running `Command { std: "docker" "start" "-a" "0a97406851f2e3f1ce73c29776b079e70285babd78d8d8aec2d8c5488c681c3b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling strum_macros v0.27.1 [INFO] [stderr] Compiling strum v0.27.1 [INFO] [stderr] Compiling cuisiner_derive v0.0.6 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `cuisiner` [INFO] [stdout] --> tests/generics.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use cuisiner::{BigEndian, Cuisiner}; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `cuisiner` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cuisiner`, use `cargo add cuisiner` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cuisiner` [INFO] [stdout] --> tests/simple.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use cuisiner::{BigEndian, Cuisiner}; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `cuisiner` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cuisiner`, use `cargo add cuisiner` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `cuisiner` in this scope [INFO] [stdout] --> tests/generics.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | #[cuisiner(assert(size = 1, generics = "u8"))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `cuisiner` is an attribute that can be used by the derive macro `Cuisiner`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 8 + #[derive(Cuisiner)] [INFO] [stdout] 9 | struct Primitive { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `cuisiner` in this scope [INFO] [stdout] --> tests/generics.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | #[cuisiner(assert(size = 1, offset = 0))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `cuisiner` is an attribute that can be used by the derive macro `Cuisiner`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `cuisiner` in this scope [INFO] [stdout] --> tests/generics.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | #[cuisiner(assert(size = 3, generics = "u8, u16"))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `cuisiner` is an attribute that can be used by the derive macro `Cuisiner`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 15 + #[derive(Cuisiner)] [INFO] [stdout] 16 | struct DoublePrimitive { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `cuisiner` in this scope [INFO] [stdout] --> tests/generics.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | #[cuisiner(assert(size = 1, offset = 0))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `cuisiner` is an attribute that can be used by the derive macro `Cuisiner`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `cuisiner` in this scope [INFO] [stdout] --> tests/generics.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | #[cuisiner(assert(size = 2, offset = 1))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `cuisiner` is an attribute that can be used by the derive macro `Cuisiner`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `cuisiner` in this scope [INFO] [stdout] --> tests/generics.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 23 | #[cuisiner(assert(small(generics = "u8", size = 1), big(generics = "u16", size = 2)))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `cuisiner` is an attribute that can be used by the derive macro `Cuisiner`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 24 + #[derive(Cuisiner)] [INFO] [stdout] 25 | struct Namespaced { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `cuisiner` in this scope [INFO] [stdout] --> tests/generics.rs:25:11 [INFO] [stdout] | [INFO] [stdout] 25 | #[cuisiner(assert(small(offset = 0, size = 1), big(offset = 0, size = 2)))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `cuisiner` is an attribute that can be used by the derive macro `Cuisiner`, you might be missing a `derive` attribute [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cuisiner_derive` (test "generics") due to 8 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no method named `to_bytes` found for struct `MyStruct` in the current scope [INFO] [stdout] --> tests/simple.rs:23:23 [INFO] [stdout] | [INFO] [stdout] 4 | struct MyStruct { [INFO] [stdout] | --------------- method `to_bytes` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 23 | let b = s.clone().to_bytes::().unwrap(); [INFO] [stdout] | ^^^^^^^^ method not found in `MyStruct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_bytes` found for struct `MyStruct` in the current scope [INFO] [stdout] --> tests/simple.rs:26:24 [INFO] [stdout] | [INFO] [stdout] 4 | struct MyStruct { [INFO] [stdout] | --------------- function or associated item `from_bytes` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 26 | let s2 = MyStruct::from_bytes::(&b).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `MyStruct` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `from_bytes`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `OsStrExt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cuisiner_derive` (test "simple") due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "0a97406851f2e3f1ce73c29776b079e70285babd78d8d8aec2d8c5488c681c3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a97406851f2e3f1ce73c29776b079e70285babd78d8d8aec2d8c5488c681c3b", kill_on_drop: false }` [INFO] [stdout] 0a97406851f2e3f1ce73c29776b079e70285babd78d8d8aec2d8c5488c681c3b