[INFO] fetching crate amplify_num 0.5.3... [INFO] checking amplify_num-0.5.3 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate amplify_num 0.5.3 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate amplify_num 0.5.3 [INFO] finished tweaking crates.io crate amplify_num 0.5.3 [INFO] tweaked toml for crates.io crate amplify_num 0.5.3 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate amplify_num 0.5.3 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 51 packages to latest compatible versions [INFO] [stderr] Adding getrandom v0.2.16 (available: v0.3.3) [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.2) [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] Downloading crates ... [INFO] [stderr] Downloaded wasm-bindgen-test v0.3.50 [INFO] [stderr] Downloaded wasm-bindgen-test-macro v0.3.50 [INFO] [stderr] Downloaded minicov v0.3.7 [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] f53419a6b5264c0eb4b1e5c13cbbda290427f342e09c853be0479bee0d9c0cff [INFO] running `Command { std: "docker" "start" "-a" "f53419a6b5264c0eb4b1e5c13cbbda290427f342e09c853be0479bee0d9c0cff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f53419a6b5264c0eb4b1e5c13cbbda290427f342e09c853be0479bee0d9c0cff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f53419a6b5264c0eb4b1e5c13cbbda290427f342e09c853be0479bee0d9c0cff", kill_on_drop: false }` [INFO] [stdout] f53419a6b5264c0eb4b1e5c13cbbda290427f342e09c853be0479bee0d9c0cff [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] 3ecc7d0d1a1a7acadab7c5c7201f434ea14a908090a06d4b9d64c0202f125a32 [INFO] running `Command { std: "docker" "start" "-a" "3ecc7d0d1a1a7acadab7c5c7201f434ea14a908090a06d4b9d64c0202f125a32", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking amplify_num v0.5.3 (/opt/rustwide/workdir) [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stdout] error: cannot find macro `format` in this scope [INFO] [stdout] --> src/smallint.rs:955:20 [INFO] [stdout] | [INFO] [stdout] 955 | assert_eq!(format!("{:#b}", u_24), "0b111111111111111111111111"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `format` in this scope [INFO] [stdout] --> src/smallint.rs:954:20 [INFO] [stdout] | [INFO] [stdout] 954 | assert_eq!(format!("{:#b}", u_7), "0b1111111"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `format` in this scope [INFO] [stdout] --> src/smallint.rs:953:20 [INFO] [stdout] | [INFO] [stdout] 953 | assert_eq!(format!("{:#b}", u_6), "0b111111"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `format` in this scope [INFO] [stdout] --> src/smallint.rs:952:20 [INFO] [stdout] | [INFO] [stdout] 952 | assert_eq!(format!("{:#b}", u_5), "0b11111"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `format` in this scope [INFO] [stdout] --> src/smallint.rs:951:20 [INFO] [stdout] | [INFO] [stdout] 951 | assert_eq!(format!("{:#b}", u_4), "0b1111"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `format` in this scope [INFO] [stdout] --> src/smallint.rs:950:20 [INFO] [stdout] | [INFO] [stdout] 950 | assert_eq!(format!("{:#b}", u_3), "0b111"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `format` in this scope [INFO] [stdout] --> src/smallint.rs:949:20 [INFO] [stdout] | [INFO] [stdout] 949 | assert_eq!(format!("{:#b}", u_2), "0b11"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `format` in this scope [INFO] [stdout] --> src/smallint.rs:948:20 [INFO] [stdout] | [INFO] [stdout] 948 | assert_eq!(format!("{:#b}", u_1), "0b1"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `format` in this scope [INFO] [stdout] --> src/smallint.rs:947:20 [INFO] [stdout] | [INFO] [stdout] 947 | assert_eq!(format!("{:b}", u_24), "111111111111111111111111"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `format` in this scope [INFO] [stdout] --> src/smallint.rs:946:20 [INFO] [stdout] | [INFO] [stdout] 946 | assert_eq!(format!("{:b}", u_7), "1111111"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `format` in this scope [INFO] [stdout] --> src/smallint.rs:945:20 [INFO] [stdout] | [INFO] [stdout] 945 | assert_eq!(format!("{:b}", u_6), "111111"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `format` in this scope [INFO] [stdout] --> src/smallint.rs:944:20 [INFO] [stdout] | [INFO] [stdout] 944 | assert_eq!(format!("{:b}", u_5), "11111"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `format` in this scope [INFO] [stdout] --> src/smallint.rs:943:20 [INFO] [stdout] | [INFO] [stdout] 943 | assert_eq!(format!("{:b}", u_4), "1111"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `format` in this scope [INFO] [stdout] --> src/smallint.rs:942:20 [INFO] [stdout] | [INFO] [stdout] 942 | assert_eq!(format!("{:b}", u_3), "111"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `format` in this scope [INFO] [stdout] --> src/smallint.rs:941:20 [INFO] [stdout] | [INFO] [stdout] 941 | assert_eq!(format!("{:b}", u_2), "11"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `format` in this scope [INFO] [stdout] --> src/smallint.rs:940:20 [INFO] [stdout] | [INFO] [stdout] 940 | assert_eq!(format!("{:b}", u_1), "1"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `format` in this scope [INFO] [stdout] --> src/smallint.rs:937:20 [INFO] [stdout] | [INFO] [stdout] 937 | assert_eq!(format!("{:#o}", u_24), "0o77777777"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `format` in this scope [INFO] [stdout] --> src/smallint.rs:936:20 [INFO] [stdout] | [INFO] [stdout] 936 | assert_eq!(format!("{:#o}", u_7), "0o177"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `format` in this scope [INFO] [stdout] --> src/smallint.rs:935:20 [INFO] [stdout] | [INFO] [stdout] 935 | assert_eq!(format!("{:#o}", u_6), "0o77"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `format` in this scope [INFO] [stdout] --> src/smallint.rs:934:20 [INFO] [stdout] | [INFO] [stdout] 934 | assert_eq!(format!("{:#o}", u_5), "0o37"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `format` in this scope [INFO] [stdout] --> src/smallint.rs:933:20 [INFO] [stdout] | [INFO] [stdout] 933 | assert_eq!(format!("{:#o}", u_4), "0o17"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `format` in this scope [INFO] [stdout] --> src/smallint.rs:932:20 [INFO] [stdout] | [INFO] [stdout] 932 | assert_eq!(format!("{:#o}", u_3), "0o7"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `format` in this scope [INFO] [stdout] --> src/smallint.rs:931:20 [INFO] [stdout] | [INFO] [stdout] 931 | assert_eq!(format!("{:#o}", u_2), "0o3"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `format` in this scope [INFO] [stdout] --> src/smallint.rs:930:20 [INFO] [stdout] | [INFO] [stdout] 930 | assert_eq!(format!("{:#o}", u_1), "0o1"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `format` in this scope [INFO] [stdout] --> src/smallint.rs:929:20 [INFO] [stdout] | [INFO] [stdout] 929 | assert_eq!(format!("{:o}", u_24), "77777777"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `format` in this scope [INFO] [stdout] --> src/smallint.rs:928:20 [INFO] [stdout] | [INFO] [stdout] 928 | assert_eq!(format!("{:o}", u_7), "177"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `format` in this scope [INFO] [stdout] --> src/smallint.rs:927:20 [INFO] [stdout] | [INFO] [stdout] 927 | assert_eq!(format!("{:o}", u_6), "77"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `format` in this scope [INFO] [stdout] --> src/smallint.rs:926:20 [INFO] [stdout] | [INFO] [stdout] 926 | assert_eq!(format!("{:o}", u_5), "37"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `format` in this scope [INFO] [stdout] --> src/smallint.rs:925:20 [INFO] [stdout] | [INFO] [stdout] 925 | assert_eq!(format!("{:o}", u_4), "17"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `format` in this scope [INFO] [stdout] --> src/smallint.rs:924:20 [INFO] [stdout] | [INFO] [stdout] 924 | assert_eq!(format!("{:o}", u_3), "7"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `format` in this scope [INFO] [stdout] --> src/smallint.rs:923:20 [INFO] [stdout] | [INFO] [stdout] 923 | assert_eq!(format!("{:o}", u_2), "3"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `format` in this scope [INFO] [stdout] --> src/smallint.rs:922:20 [INFO] [stdout] | [INFO] [stdout] 922 | assert_eq!(format!("{:o}", u_1), "1"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `format` in this scope [INFO] [stdout] --> src/smallint.rs:919:20 [INFO] [stdout] | [INFO] [stdout] 919 | assert_eq!(format!("{:#x}", u_24), "0xffffff"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `format` in this scope [INFO] [stdout] --> src/smallint.rs:918:20 [INFO] [stdout] | [INFO] [stdout] 918 | assert_eq!(format!("{:#x}", u_7), "0x7f"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `format` in this scope [INFO] [stdout] --> src/smallint.rs:917:20 [INFO] [stdout] | [INFO] [stdout] 917 | assert_eq!(format!("{:#x}", u_6), "0x3f"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `format` in this scope [INFO] [stdout] --> src/smallint.rs:916:20 [INFO] [stdout] | [INFO] [stdout] 916 | assert_eq!(format!("{:#x}", u_5), "0x1f"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `format` in this scope [INFO] [stdout] --> src/smallint.rs:915:20 [INFO] [stdout] | [INFO] [stdout] 915 | assert_eq!(format!("{:#x}", u_4), "0xf"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `format` in this scope [INFO] [stdout] --> src/smallint.rs:914:20 [INFO] [stdout] | [INFO] [stdout] 914 | assert_eq!(format!("{:#x}", u_3), "0x7"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `format` in this scope [INFO] [stdout] --> src/smallint.rs:913:20 [INFO] [stdout] | [INFO] [stdout] 913 | assert_eq!(format!("{:#x}", u_2), "0x3"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `format` in this scope [INFO] [stdout] --> src/smallint.rs:912:20 [INFO] [stdout] | [INFO] [stdout] 912 | assert_eq!(format!("{:#x}", u_1), "0x1"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `format` in this scope [INFO] [stdout] --> src/smallint.rs:911:20 [INFO] [stdout] | [INFO] [stdout] 911 | assert_eq!(format!("{:x}", u_24), "ffffff"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `format` in this scope [INFO] [stdout] --> src/smallint.rs:910:20 [INFO] [stdout] | [INFO] [stdout] 910 | assert_eq!(format!("{:x}", u_7), "7f"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `format` in this scope [INFO] [stdout] --> src/smallint.rs:909:20 [INFO] [stdout] | [INFO] [stdout] 909 | assert_eq!(format!("{:x}", u_6), "3f"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `format` in this scope [INFO] [stdout] --> src/smallint.rs:908:20 [INFO] [stdout] | [INFO] [stdout] 908 | assert_eq!(format!("{:x}", u_5), "1f"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `format` in this scope [INFO] [stdout] --> src/smallint.rs:907:20 [INFO] [stdout] | [INFO] [stdout] 907 | assert_eq!(format!("{:x}", u_4), "f"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `format` in this scope [INFO] [stdout] --> src/smallint.rs:906:20 [INFO] [stdout] | [INFO] [stdout] 906 | assert_eq!(format!("{:x}", u_3), "7"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `format` in this scope [INFO] [stdout] --> src/smallint.rs:905:20 [INFO] [stdout] | [INFO] [stdout] 905 | assert_eq!(format!("{:x}", u_2), "3"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `format` in this scope [INFO] [stdout] --> src/smallint.rs:904:20 [INFO] [stdout] | [INFO] [stdout] 904 | assert_eq!(format!("{:x}", u_1), "1"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `format` in this scope [INFO] [stdout] --> src/smallint.rs:901:20 [INFO] [stdout] | [INFO] [stdout] 901 | assert_eq!(format!("{:#X}", u_24), "0xFFFFFF"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `format` in this scope [INFO] [stdout] --> src/smallint.rs:900:20 [INFO] [stdout] | [INFO] [stdout] 900 | assert_eq!(format!("{:#X}", u_7), "0x7F"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `format` in this scope [INFO] [stdout] --> src/smallint.rs:899:20 [INFO] [stdout] | [INFO] [stdout] 899 | assert_eq!(format!("{:#X}", u_6), "0x3F"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `format` in this scope [INFO] [stdout] --> src/smallint.rs:898:20 [INFO] [stdout] | [INFO] [stdout] 898 | assert_eq!(format!("{:#X}", u_5), "0x1F"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `format` in this scope [INFO] [stdout] --> src/smallint.rs:897:20 [INFO] [stdout] | [INFO] [stdout] 897 | assert_eq!(format!("{:#X}", u_4), "0xF"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `format` in this scope [INFO] [stdout] --> src/smallint.rs:896:20 [INFO] [stdout] | [INFO] [stdout] 896 | assert_eq!(format!("{:#X}", u_3), "0x7"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `format` in this scope [INFO] [stdout] --> src/smallint.rs:895:20 [INFO] [stdout] | [INFO] [stdout] 895 | assert_eq!(format!("{:#X}", u_2), "0x3"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `format` in this scope [INFO] [stdout] --> src/smallint.rs:894:20 [INFO] [stdout] | [INFO] [stdout] 894 | assert_eq!(format!("{:#X}", u_1), "0x1"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `format` in this scope [INFO] [stdout] --> src/smallint.rs:893:20 [INFO] [stdout] | [INFO] [stdout] 893 | assert_eq!(format!("{:X}", u_24), "FFFFFF"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `format` in this scope [INFO] [stdout] --> src/smallint.rs:892:20 [INFO] [stdout] | [INFO] [stdout] 892 | assert_eq!(format!("{:X}", u_7), "7F"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `format` in this scope [INFO] [stdout] --> src/smallint.rs:891:20 [INFO] [stdout] | [INFO] [stdout] 891 | assert_eq!(format!("{:X}", u_6), "3F"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `format` in this scope [INFO] [stdout] --> src/smallint.rs:890:20 [INFO] [stdout] | [INFO] [stdout] 890 | assert_eq!(format!("{:X}", u_5), "1F"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `format` in this scope [INFO] [stdout] --> src/smallint.rs:889:20 [INFO] [stdout] | [INFO] [stdout] 889 | assert_eq!(format!("{:X}", u_4), "F"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `format` in this scope [INFO] [stdout] --> src/smallint.rs:888:20 [INFO] [stdout] | [INFO] [stdout] 888 | assert_eq!(format!("{:X}", u_3), "7"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `format` in this scope [INFO] [stdout] --> src/smallint.rs:887:20 [INFO] [stdout] | [INFO] [stdout] 887 | assert_eq!(format!("{:X}", u_2), "3"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `format` in this scope [INFO] [stdout] --> src/smallint.rs:886:20 [INFO] [stdout] | [INFO] [stdout] 886 | assert_eq!(format!("{:X}", u_1), "1"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `format` in this scope [INFO] [stdout] --> src/hex.rs:281:20 [INFO] [stdout] | [INFO] [stdout] 281 | assert_eq!(format!("{:26x}", bytes), "0000000a090807060504030201"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `format` in this scope [INFO] [stdout] --> src/hex.rs:280:20 [INFO] [stdout] | [INFO] [stdout] 280 | assert_eq!(format!("{:25x}", bytes), "000000a090807060504030201"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `format` in this scope [INFO] [stdout] --> src/hex.rs:277:24 [INFO] [stdout] | [INFO] [stdout] 277 | assert_eq!(format!("{:.prec$x}", bytes, prec = i), &"0a090807060504030201"[0..i]); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `format` in this scope [INFO] [stdout] --> src/hex.rs:274:20 [INFO] [stdout] | [INFO] [stdout] 274 | assert_eq!(format!("{:x}", bytes), "0a090807060504030201"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `vec` in this scope [INFO] [stdout] --> src/hex.rs:272:30 [INFO] [stdout] | [INFO] [stdout] 272 | let bytes = HexBytes(vec![1u8, 2, 3, 4, 5, 6, 7, 8, 9, 10]); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `format` in this scope [INFO] [stdout] --> src/hex.rs:262:20 [INFO] [stdout] | [INFO] [stdout] 262 | assert_eq!(format!("{:26x}", bytes), "0000000102030405060708090a"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `format` in this scope [INFO] [stdout] --> src/hex.rs:261:20 [INFO] [stdout] | [INFO] [stdout] 261 | assert_eq!(format!("{:25x}", bytes), "000000102030405060708090a"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `format` in this scope [INFO] [stdout] --> src/hex.rs:258:24 [INFO] [stdout] | [INFO] [stdout] 258 | assert_eq!(format!("{:.prec$x}", bytes, prec = i), &"0102030405060708090a"[0..i]); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `format` in this scope [INFO] [stdout] --> src/hex.rs:255:20 [INFO] [stdout] | [INFO] [stdout] 255 | assert_eq!(format!("{:x}", bytes), "0102030405060708090a"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `vec` in this scope [INFO] [stdout] --> src/hex.rs:253:30 [INFO] [stdout] | [INFO] [stdout] 253 | let bytes = HexBytes(vec![1u8, 2, 3, 4, 5, 6, 7, 8, 9, 10]); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `vec` in this scope [INFO] [stdout] --> src/hex.rs:236:27 [INFO] [stdout] | [INFO] [stdout] 236 | assert_eq!(parse, vec![0x01, 0x23, 0x45, 0x67, 0x89, 0xab, 0xcd, 0xef]); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `vec` in this scope [INFO] [stdout] --> src/hex.rs:231:27 [INFO] [stdout] | [INFO] [stdout] 231 | assert_eq!(parse, vec![0x01, 0x23, 0x45, 0x67, 0x89, 0xab, 0xcd, 0xef]); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `format` in this scope [INFO] [stdout] --> src/hex.rs:70:34 [INFO] [stdout] | [INFO] [stdout] 70 | fn to_hex(&self) -> String { format!("{self:x}") } [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `format` in this scope [INFO] [stdout] --> src/bigint.rs:1500:13 [INFO] [stdout] | [INFO] [stdout] 1500 | format!("{}", max_val), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `format` in this scope [INFO] [stdout] --> src/bigint.rs:1493:13 [INFO] [stdout] | [INFO] [stdout] 1493 | format!("{}", u256::from(u64::MAX)), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `format` in this scope [INFO] [stdout] --> src/bigint.rs:1489:13 [INFO] [stdout] | [INFO] [stdout] 1489 | format!("{}", u256::from(0xDEADBEEFu64)), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `std` [INFO] [stdout] --> src/bigint.rs:1721:17 [INFO] [stdout] | [INFO] [stdout] 1721 | assert!(std::panic::catch_unwind(|| number_one / zero).is_err()); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `std` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `std`, use `cargo add std` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `std` [INFO] [stdout] --> src/bigint.rs:1722:17 [INFO] [stdout] | [INFO] [stdout] 1722 | assert!(std::panic::catch_unwind(|| i256::MIN / (-i256::ONE)).is_err()); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `std` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `std`, use `cargo add std` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `std` [INFO] [stdout] --> src/bigint.rs:1993:19 [INFO] [stdout] | [INFO] [stdout] 1993 | let res = std::panic::catch_unwind(|| i256::overflowing_div(i256::MAX, i256::ZERO)); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `std` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `std`, use `cargo add std` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `std` [INFO] [stdout] --> src/bigint.rs:2001:19 [INFO] [stdout] | [INFO] [stdout] 2001 | let res = std::panic::catch_unwind(|| i256::wrapping_div(i256::MAX, i256::ZERO)); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `std` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `std`, use `cargo add std` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `std` [INFO] [stdout] --> src/bigint.rs:2025:19 [INFO] [stdout] | [INFO] [stdout] 2025 | let res = std::panic::catch_unwind(|| i256::overflowing_rem(i256::MAX, i256::ZERO)); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `std` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `std`, use `cargo add std` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `std` [INFO] [stdout] --> src/bigint.rs:2033:19 [INFO] [stdout] | [INFO] [stdout] 2033 | let res = std::panic::catch_unwind(|| i256::wrapping_rem(i256::MAX, i256::ZERO)); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `std` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `std`, use `cargo add std` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `String` in this scope [INFO] [stdout] --> src/hex.rs:54:25 [INFO] [stdout] | [INFO] [stdout] 54 | fn to_hex(&self) -> String; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `serde_crate::__private::de::Content::String` and 1 other; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 54 - fn to_hex(&self) -> String; [INFO] [stdout] 54 + fn to_hex(&self) -> serde_crate::__private::de::Content; [INFO] [stdout] | [INFO] [stdout] 54 - fn to_hex(&self) -> String; [INFO] [stdout] 54 + fn to_hex(&self) -> serde_json::Value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `String` in this scope [INFO] [stdout] --> src/hex.rs:70:25 [INFO] [stdout] | [INFO] [stdout] 70 | fn to_hex(&self) -> String { format!("{self:x}") } [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `serde_crate::__private::de::Content::String` and 1 other; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 70 - fn to_hex(&self) -> String { format!("{self:x}") } [INFO] [stdout] 70 + fn to_hex(&self) -> serde_crate::__private::de::Content { format!("{self:x}") } [INFO] [stdout] | [INFO] [stdout] 70 - fn to_hex(&self) -> String { format!("{self:x}") } [INFO] [stdout] 70 + fn to_hex(&self) -> serde_json::Value { format!("{self:x}") } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `String` in this scope [INFO] [stdout] --> src/hex.rs:161:25 [INFO] [stdout] | [INFO] [stdout] 161 | fn to_hex(&self) -> String { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `serde_crate::__private::de::Content::String` and 1 other; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 161 - fn to_hex(&self) -> String { [INFO] [stdout] 161 + fn to_hex(&self) -> serde_crate::__private::de::Content { [INFO] [stdout] | [INFO] [stdout] 161 - fn to_hex(&self) -> String { [INFO] [stdout] 161 + fn to_hex(&self) -> serde_json::Value { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec` in this scope [INFO] [stdout] --> src/hex.rs:172:18 [INFO] [stdout] | [INFO] [stdout] 172 | impl FromHex for Vec { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec` in this scope [INFO] [stdout] --> src/hex.rs:230:20 [INFO] [stdout] | [INFO] [stdout] 230 | let parse: Vec = FromHex::from_hex(expected).expect("parse lowercase string"); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec` in this scope [INFO] [stdout] --> src/hex.rs:235:20 [INFO] [stdout] | [INFO] [stdout] 235 | let parse: Vec = FromHex::from_hex(expected_up).expect("parse uppercase string"); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec` in this scope [INFO] [stdout] --> src/hex.rs:248:25 [INFO] [stdout] | [INFO] [stdout] 248 | struct HexBytes(Vec); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec` in this scope [INFO] [stdout] --> src/hex.rs:267:25 [INFO] [stdout] | [INFO] [stdout] 267 | struct HexBytes(Vec); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec` [INFO] [stdout] --> src/hex.rs:291:20 [INFO] [stdout] | [INFO] [stdout] 291 | assert_eq!(Vec::::from_hex(oddlen), Err(Error::OddLengthString(17))); [INFO] [stdout] | ^^^ use of undeclared type `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec` [INFO] [stdout] --> src/hex.rs:294:20 [INFO] [stdout] | [INFO] [stdout] 294 | assert_eq!(Vec::::from_hex(badchar1), Err(Error::InvalidChar(b'Z'))); [INFO] [stdout] | ^^^ use of undeclared type `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec` [INFO] [stdout] --> src/hex.rs:295:20 [INFO] [stdout] | [INFO] [stdout] 295 | assert_eq!(Vec::::from_hex(badchar2), Err(Error::InvalidChar(b'Y'))); [INFO] [stdout] | ^^^ use of undeclared type `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec` [INFO] [stdout] --> src/hex.rs:296:20 [INFO] [stdout] | [INFO] [stdout] 296 | assert_eq!(Vec::::from_hex(badchar3), Err(Error::InvalidChar(194))); [INFO] [stdout] | ^^^ use of undeclared type `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `String` [INFO] [stdout] --> src/hex.rs:163:23 [INFO] [stdout] | [INFO] [stdout] 163 | let mut ret = String::with_capacity(2 * self.len()); [INFO] [stdout] | ^^^^^^ use of undeclared type `String` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `serde_crate::__private::de::Content::String` and 1 other; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 163 - let mut ret = String::with_capacity(2 * self.len()); [INFO] [stdout] 163 + let mut ret = serde_crate::__private::de::Content::with_capacity(2 * self.len()); [INFO] [stdout] | [INFO] [stdout] 163 - let mut ret = String::with_capacity(2 * self.len()); [INFO] [stdout] 163 + let mut ret = serde_json::Value::with_capacity(2 * self.len()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `amplify_num` (lib test) due to 99 previous errors [INFO] running `Command { std: "docker" "inspect" "3ecc7d0d1a1a7acadab7c5c7201f434ea14a908090a06d4b9d64c0202f125a32", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3ecc7d0d1a1a7acadab7c5c7201f434ea14a908090a06d4b9d64c0202f125a32", kill_on_drop: false }` [INFO] [stdout] 3ecc7d0d1a1a7acadab7c5c7201f434ea14a908090a06d4b9d64c0202f125a32