[INFO] fetching crate fadroma-derive-canonize 0.3.5... [INFO] checking fadroma-derive-canonize-0.3.5 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate fadroma-derive-canonize 0.3.5 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate fadroma-derive-canonize 0.3.5 [INFO] finished tweaking crates.io crate fadroma-derive-canonize 0.3.5 [INFO] tweaked toml for crates.io crate fadroma-derive-canonize 0.3.5 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate fadroma-derive-canonize 0.3.5 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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 7 packages to latest compatible versions [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.106) [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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 643c7531218d7ef324b12364e067a310115d476eb453e316c18bca1ccabc0e2b [INFO] running `Command { std: "docker" "start" "-a" "643c7531218d7ef324b12364e067a310115d476eb453e316c18bca1ccabc0e2b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "643c7531218d7ef324b12364e067a310115d476eb453e316c18bca1ccabc0e2b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "643c7531218d7ef324b12364e067a310115d476eb453e316c18bca1ccabc0e2b", kill_on_drop: false }` [INFO] [stdout] 643c7531218d7ef324b12364e067a310115d476eb453e316c18bca1ccabc0e2b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 51b6fddc31547e8744ec1357572e40a3d5a76542c9189d057b799e0e4786c139 [INFO] running `Command { std: "docker" "start" "-a" "51b6fddc31547e8744ec1357572e40a3d5a76542c9189d057b799e0e4786c139", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Checking fadroma-derive-canonize v0.3.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/common.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | for mut field in fields.named.iter_mut() { [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: variable does not need to be mutable [INFO] [stdout] --> src/common.rs:65:17 [INFO] [stdout] | [INFO] [stdout] 65 | for mut field in fields.unnamed.iter_mut() { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/common.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | for mut field in fields.named.iter_mut() { [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: variable does not need to be mutable [INFO] [stdout] --> src/common.rs:65:17 [INFO] [stdout] | [INFO] [stdout] 65 | for mut field in fields.unnamed.iter_mut() { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fadroma` [INFO] [stdout] --> tests/derive.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | self, [INFO] [stdout] | ^^^^ no external crate `fadroma` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fadroma` [INFO] [stdout] --> tests/derive_generic.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | self, [INFO] [stdout] | ^^^^ no external crate `fadroma` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fadroma` [INFO] [stdout] --> tests/enum.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | self, [INFO] [stdout] | ^^^^ no external crate `fadroma` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `TestCanon` in this scope [INFO] [stdout] --> tests/derive.rs:41:21 [INFO] [stdout] | [INFO] [stdout] 41 | let canonized = TestCanon { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `fadroma-derive-canonize` (test "derive_generic") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no method named `canonize` found for struct `Test` in the current scope [INFO] [stdout] --> tests/derive.rs:39:30 [INFO] [stdout] | [INFO] [stdout] 8 | struct Test { [INFO] [stdout] | ----------- method `canonize` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 39 | let canon = test.clone().canonize(&deps.api).unwrap(); [INFO] [stdout] | ^^^^^^^^ method not found in `Test` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `canonize` found for struct `TestTuple` in the current scope [INFO] [stdout] --> tests/derive.rs:63:30 [INFO] [stdout] | [INFO] [stdout] 14 | struct TestTuple(pub Addr, Uint128); [INFO] [stdout] | ---------------- method `canonize` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 63 | let canon = test.clone().canonize(&deps.api).unwrap(); [INFO] [stdout] | ^^^^^^^^ method not found in `TestTuple` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `TestTupleCanon` in this scope [INFO] [stdout] --> tests/derive.rs:65:21 [INFO] [stdout] | [INFO] [stdout] 65 | let canonized = TestTupleCanon(test.0.clone().canonize(&deps.api).unwrap(), test.1); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0425, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] [INFO] [stderr] error: could not compile `fadroma-derive-canonize` (test "derive") due to 5 previous errors [INFO] [stdout] error[E0599]: no method named `canonize` found for enum `TestEnum` in the current scope [INFO] [stdout] --> tests/enum.rs:30:16 [INFO] [stdout] | [INFO] [stdout] 8 | enum TestEnum { [INFO] [stdout] | ------------- method `canonize` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 30 | match test.canonize(&deps.api).unwrap() { [INFO] [stdout] | ^^^^^^^^ method not found in `TestEnum` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/common.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | for mut field in fields.named.iter_mut() { [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: variable does not need to be mutable [INFO] [stdout] --> src/common.rs:65:17 [INFO] [stdout] | [INFO] [stdout] 65 | for mut field in fields.unnamed.iter_mut() { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `canonize` found for enum `TestEnum` in the current scope [INFO] [stdout] --> tests/enum.rs:40:16 [INFO] [stdout] | [INFO] [stdout] 8 | enum TestEnum { [INFO] [stdout] | ------------- method `canonize` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 40 | match test.canonize(&deps.api).unwrap() { [INFO] [stdout] | ^^^^^^^^ method not found in `TestEnum` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TestEnumCanon` [INFO] [stdout] --> tests/enum.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | TestEnumCanon::TestVarTwo { from: x, to: y } => { [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `TestEnumCanon` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TestEnumCanon` [INFO] [stdout] --> tests/enum.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | TestEnumCanon::TestVar(x, y) => { [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `TestEnumCanon` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `fadroma-derive-canonize` (test "enum") due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "51b6fddc31547e8744ec1357572e40a3d5a76542c9189d057b799e0e4786c139", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "51b6fddc31547e8744ec1357572e40a3d5a76542c9189d057b799e0e4786c139", kill_on_drop: false }` [INFO] [stdout] 51b6fddc31547e8744ec1357572e40a3d5a76542c9189d057b799e0e4786c139