[INFO] fetching crate amplify_num 0.2.2... [INFO] testing amplify_num-0.2.2 against 1.55.0 for beta-1.56-1 [INFO] extracting crate amplify_num 0.2.2 into /workspace/builds/worker-117/source [INFO] validating manifest of crates.io crate amplify_num 0.2.2 on toolchain 1.55.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate amplify_num 0.2.2 [INFO] finished tweaking crates.io crate amplify_num 0.2.2 [INFO] tweaked toml for crates.io crate amplify_num 0.2.2 written to /workspace/builds/worker-117/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-117/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-117/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c15b90653572c8b2621c839e2dcfbdf51d1551c84ab87d006c4432b82268efa9 [INFO] running `Command { std: "docker" "start" "-a" "c15b90653572c8b2621c839e2dcfbdf51d1551c84ab87d006c4432b82268efa9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c15b90653572c8b2621c839e2dcfbdf51d1551c84ab87d006c4432b82268efa9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c15b90653572c8b2621c839e2dcfbdf51d1551c84ab87d006c4432b82268efa9", kill_on_drop: false }` [INFO] [stdout] c15b90653572c8b2621c839e2dcfbdf51d1551c84ab87d006c4432b82268efa9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-117/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-117/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=warn" "-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6732f625ca8008926da3f836eccdae8b9f03bb963aa71104c2daff72ad9af42a [INFO] running `Command { std: "docker" "start" "-a" "6732f625ca8008926da3f836eccdae8b9f03bb963aa71104c2daff72ad9af42a", kill_on_drop: false }` [INFO] [stderr] Compiling amplify_num v0.2.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.63s [INFO] running `Command { std: "docker" "inspect" "6732f625ca8008926da3f836eccdae8b9f03bb963aa71104c2daff72ad9af42a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6732f625ca8008926da3f836eccdae8b9f03bb963aa71104c2daff72ad9af42a", kill_on_drop: false }` [INFO] [stdout] 6732f625ca8008926da3f836eccdae8b9f03bb963aa71104c2daff72ad9af42a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-117/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-117/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=warn" "-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1e8000a32756a227499168dcd2a1960d5f277d9caef969c5a6ce97f9a6c2f6b4 [INFO] running `Command { std: "docker" "start" "-a" "1e8000a32756a227499168dcd2a1960d5f277d9caef969c5a6ce97f9a6c2f6b4", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.76 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde_json v1.0.67 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling amplify_num v0.2.2 (/opt/rustwide/workdir) [INFO] [stdout] error: cannot find macro `format` in this scope [INFO] [stdout] --> src/hex.rs:299:20 [INFO] [stdout] | [INFO] [stdout] 299 | 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:298:20 [INFO] [stdout] | [INFO] [stdout] 298 | 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:293:17 [INFO] [stdout] | [INFO] [stdout] 293 | format!("{:.prec$x}", bytes, prec = i), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `format` in this scope [INFO] [stdout] --> src/hex.rs:289:20 [INFO] [stdout] | [INFO] [stdout] 289 | 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:287:30 [INFO] [stdout] | [INFO] [stdout] 287 | 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:275:20 [INFO] [stdout] | [INFO] [stdout] 275 | 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:274:20 [INFO] [stdout] | [INFO] [stdout] 274 | 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:269:17 [INFO] [stdout] | [INFO] [stdout] 269 | format!("{:.prec$x}", bytes, prec = i), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `format` in this scope [INFO] [stdout] --> src/hex.rs:265:20 [INFO] [stdout] | [INFO] [stdout] 265 | 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:263:30 [INFO] [stdout] | [INFO] [stdout] 263 | 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:244:27 [INFO] [stdout] | [INFO] [stdout] 244 | 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:239:27 [INFO] [stdout] | [INFO] [stdout] 239 | 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:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | format!("{:x}", self) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `format` in this scope [INFO] [stdout] --> src/bigint.rs:972:13 [INFO] [stdout] | [INFO] [stdout] 972 | format!("{}", max_val), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `format` in this scope [INFO] [stdout] --> src/bigint.rs:961:13 [INFO] [stdout] | [INFO] [stdout] 961 | format!("{}", u256::from(::core::u64::MAX)), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `format` in this scope [INFO] [stdout] --> src/bigint.rs:957:13 [INFO] [stdout] | [INFO] [stdout] 957 | format!("{}", u256::from(0xDEADBEEFu64)), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `std` [INFO] [stdout] --> src/bigint.rs:1139:23 [INFO] [stdout] | [INFO] [stdout] 1139 | let result1 = std::panic::catch_unwind(|| u256::div_rem(max, zero)); [INFO] [stdout] | ^^^ use of undeclared crate or module `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `std` [INFO] [stdout] --> src/bigint.rs:1141:23 [INFO] [stdout] | [INFO] [stdout] 1141 | let result2 = std::panic::catch_unwind(|| u256::div_rem(number_one, zero)); [INFO] [stdout] | ^^^ use of undeclared crate or module `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `std` [INFO] [stdout] --> src/bigint.rs:1143:23 [INFO] [stdout] | [INFO] [stdout] 1143 | let result3 = std::panic::catch_unwind(|| u256::div_rem(number_two, zero)); [INFO] [stdout] | ^^^ use of undeclared crate or module `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `String` [INFO] [stdout] --> src/hex.rs:168:23 [INFO] [stdout] | [INFO] [stdout] 168 | let mut ret = String::with_capacity(2 * self.len()); [INFO] [stdout] | ^^^^^^ use of undeclared type `String` [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) -> serde_crate::__private::de::Content; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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:73:25 [INFO] [stdout] | [INFO] [stdout] 73 | 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] 73 | fn to_hex(&self) -> serde_crate::__private::de::Content { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 73 | 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:166:25 [INFO] [stdout] | [INFO] [stdout] 166 | 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] 166 | fn to_hex(&self) -> serde_crate::__private::de::Content { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 166 | 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:177:18 [INFO] [stdout] | [INFO] [stdout] 177 | impl FromHex for Vec { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 19 | use serde_crate::__private::Vec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec` in this scope [INFO] [stdout] --> src/hex.rs:238:20 [INFO] [stdout] | [INFO] [stdout] 238 | let parse: Vec = FromHex::from_hex(expected).expect("parse lowercase string"); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 229 | use serde_crate::__private::Vec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec` in this scope [INFO] [stdout] --> src/hex.rs:243:20 [INFO] [stdout] | [INFO] [stdout] 243 | let parse: Vec = FromHex::from_hex(expected_up).expect("parse uppercase string"); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 229 | use serde_crate::__private::Vec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec` in this scope [INFO] [stdout] --> src/hex.rs:256:25 [INFO] [stdout] | [INFO] [stdout] 256 | struct HexBytes(Vec); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 229 | use serde_crate::__private::Vec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vec` in this scope [INFO] [stdout] --> src/hex.rs:280:25 [INFO] [stdout] | [INFO] [stdout] 280 | struct HexBytes(Vec); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 229 | use serde_crate::__private::Vec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec` [INFO] [stdout] --> src/hex.rs:309:20 [INFO] [stdout] | [INFO] [stdout] 309 | assert_eq!(Vec::::from_hex(oddlen), Err(Error::OddLengthString(17))); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 229 | use serde_crate::__private::Vec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec` [INFO] [stdout] --> src/hex.rs:312:20 [INFO] [stdout] | [INFO] [stdout] 312 | assert_eq!(Vec::::from_hex(badchar1), Err(Error::InvalidChar(b'Z'))); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 229 | use serde_crate::__private::Vec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec` [INFO] [stdout] --> src/hex.rs:313:20 [INFO] [stdout] | [INFO] [stdout] 313 | assert_eq!(Vec::::from_hex(badchar2), Err(Error::InvalidChar(b'Y'))); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 229 | use serde_crate::__private::Vec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vec` [INFO] [stdout] --> src/hex.rs:314:20 [INFO] [stdout] | [INFO] [stdout] 314 | assert_eq!(Vec::::from_hex(badchar3), Err(Error::InvalidChar(194))); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 229 | use serde_crate::__private::Vec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::fmt::Write` [INFO] [stdout] --> src/hex.rs:167:13 [INFO] [stdout] | [INFO] [stdout] 167 | use core::fmt::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 32 previous errors; 1 warning emitted [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` due to 33 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "1e8000a32756a227499168dcd2a1960d5f277d9caef969c5a6ce97f9a6c2f6b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e8000a32756a227499168dcd2a1960d5f277d9caef969c5a6ce97f9a6c2f6b4", kill_on_drop: false }` [INFO] [stdout] 1e8000a32756a227499168dcd2a1960d5f277d9caef969c5a6ce97f9a6c2f6b4