[INFO] fetching crate pyportus 0.5.0... [INFO] checking pyportus-0.5.0 against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] extracting crate pyportus 0.5.0 into /workspace/builds/worker-98/source [INFO] validating manifest of crates.io crate pyportus 0.5.0 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 crates.io crate pyportus 0.5.0 [INFO] finished tweaking crates.io crate pyportus 0.5.0 [INFO] tweaked toml for crates.io crate pyportus 0.5.0 written to /workspace/builds/worker-98/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-98/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-98/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] 1b5d90ba81086c1e4df09e830635dd1cbeef44213434c24f921f164a03a404db [INFO] running `Command { std: "docker" "start" "-a" "1b5d90ba81086c1e4df09e830635dd1cbeef44213434c24f921f164a03a404db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1b5d90ba81086c1e4df09e830635dd1cbeef44213434c24f921f164a03a404db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b5d90ba81086c1e4df09e830635dd1cbeef44213434c24f921f164a03a404db", kill_on_drop: false }` [INFO] [stdout] 1b5d90ba81086c1e4df09e830635dd1cbeef44213434c24f921f164a03a404db [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-98/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-98/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] 8adb7fba8aad87c94c1728772fee1fe7ca7a65b7309281088e0e7392bb3afe9a [INFO] running `Command { std: "docker" "start" "-a" "8adb7fba8aad87c94c1728772fee1fe7ca7a65b7309281088e0e7392bb3afe9a", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling libc v0.2.100 [INFO] [stderr] Compiling syn v1.0.75 [INFO] [stderr] Compiling pyo3-build-config v0.14.3 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling crossbeam-queue v0.3.2 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Compiling unindent v0.1.7 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking thread_local v1.1.3 [INFO] [stderr] Checking log v0.4.14 [INFO] [stderr] Compiling paste-impl v0.1.18 [INFO] [stderr] Checking serde_json v1.0.66 [INFO] [stderr] Checking crossbeam-utils v0.8.5 [INFO] [stderr] Checking tracing-core v0.1.19 [INFO] [stderr] Checking sharded-slab v0.1.3 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Checking tracing-serde v0.1.2 [INFO] [stderr] Checking tracing-log v0.1.2 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Checking paste v0.1.18 [INFO] [stderr] Checking matchers v0.0.1 [INFO] [stderr] Checking crossbeam v0.8.1 [INFO] [stderr] Compiling pyo3 v0.14.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking nix v0.22.1 [INFO] [stderr] Checking simple-signal v1.1.1 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Compiling pyo3-macros-backend v0.14.3 [INFO] [stderr] Compiling tracing-attributes v0.1.15 [INFO] [stderr] Compiling indoc-impl v0.3.6 [INFO] [stderr] Compiling portus_export v0.2.0 [INFO] [stderr] Compiling pyo3-macros v0.14.3 [INFO] [stderr] Checking indoc v0.3.6 [INFO] [stderr] Checking tracing v0.1.26 [INFO] [stderr] Checking portus v0.6.1 [INFO] [stderr] Checking tracing-subscriber v0.2.20 [INFO] [stderr] Checking pyportus v0.5.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `pyportus` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/cong_alg.rs [INFO] [stderr] * src/lib.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error: expected identifier, found `<` [INFO] [stderr] --> src/cong_alg.rs:87:59 [INFO] [stderr] | [INFO] [stderr] 87 | let program_name = match >::try_from(key) { [INFO] [stderr] | ----- ^ expected identifier [INFO] [stderr] | | [INFO] [stderr] | while parsing this match expression [INFO] [stderr] [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> src/lib.rs:16:64 [INFO] [stderr] | [INFO] [stderr] 16 | return Err(PyErr::new::($msg)); [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 96 | Err(portus::Error(e)) => raise!(PyException, format!("Failed to get {}: {}", name, e)), [INFO] [stderr] | ------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 [INFO] [stderr] = note: this warning originates in the macro `raise` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> src/lib.rs:16:64 [INFO] [stderr] | [INFO] [stderr] 16 | return Err(PyErr::new::($msg)); [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 134 | Err(e) => raise!(PyException, format!("Failed to update field, err: {:?}", e)), [INFO] [stderr] | -------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 [INFO] [stderr] = note: this warning originates in the macro `raise` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> src/lib.rs:16:64 [INFO] [stderr] | [INFO] [stderr] 16 | return Err(PyErr::new::($msg)); [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 154 | Err(e) => raise!( [INFO] [stderr] | _______________________- [INFO] [stderr] 155 | | PyException, [INFO] [stderr] 156 | | format!("Failed to update fields, err: {:?}", e) [INFO] [stderr] 157 | | ), [INFO] [stderr] | |_____________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 [INFO] [stderr] = note: this warning originates in the macro `raise` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> src/lib.rs:16:64 [INFO] [stderr] | [INFO] [stderr] 16 | return Err(PyErr::new::($msg)); [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 191 | Err(e) => raise!( [INFO] [stderr] | _______________________- [INFO] [stderr] 192 | | PyException, [INFO] [stderr] 193 | | format!("Failed to set datapath program: {:?}", e) [INFO] [stderr] 194 | | ), [INFO] [stderr] | |_____________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 [INFO] [stderr] = note: this warning originates in the macro `raise` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> src/lib.rs:19:57 [INFO] [stderr] | [INFO] [stderr] 19 | Err(PyErr::new::($msg)); [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 254 | .or_else(|e| raise!(PyException, format!("{:?}", e), false))?; [INFO] [stderr] | ---------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 [INFO] [stderr] = note: this warning originates in the macro `raise` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error; 5 warnings emitted [INFO] [stderr] [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/lib.rs:16:64 [INFO] [stdout] | [INFO] [stdout] 16 | return Err(PyErr::new::($msg)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 96 | Err(portus::Error(e)) => raise!(PyException, format!("Failed to get {}: {}", name, e)), [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `raise` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/lib.rs:16:64 [INFO] [stdout] | [INFO] [stdout] 16 | return Err(PyErr::new::($msg)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 96 | Err(portus::Error(e)) => raise!(PyException, format!("Failed to get {}: {}", name, e)), [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `raise` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/lib.rs:16:64 [INFO] [stdout] | [INFO] [stdout] 16 | return Err(PyErr::new::($msg)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 134 | Err(e) => raise!(PyException, format!("Failed to update field, err: {:?}", e)), [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `raise` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/lib.rs:16:64 [INFO] [stdout] | [INFO] [stdout] 16 | return Err(PyErr::new::($msg)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 154 | Err(e) => raise!( [INFO] [stdout] | _______________________- [INFO] [stdout] 155 | | PyException, [INFO] [stdout] 156 | | format!("Failed to update fields, err: {:?}", e) [INFO] [stdout] 157 | | ), [INFO] [stdout] | |_____________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `raise` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/lib.rs:16:64 [INFO] [stdout] | [INFO] [stdout] 16 | return Err(PyErr::new::($msg)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 191 | Err(e) => raise!( [INFO] [stdout] | _______________________- [INFO] [stdout] 192 | | PyException, [INFO] [stdout] 193 | | format!("Failed to set datapath program: {:?}", e) [INFO] [stdout] 194 | | ), [INFO] [stdout] | |_____________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `raise` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/lib.rs:19:57 [INFO] [stdout] | [INFO] [stdout] 19 | Err(PyErr::new::($msg)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 254 | .or_else(|e| raise!(PyException, format!("{:?}", e), false))?; [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `raise` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/lib.rs:16:64 [INFO] [stdout] | [INFO] [stdout] 16 | return Err(PyErr::new::($msg)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 134 | Err(e) => raise!(PyException, format!("Failed to update field, err: {:?}", e)), [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `raise` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/lib.rs:16:64 [INFO] [stdout] | [INFO] [stdout] 16 | return Err(PyErr::new::($msg)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 154 | Err(e) => raise!( [INFO] [stdout] | _______________________- [INFO] [stdout] 155 | | PyException, [INFO] [stdout] 156 | | format!("Failed to update fields, err: {:?}", e) [INFO] [stdout] 157 | | ), [INFO] [stdout] | |_____________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `raise` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/lib.rs:16:64 [INFO] [stdout] | [INFO] [stdout] 16 | return Err(PyErr::new::($msg)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 191 | Err(e) => raise!( [INFO] [stdout] | _______________________- [INFO] [stdout] 192 | | PyException, [INFO] [stdout] 193 | | format!("Failed to set datapath program: {:?}", e) [INFO] [stdout] 194 | | ), [INFO] [stdout] | |_____________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `raise` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/lib.rs:19:57 [INFO] [stdout] | [INFO] [stdout] 19 | Err(PyErr::new::($msg)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 254 | .or_else(|e| raise!(PyException, format!("{:?}", e), false))?; [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `raise` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait-associated function `try_from` will become ambiguous in Rust 2021 [INFO] [stdout] --> src/cong_alg.rs:87:46 [INFO] [stdout] | [INFO] [stdout] 87 | let program_name = match PyString::try_from(key) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: disambiguate the associated function: `>::try_from` [INFO] [stdout] | [INFO] [stdout] = note: `--force-warn rust-2021-prelude-collisions` implied by `--force-warn rust-2021-compatibility` [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait-associated function `try_from` will become ambiguous in Rust 2021 [INFO] [stdout] --> src/cong_alg.rs:93:48 [INFO] [stdout] | [INFO] [stdout] 93 | let program_string = match PyString::try_from(value) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: disambiguate the associated function: `>::try_from` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait-associated function `try_from` will become ambiguous in Rust 2021 [INFO] [stdout] --> src/cong_alg.rs:87:46 [INFO] [stdout] | [INFO] [stdout] 87 | let program_name = match PyString::try_from(key) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: disambiguate the associated function: `>::try_from` [INFO] [stdout] | [INFO] [stdout] = note: `--force-warn rust-2021-prelude-collisions` implied by `--force-warn rust-2021-compatibility` [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait-associated function `try_from` will become ambiguous in Rust 2021 [INFO] [stdout] --> src/cong_alg.rs:93:48 [INFO] [stdout] | [INFO] [stdout] 93 | let program_string = match PyString::try_from(value) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: disambiguate the associated function: `>::try_from` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 22.44s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking pyportus v0.5.0 (/tmp/fixit) [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/lib.rs:16:64 [INFO] [stdout] | [INFO] [stdout] 16 | return Err(PyErr::new::($msg)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 96 | Err(portus::Error(e)) => raise!(PyException, format!("Failed to get {}: {}", name, e)), [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `raise` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/lib.rs:16:64 [INFO] [stdout] | [INFO] [stdout] 16 | return Err(PyErr::new::($msg)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 134 | Err(e) => raise!(PyException, format!("Failed to update field, err: {:?}", e)), [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `raise` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/lib.rs:16:64 [INFO] [stdout] | [INFO] [stdout] 16 | return Err(PyErr::new::($msg)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 154 | Err(e) => raise!( [INFO] [stdout] | _______________________- [INFO] [stdout] 155 | | PyException, [INFO] [stdout] 156 | | format!("Failed to update fields, err: {:?}", e) [INFO] [stdout] 157 | | ), [INFO] [stdout] | |_____________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `raise` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/lib.rs:16:64 [INFO] [stdout] | [INFO] [stdout] 16 | return Err(PyErr::new::($msg)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 191 | Err(e) => raise!( [INFO] [stdout] | _______________________- [INFO] [stdout] 192 | | PyException, [INFO] [stdout] 193 | | format!("Failed to set datapath program: {:?}", e) [INFO] [stdout] 194 | | ), [INFO] [stdout] | |_____________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `raise` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/lib.rs:19:57 [INFO] [stdout] | [INFO] [stdout] 19 | Err(PyErr::new::($msg)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 254 | .or_else(|e| raise!(PyException, format!("{:?}", e), false))?; [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `raise` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/lib.rs:16:64 [INFO] [stdout] | [INFO] [stdout] 16 | return Err(PyErr::new::($msg)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 96 | Err(portus::Error(e)) => raise!(PyException, format!("Failed to get {}: {}", name, e)), [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `raise` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/lib.rs:16:64 [INFO] [stdout] | [INFO] [stdout] 16 | return Err(PyErr::new::($msg)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 134 | Err(e) => raise!(PyException, format!("Failed to update field, err: {:?}", e)), [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `raise` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/lib.rs:16:64 [INFO] [stdout] | [INFO] [stdout] 16 | return Err(PyErr::new::($msg)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 154 | Err(e) => raise!( [INFO] [stdout] | _______________________- [INFO] [stdout] 155 | | PyException, [INFO] [stdout] 156 | | format!("Failed to update fields, err: {:?}", e) [INFO] [stdout] 157 | | ), [INFO] [stdout] | |_____________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `raise` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/lib.rs:16:64 [INFO] [stdout] | [INFO] [stdout] 16 | return Err(PyErr::new::($msg)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 191 | Err(e) => raise!( [INFO] [stdout] | _______________________- [INFO] [stdout] 192 | | PyException, [INFO] [stdout] 193 | | format!("Failed to set datapath program: {:?}", e) [INFO] [stdout] 194 | | ), [INFO] [stdout] | |_____________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `raise` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/lib.rs:19:57 [INFO] [stdout] | [INFO] [stdout] 19 | Err(PyErr::new::($msg)); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 254 | .or_else(|e| raise!(PyException, format!("{:?}", e), false))?; [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `raise` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/cong_alg.rs:87:56 [INFO] [stdout] | [INFO] [stdout] 87 | let program_name = match PyString::try_from(key) { [INFO] [stdout] | ^^^^^^^^ multiple `try_from` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `TryFrom` for the type `T` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `pyo3::PyTryFrom` for the type `T` [INFO] [stdout] help: disambiguate the associated function for candidate #1 [INFO] [stdout] | [INFO] [stdout] 87 | let program_name = match TryFrom::try_from(key) { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 87 | let program_name = match pyo3::PyTryFrom::try_from(key) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/cong_alg.rs:93:58 [INFO] [stdout] | [INFO] [stdout] 93 | let program_string = match PyString::try_from(value) { [INFO] [stdout] | ^^^^^^^^ multiple `try_from` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `TryFrom` for the type `T` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `pyo3::PyTryFrom` for the type `T` [INFO] [stdout] help: disambiguate the associated function for candidate #1 [INFO] [stdout] | [INFO] [stdout] 93 | let program_string = match TryFrom::try_from(value) { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 93 | let program_string = match pyo3::PyTryFrom::try_from(value) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0034`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pyportus` due to 3 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/cong_alg.rs:87:56 [INFO] [stdout] | [INFO] [stdout] 87 | let program_name = match PyString::try_from(key) { [INFO] [stdout] | ^^^^^^^^ multiple `try_from` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `TryFrom` for the type `T` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `pyo3::PyTryFrom` for the type `T` [INFO] [stdout] help: disambiguate the associated function for candidate #1 [INFO] [stdout] | [INFO] [stdout] 87 | let program_name = match TryFrom::try_from(key) { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 87 | let program_name = match pyo3::PyTryFrom::try_from(key) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/cong_alg.rs:93:58 [INFO] [stdout] | [INFO] [stdout] 93 | let program_string = match PyString::try_from(value) { [INFO] [stdout] | ^^^^^^^^ multiple `try_from` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `TryFrom` for the type `T` [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `pyo3::PyTryFrom` for the type `T` [INFO] [stdout] help: disambiguate the associated function for candidate #1 [INFO] [stdout] | [INFO] [stdout] 93 | let program_string = match TryFrom::try_from(value) { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 93 | let program_string = match pyo3::PyTryFrom::try_from(value) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0034`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] [stderr] error: failed to check after updating to 2021 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "8adb7fba8aad87c94c1728772fee1fe7ca7a65b7309281088e0e7392bb3afe9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8adb7fba8aad87c94c1728772fee1fe7ca7a65b7309281088e0e7392bb3afe9a", kill_on_drop: false }` [INFO] [stdout] 8adb7fba8aad87c94c1728772fee1fe7ca7a65b7309281088e0e7392bb3afe9a