[INFO] cloning repository https://github.com/mreboland/rustTypesMachine [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mreboland/rustTypesMachine" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmreboland%2FrustTypesMachine", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmreboland%2FrustTypesMachine'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e450de754c58ec85d7ac86b23a469e2749b7430f [INFO] checking mreboland/rustTypesMachine against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmreboland%2FrustTypesMachine" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mreboland/rustTypesMachine on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mreboland/rustTypesMachine [INFO] finished tweaking git repo https://github.com/mreboland/rustTypesMachine [INFO] tweaked toml for git repo https://github.com/mreboland/rustTypesMachine written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/mreboland/rustTypesMachine already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2fc84fd4a2daa41db01bab56dde6dc3edf8ebfaeb9369e94a1a2ddc4fce98777 [INFO] running `Command { std: "docker" "start" "-a" "2fc84fd4a2daa41db01bab56dde6dc3edf8ebfaeb9369e94a1a2ddc4fce98777", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2fc84fd4a2daa41db01bab56dde6dc3edf8ebfaeb9369e94a1a2ddc4fce98777", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2fc84fd4a2daa41db01bab56dde6dc3edf8ebfaeb9369e94a1a2ddc4fce98777", kill_on_drop: false }` [INFO] [stdout] 2fc84fd4a2daa41db01bab56dde6dc3edf8ebfaeb9369e94a1a2ddc4fce98777 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 61ff6b0e7124d6fd82466ff557d8fff18a080a56bdf6e1ce3227a900e870e067 [INFO] running `Command { std: "docker" "start" "-a" "61ff6b0e7124d6fd82466ff557d8fff18a080a56bdf6e1ce3227a900e870e067", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Checking types-machine v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stdout] error: macro expansion ignores token `{` and any following [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:79:1 [INFO] [stdout] | [INFO] [stdout] 79 | assert_eq!( 10_i8 as u16, 10_u16); // in range [INFO] [stdout] | ---------------------------------- caused by the macro expansion here [INFO] [stdout] | [INFO] [stdout] = note: the usage of `assert_eq!` is likely invalid in item context [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: macro expansion ignores token `{` and any following [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:80:1 [INFO] [stdout] | [INFO] [stdout] 80 | assert_eq!( 2525_u16 as i16, 2525_i16); // in range [INFO] [stdout] | --------------------------------------- caused by the macro expansion here [INFO] [stdout] | [INFO] [stdout] = note: the usage of `assert_eq!` is likely invalid in item context [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: macro expansion ignores token `{` and any following [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:81:1 [INFO] [stdout] | [INFO] [stdout] 81 | assert_eq!( -1_i16 as i32, -1_i32); // sign-extended [INFO] [stdout] | ----------------------------------- caused by the macro expansion here [INFO] [stdout] | [INFO] [stdout] = note: the usage of `assert_eq!` is likely invalid in item context [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: macro expansion ignores token `{` and any following [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:82:1 [INFO] [stdout] | [INFO] [stdout] 82 | assert_eq!(65535_u16 as i32, 65535_i32); // zero-extended [INFO] [stdout] | ---------------------------------------- caused by the macro expansion here [INFO] [stdout] | [INFO] [stdout] = note: the usage of `assert_eq!` is likely invalid in item context [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: macro expansion ignores token `{` and any following [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:88:1 [INFO] [stdout] | [INFO] [stdout] 88 | assert_eq!( 1000_i16 as u8, 232_u8); [INFO] [stdout] | ------------------------------------ caused by the macro expansion here [INFO] [stdout] | [INFO] [stdout] = note: the usage of `assert_eq!` is likely invalid in item context [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: macro expansion ignores token `{` and any following [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:89:1 [INFO] [stdout] | [INFO] [stdout] 89 | assert_eq!(65535_u32 as i16, -1_i16); [INFO] [stdout] | ------------------------------------- caused by the macro expansion here [INFO] [stdout] | [INFO] [stdout] = note: the usage of `assert_eq!` is likely invalid in item context [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: macro expansion ignores token `{` and any following [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:90:1 [INFO] [stdout] | [INFO] [stdout] 90 | assert_eq!( -1_i8 as u8, 255_u8); [INFO] [stdout] | --------------------------------- caused by the macro expansion here [INFO] [stdout] | [INFO] [stdout] = note: the usage of `assert_eq!` is likely invalid in item context [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: macro expansion ignores token `{` and any following [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:91:1 [INFO] [stdout] | [INFO] [stdout] 91 | assert_eq!( 255_u8 as i8, -1_i8); [INFO] [stdout] | --------------------------------- caused by the macro expansion here [INFO] [stdout] | [INFO] [stdout] = note: the usage of `assert_eq!` is likely invalid in item context [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: macro expansion ignores token `{` and any following [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:94:1 [INFO] [stdout] | [INFO] [stdout] 94 | assert_eq!(2u16.pow(4), 16); // exponentiation [INFO] [stdout] | ---------------------------- caused by the macro expansion here [INFO] [stdout] | [INFO] [stdout] = note: the usage of `assert_eq!` is likely invalid in item context [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: macro expansion ignores token `{` and any following [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:95:1 [INFO] [stdout] | [INFO] [stdout] 95 | assert_eq!((-4i32).abs(), 4); // absolute value [INFO] [stdout] | ----------------------------- caused by the macro expansion here [INFO] [stdout] | [INFO] [stdout] = note: the usage of `assert_eq!` is likely invalid in item context [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: macro expansion ignores token `{` and any following [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | assert_eq!(0b101101u8.count_ones(), 4); // population count [INFO] [stdout] | --------------------------------------- caused by the macro expansion here [INFO] [stdout] | [INFO] [stdout] = note: the usage of `assert_eq!` is likely invalid in item context [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: macro expansion ignores token `{` and any following [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:125:1 [INFO] [stdout] | [INFO] [stdout] 125 | assert_eq!(5f32.sqrt() * 5f32.sqrt(), 5.); // exactly 5.0, per IEEE [INFO] [stdout] | ------------------------------------------ caused by the macro expansion here [INFO] [stdout] | [INFO] [stdout] = note: the usage of `assert_eq!` is likely invalid in item context [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: macro expansion ignores token `{` and any following [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:126:1 [INFO] [stdout] | [INFO] [stdout] 126 | assert_eq!(-1.01f64.floor(), -1.0); [INFO] [stdout] | ----------------------------------- caused by the macro expansion here [INFO] [stdout] | [INFO] [stdout] = note: the usage of `assert_eq!` is likely invalid in item context [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-item macro in item position: assert [INFO] [stdout] --> src/main.rs:127:1 [INFO] [stdout] | [INFO] [stdout] 127 | assert!((-1. / std::f32::INFINITY).is_sign_negative()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: macro expansion ignores token `{` and any following [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:130:1 [INFO] [stdout] | [INFO] [stdout] 130 | println!("{}", (2.0).sqrt()); [INFO] [stdout] | ----------------------------- caused by the macro expansion here [INFO] [stdout] | [INFO] [stdout] = note: the usage of `println!` is likely invalid in item context [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: macro expansion ignores token `{` and any following [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:136:1 [INFO] [stdout] | [INFO] [stdout] 136 | println!("{}", (2.0_f64.sqrt())); [INFO] [stdout] | --------------------------------- caused by the macro expansion here [INFO] [stdout] | [INFO] [stdout] = note: the usage of `println!` is likely invalid in item context [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: macro expansion ignores token `{` and any following [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | println!("{}", f64::sqrt(2.0)); [INFO] [stdout] | ------------------------------- caused by the macro expansion here [INFO] [stdout] | [INFO] [stdout] = note: the usage of `println!` is likely invalid in item context [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: macro expansion ignores token `{` and any following [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:150:1 [INFO] [stdout] | [INFO] [stdout] 150 | assert_eq!(false as i32, 0); [INFO] [stdout] | ---------------------------- caused by the macro expansion here [INFO] [stdout] | [INFO] [stdout] = note: the usage of `assert_eq!` is likely invalid in item context [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: macro expansion ignores token `{` and any following [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:151:1 [INFO] [stdout] | [INFO] [stdout] 151 | assert_eq!(true as i32, 1); [INFO] [stdout] | --------------------------- caused by the macro expansion here [INFO] [stdout] | [INFO] [stdout] = note: the usage of `assert_eq!` is likely invalid in item context [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: macro expansion ignores token `{` and any following [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:178:1 [INFO] [stdout] | [INFO] [stdout] 178 | assert_eq!('*' as i32, 42); [INFO] [stdout] | --------------------------- caused by the macro expansion here [INFO] [stdout] | [INFO] [stdout] = note: the usage of `assert_eq!` is likely invalid in item context [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: macro expansion ignores token `{` and any following [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:179:1 [INFO] [stdout] | [INFO] [stdout] 179 | assert_eq!('ಠ' as u16, 0xca0); [INFO] [stdout] | ------------------------------ caused by the macro expansion here [INFO] [stdout] | [INFO] [stdout] = note: the usage of `assert_eq!` is likely invalid in item context [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: macro expansion ignores token `{` and any following [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:180:1 [INFO] [stdout] | [INFO] [stdout] 180 | assert_eq!('ಠ' as i8, -0x60); // U+0CA0 truncated to eight bits, signed [INFO] [stdout] | ----------------------------- caused by the macro expansion here [INFO] [stdout] | [INFO] [stdout] = note: the usage of `assert_eq!` is likely invalid in item context [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: macro expansion ignores token `{` and any following [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:185:1 [INFO] [stdout] | [INFO] [stdout] 185 | assert_eq!('*'.is_alphabetic(), false); [INFO] [stdout] | --------------------------------------- caused by the macro expansion here [INFO] [stdout] | [INFO] [stdout] = note: the usage of `assert_eq!` is likely invalid in item context [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: macro expansion ignores token `{` and any following [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:186:1 [INFO] [stdout] | [INFO] [stdout] 186 | assert_eq!('β'.is_alphabetic(), true); [INFO] [stdout] | -------------------------------------- caused by the macro expansion here [INFO] [stdout] | [INFO] [stdout] = note: the usage of `assert_eq!` is likely invalid in item context [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: macro expansion ignores token `{` and any following [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:187:1 [INFO] [stdout] | [INFO] [stdout] 187 | assert_eq!('8'.to_digit(10), Some(8)); [INFO] [stdout] | -------------------------------------- caused by the macro expansion here [INFO] [stdout] | [INFO] [stdout] = note: the usage of `assert_eq!` is likely invalid in item context [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: macro expansion ignores token `{` and any following [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:188:1 [INFO] [stdout] | [INFO] [stdout] 188 | assert_eq!('ಠ'.len_utf8(), 3); [INFO] [stdout] | ------------------------------ caused by the macro expansion here [INFO] [stdout] | [INFO] [stdout] = note: the usage of `assert_eq!` is likely invalid in item context [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: macro expansion ignores token `{` and any following [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:189:1 [INFO] [stdout] | [INFO] [stdout] 189 | assert_eq!(std::char::from_digit(2, 10), Some('2')); [INFO] [stdout] | ---------------------------------------------------- caused by the macro expansion here [INFO] [stdout] | [INFO] [stdout] = note: the usage of `assert_eq!` is likely invalid in item context [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 27 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `types-machine` due to 28 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: macro expansion ignores token `{` and any following [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:79:1 [INFO] [stdout] | [INFO] [stdout] 79 | assert_eq!( 10_i8 as u16, 10_u16); // in range [INFO] [stdout] | ---------------------------------- caused by the macro expansion here [INFO] [stdout] | [INFO] [stdout] = note: the usage of `assert_eq!` is likely invalid in item context [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: macro expansion ignores token `{` and any following [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:80:1 [INFO] [stdout] | [INFO] [stdout] 80 | assert_eq!( 2525_u16 as i16, 2525_i16); // in range [INFO] [stdout] | --------------------------------------- caused by the macro expansion here [INFO] [stdout] | [INFO] [stdout] = note: the usage of `assert_eq!` is likely invalid in item context [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: macro expansion ignores token `{` and any following [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:81:1 [INFO] [stdout] | [INFO] [stdout] 81 | assert_eq!( -1_i16 as i32, -1_i32); // sign-extended [INFO] [stdout] | ----------------------------------- caused by the macro expansion here [INFO] [stdout] | [INFO] [stdout] = note: the usage of `assert_eq!` is likely invalid in item context [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: macro expansion ignores token `{` and any following [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:82:1 [INFO] [stdout] | [INFO] [stdout] 82 | assert_eq!(65535_u16 as i32, 65535_i32); // zero-extended [INFO] [stdout] | ---------------------------------------- caused by the macro expansion here [INFO] [stdout] | [INFO] [stdout] = note: the usage of `assert_eq!` is likely invalid in item context [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: macro expansion ignores token `{` and any following [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:88:1 [INFO] [stdout] | [INFO] [stdout] 88 | assert_eq!( 1000_i16 as u8, 232_u8); [INFO] [stdout] | ------------------------------------ caused by the macro expansion here [INFO] [stdout] | [INFO] [stdout] = note: the usage of `assert_eq!` is likely invalid in item context [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: macro expansion ignores token `{` and any following [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:89:1 [INFO] [stdout] | [INFO] [stdout] 89 | assert_eq!(65535_u32 as i16, -1_i16); [INFO] [stdout] | ------------------------------------- caused by the macro expansion here [INFO] [stdout] | [INFO] [stdout] = note: the usage of `assert_eq!` is likely invalid in item context [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: macro expansion ignores token `{` and any following [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:90:1 [INFO] [stdout] | [INFO] [stdout] 90 | assert_eq!( -1_i8 as u8, 255_u8); [INFO] [stdout] | --------------------------------- caused by the macro expansion here [INFO] [stdout] | [INFO] [stdout] = note: the usage of `assert_eq!` is likely invalid in item context [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: macro expansion ignores token `{` and any following [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:91:1 [INFO] [stdout] | [INFO] [stdout] 91 | assert_eq!( 255_u8 as i8, -1_i8); [INFO] [stdout] | --------------------------------- caused by the macro expansion here [INFO] [stdout] | [INFO] [stdout] = note: the usage of `assert_eq!` is likely invalid in item context [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: macro expansion ignores token `{` and any following [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:94:1 [INFO] [stdout] | [INFO] [stdout] 94 | assert_eq!(2u16.pow(4), 16); // exponentiation [INFO] [stdout] | ---------------------------- caused by the macro expansion here [INFO] [stdout] | [INFO] [stdout] = note: the usage of `assert_eq!` is likely invalid in item context [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: macro expansion ignores token `{` and any following [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:95:1 [INFO] [stdout] | [INFO] [stdout] 95 | assert_eq!((-4i32).abs(), 4); // absolute value [INFO] [stdout] | ----------------------------- caused by the macro expansion here [INFO] [stdout] | [INFO] [stdout] = note: the usage of `assert_eq!` is likely invalid in item context [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: macro expansion ignores token `{` and any following [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | assert_eq!(0b101101u8.count_ones(), 4); // population count [INFO] [stdout] | --------------------------------------- caused by the macro expansion here [INFO] [stdout] | [INFO] [stdout] = note: the usage of `assert_eq!` is likely invalid in item context [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: macro expansion ignores token `{` and any following [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:125:1 [INFO] [stdout] | [INFO] [stdout] 125 | assert_eq!(5f32.sqrt() * 5f32.sqrt(), 5.); // exactly 5.0, per IEEE [INFO] [stdout] | ------------------------------------------ caused by the macro expansion here [INFO] [stdout] | [INFO] [stdout] = note: the usage of `assert_eq!` is likely invalid in item context [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: macro expansion ignores token `{` and any following [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:126:1 [INFO] [stdout] | [INFO] [stdout] 126 | assert_eq!(-1.01f64.floor(), -1.0); [INFO] [stdout] | ----------------------------------- caused by the macro expansion here [INFO] [stdout] | [INFO] [stdout] = note: the usage of `assert_eq!` is likely invalid in item context [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-item macro in item position: assert [INFO] [stdout] --> src/main.rs:127:1 [INFO] [stdout] | [INFO] [stdout] 127 | assert!((-1. / std::f32::INFINITY).is_sign_negative()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: macro expansion ignores token `{` and any following [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:130:1 [INFO] [stdout] | [INFO] [stdout] 130 | println!("{}", (2.0).sqrt()); [INFO] [stdout] | ----------------------------- caused by the macro expansion here [INFO] [stdout] | [INFO] [stdout] = note: the usage of `println!` is likely invalid in item context [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: macro expansion ignores token `{` and any following [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:136:1 [INFO] [stdout] | [INFO] [stdout] 136 | println!("{}", (2.0_f64.sqrt())); [INFO] [stdout] | --------------------------------- caused by the macro expansion here [INFO] [stdout] | [INFO] [stdout] = note: the usage of `println!` is likely invalid in item context [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: macro expansion ignores token `{` and any following [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | println!("{}", f64::sqrt(2.0)); [INFO] [stdout] | ------------------------------- caused by the macro expansion here [INFO] [stdout] | [INFO] [stdout] = note: the usage of `println!` is likely invalid in item context [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: macro expansion ignores token `{` and any following [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:150:1 [INFO] [stdout] | [INFO] [stdout] 150 | assert_eq!(false as i32, 0); [INFO] [stdout] | ---------------------------- caused by the macro expansion here [INFO] [stdout] | [INFO] [stdout] = note: the usage of `assert_eq!` is likely invalid in item context [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: macro expansion ignores token `{` and any following [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:151:1 [INFO] [stdout] | [INFO] [stdout] 151 | assert_eq!(true as i32, 1); [INFO] [stdout] | --------------------------- caused by the macro expansion here [INFO] [stdout] | [INFO] [stdout] = note: the usage of `assert_eq!` is likely invalid in item context [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: macro expansion ignores token `{` and any following [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:178:1 [INFO] [stdout] | [INFO] [stdout] 178 | assert_eq!('*' as i32, 42); [INFO] [stdout] | --------------------------- caused by the macro expansion here [INFO] [stdout] | [INFO] [stdout] = note: the usage of `assert_eq!` is likely invalid in item context [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: macro expansion ignores token `{` and any following [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:179:1 [INFO] [stdout] | [INFO] [stdout] 179 | assert_eq!('ಠ' as u16, 0xca0); [INFO] [stdout] | ------------------------------ caused by the macro expansion here [INFO] [stdout] | [INFO] [stdout] = note: the usage of `assert_eq!` is likely invalid in item context [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: macro expansion ignores token `{` and any following [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:180:1 [INFO] [stdout] | [INFO] [stdout] 180 | assert_eq!('ಠ' as i8, -0x60); // U+0CA0 truncated to eight bits, signed [INFO] [stdout] | ----------------------------- caused by the macro expansion here [INFO] [stdout] | [INFO] [stdout] = note: the usage of `assert_eq!` is likely invalid in item context [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: macro expansion ignores token `{` and any following [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:185:1 [INFO] [stdout] | [INFO] [stdout] 185 | assert_eq!('*'.is_alphabetic(), false); [INFO] [stdout] | --------------------------------------- caused by the macro expansion here [INFO] [stdout] | [INFO] [stdout] = note: the usage of `assert_eq!` is likely invalid in item context [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: macro expansion ignores token `{` and any following [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:186:1 [INFO] [stdout] | [INFO] [stdout] 186 | assert_eq!('β'.is_alphabetic(), true); [INFO] [stdout] | -------------------------------------- caused by the macro expansion here [INFO] [stdout] | [INFO] [stdout] = note: the usage of `assert_eq!` is likely invalid in item context [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: macro expansion ignores token `{` and any following [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:187:1 [INFO] [stdout] | [INFO] [stdout] 187 | assert_eq!('8'.to_digit(10), Some(8)); [INFO] [stdout] | -------------------------------------- caused by the macro expansion here [INFO] [stdout] | [INFO] [stdout] = note: the usage of `assert_eq!` is likely invalid in item context [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: macro expansion ignores token `{` and any following [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:188:1 [INFO] [stdout] | [INFO] [stdout] 188 | assert_eq!('ಠ'.len_utf8(), 3); [INFO] [stdout] | ------------------------------ caused by the macro expansion here [INFO] [stdout] | [INFO] [stdout] = note: the usage of `assert_eq!` is likely invalid in item context [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: macro expansion ignores token `{` and any following [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:189:1 [INFO] [stdout] | [INFO] [stdout] 189 | assert_eq!(std::char::from_digit(2, 10), Some('2')); [INFO] [stdout] | ---------------------------------------------------- caused by the macro expansion here [INFO] [stdout] | [INFO] [stdout] = note: the usage of `assert_eq!` is likely invalid in item context [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 27 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "61ff6b0e7124d6fd82466ff557d8fff18a080a56bdf6e1ce3227a900e870e067", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "61ff6b0e7124d6fd82466ff557d8fff18a080a56bdf6e1ce3227a900e870e067", kill_on_drop: false }` [INFO] [stdout] 61ff6b0e7124d6fd82466ff557d8fff18a080a56bdf6e1ce3227a900e870e067