[INFO] fetching crate pendzl_lang 1.0.2... [INFO] testing pendzl_lang-1.0.2 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-8 [INFO] extracting crate pendzl_lang 1.0.2 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate pendzl_lang 1.0.2 [INFO] finished tweaking crates.io crate pendzl_lang 1.0.2 [INFO] tweaked toml for crates.io crate pendzl_lang 1.0.2 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate pendzl_lang 1.0.2 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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 189 packages to latest compatible versions [INFO] [stderr] Adding generic-array v0.14.7 (available: v0.14.9) [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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 81fd0a01335f7b888f3c50b13893caa962350bb278c1c701080b917402f899ad [INFO] running `Command { std: "docker" "start" "-a" "81fd0a01335f7b888f3c50b13893caa962350bb278c1c701080b917402f899ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "81fd0a01335f7b888f3c50b13893caa962350bb278c1c701080b917402f899ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "81fd0a01335f7b888f3c50b13893caa962350bb278c1c701080b917402f899ad", kill_on_drop: false }` [INFO] [stdout] 81fd0a01335f7b888f3c50b13893caa962350bb278c1c701080b917402f899ad [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 7ae839ce29bd160a75d3f688d57ba4305fbf3ab7bf8977d80dee72357244976d [INFO] running `Command { std: "docker" "start" "-a" "7ae839ce29bd160a75d3f688d57ba4305fbf3ab7bf8977d80dee72357244976d", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling schemars v0.8.22 [INFO] [stderr] Compiling toml_edit v0.23.7 [INFO] [stderr] Compiling const_format_proc_macros v0.2.34 [INFO] [stderr] Compiling parity-scale-codec v3.7.5 [INFO] [stderr] Compiling scale-type-resolver v0.1.1 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.3 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Compiling xxhash-rust v0.8.15 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling ink_prelude v5.1.1 [INFO] [stderr] Compiling toml_write v0.1.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling derive-syn-parse v0.2.0 [INFO] [stderr] Compiling linkme-impl v0.3.35 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling secp256k1-sys v0.9.2 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling linkme v0.3.35 [INFO] [stderr] Compiling const_format v0.2.35 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling schemars_derive v0.8.22 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling sp-debug-derive v14.0.0 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling camino v1.2.1 [INFO] [stderr] Compiling proc-macro-crate v3.4.0 [INFO] [stderr] Compiling merlin v3.0.0 [INFO] [stderr] Compiling pallet-contracts-uapi v9.0.0 [INFO] [stderr] Compiling getrandom_or_panic v0.0.3 [INFO] [stderr] Compiling integer-sqrt v0.1.5 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling const_env_impl v0.1.4 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling array-bytes v6.2.3 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling ink_allocator v5.1.1 [INFO] [stderr] Compiling ink_prelude v4.3.0 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling parity-scale-codec-derive v3.7.5 [INFO] [stderr] Compiling scale-info-derive v2.11.6 [INFO] [stderr] Compiling const_env v0.1.4 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling derive_more v1.0.0 [INFO] [stderr] Compiling serde_bytes v0.11.19 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling fs2 v0.4.3 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling ink_ir v4.3.0 [INFO] [stderr] Compiling array-init v2.1.0 [INFO] [stderr] Compiling unwrap v1.2.1 [INFO] [stderr] Compiling schnorrkel v0.11.5 [INFO] [stderr] Compiling ethnum v1.5.2 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling impl-serde v0.4.0 [INFO] [stderr] Compiling cargo-platform v0.1.9 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Compiling semver v0.11.0 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling scale-decode-derive v0.11.1 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling ink_ir v5.1.1 [INFO] [stderr] Compiling cargo_metadata v0.13.1 [INFO] [stderr] Compiling scale-bits v0.5.0 [INFO] [stderr] Compiling ink_primitives v4.3.0 [INFO] [stderr] Compiling xcm-procedural v8.0.0 [INFO] [stderr] Compiling scale-decode v0.11.1 [INFO] [stderr] Compiling scale-info v2.11.6 [INFO] [stderr] Compiling pendzl_lang_codegen v1.0.2 [INFO] [stderr] Compiling secp256k1 v0.28.2 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling bounded-collections v0.2.4 [INFO] [stderr] Compiling pendzl_lang_macro v1.0.2 [INFO] [stderr] Compiling scale-encode-derive v0.6.0 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling scale-encode v0.6.0 [INFO] [stderr] Compiling docify_macros v0.2.9 [INFO] [stderr] Compiling ink_primitives v5.1.1 [INFO] [stderr] Compiling docify v0.2.9 [INFO] [stderr] Compiling sp-arithmetic v26.1.0 [INFO] [stderr] Compiling ink_metadata v5.1.1 [INFO] [stderr] Compiling ink_engine v5.1.1 [INFO] [stderr] Compiling ink_codegen v5.1.1 [INFO] [stderr] Compiling ink_storage_traits v5.1.1 [INFO] [stderr] Compiling sp-weights v31.1.0 [INFO] [stderr] Compiling staging-xcm v11.0.0 [INFO] [stderr] Compiling ink_macro v5.1.1 [INFO] [stderr] Compiling ink_env v5.1.1 [INFO] [stderr] Compiling ink_storage v5.1.1 [INFO] [stderr] Compiling ink v5.1.1 [INFO] [stderr] Compiling pendzl_lang v1.0.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 42.09s [INFO] running `Command { std: "docker" "inspect" "7ae839ce29bd160a75d3f688d57ba4305fbf3ab7bf8977d80dee72357244976d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ae839ce29bd160a75d3f688d57ba4305fbf3ab7bf8977d80dee72357244976d", kill_on_drop: false }` [INFO] [stdout] 7ae839ce29bd160a75d3f688d57ba4305fbf3ab7bf8977d80dee72357244976d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] b3572f4a166ccb756858998617b973e061863158fc915f1413eefe3abd5d8798 [INFO] running `Command { std: "docker" "start" "-a" "b3572f4a166ccb756858998617b973e061863158fc915f1413eefe3abd5d8798", kill_on_drop: false }` [INFO] [stderr] Compiling pendzl_lang v1.0.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.91s [INFO] running `Command { std: "docker" "inspect" "b3572f4a166ccb756858998617b973e061863158fc915f1413eefe3abd5d8798", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b3572f4a166ccb756858998617b973e061863158fc915f1413eefe3abd5d8798", kill_on_drop: false }` [INFO] [stdout] b3572f4a166ccb756858998617b973e061863158fc915f1413eefe3abd5d8798 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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", kill_on_drop: false }` [INFO] [stdout] ced21039c417c8e5ffea1d1179162b71a51e0a2cced0d6dd11bf7029bfa001e7 [INFO] running `Command { std: "docker" "start" "-a" "ced21039c417c8e5ffea1d1179162b71a51e0a2cced0d6dd11bf7029bfa001e7", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.24s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/pendzl_lang-48b01ef0be3aef18) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test math::operations::test::test_mul_div ... ok [INFO] [stdout] test macros::correct_storage_key ... ok [INFO] [stdout] test math::operations::test::round_down ... ok [INFO] [stdout] test math::operations::test::round_up ... ok [INFO] [stderr] Doc-tests pendzl_lang [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/math.rs - math::operations::mul_div (line 51) ... FAILED [INFO] [stdout] test src/traits.rs - traits::ConstHasher::hash (line 137) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/math.rs - math::operations::mul_div (line 51) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `mul_div` in this scope [INFO] [stdout] --> src/math.rs:52:14 [INFO] [stdout] | [INFO] [stdout] 52 | let result = mul_div(100, 200, 50, Rounding::Down); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 51 + use pendzl_lang::math::operations::mul_div; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rounding` [INFO] [stdout] --> src/math.rs:52:36 [INFO] [stdout] | [INFO] [stdout] 52 | let result = mul_div(100, 200, 50, Rounding::Down); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Rounding` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 51 + use pendzl_lang::math::operations::Rounding; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `mul_div` in this scope [INFO] [stdout] --> src/math.rs:55:14 [INFO] [stdout] | [INFO] [stdout] 55 | let result = mul_div(u128::MAX, u128::MAX, 1, Rounding::Down); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 51 + use pendzl_lang::math::operations::mul_div; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rounding` [INFO] [stdout] --> src/math.rs:55:47 [INFO] [stdout] | [INFO] [stdout] 55 | let result = mul_div(u128::MAX, u128::MAX, 1, Rounding::Down); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Rounding` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 51 + use pendzl_lang::math::operations::Rounding; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MathError` [INFO] [stdout] --> src/math.rs:56:24 [INFO] [stdout] | [INFO] [stdout] 56 | assert_eq!(result, Err(MathError::Overflow)); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `MathError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 51 + use pendzl_lang::math::errors::MathError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/traits.rs - traits::ConstHasher::hash (line 137) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ConstHasher` [INFO] [stdout] --> src/traits.rs:138:25 [INFO] [stdout] | [INFO] [stdout] 138 | const HASH_VALUE: u32 = ConstHasher::hash("example_string"); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ConstHasher` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 137 + use pendzl_lang::traits::ConstHasher; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/math.rs - math::operations::mul_div (line 51) [INFO] [stdout] src/traits.rs - traits::ConstHasher::hash (line 137) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.20s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "ced21039c417c8e5ffea1d1179162b71a51e0a2cced0d6dd11bf7029bfa001e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ced21039c417c8e5ffea1d1179162b71a51e0a2cced0d6dd11bf7029bfa001e7", kill_on_drop: false }` [INFO] [stdout] ced21039c417c8e5ffea1d1179162b71a51e0a2cced0d6dd11bf7029bfa001e7