[INFO] fetching crate pyo3 0.13.2... [INFO] checking pyo3-0.13.2 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate pyo3 0.13.2 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate pyo3 0.13.2 on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate pyo3 0.13.2 [INFO] finished tweaking crates.io crate pyo3 0.13.2 [INFO] tweaked toml for crates.io crate pyo3 0.13.2 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded assert_approx_eq v1.1.0 [INFO] [stderr] Downloaded proptest v0.10.1 [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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 84928d23bee91a860b8cc9d949916cf802f9c488a16be5322835cfef505558d4 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "84928d23bee91a860b8cc9d949916cf802f9c488a16be5322835cfef505558d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "84928d23bee91a860b8cc9d949916cf802f9c488a16be5322835cfef505558d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "84928d23bee91a860b8cc9d949916cf802f9c488a16be5322835cfef505558d4", kill_on_drop: false }` [INFO] [stdout] 84928d23bee91a860b8cc9d949916cf802f9c488a16be5322835cfef505558d4 [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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 168e2e9a5ded841277b8b8b04e7618c6732eda6f95f3713da73b9d8d449c7deb [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "168e2e9a5ded841277b8b8b04e7618c6732eda6f95f3713da73b9d8d449c7deb", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling libc v0.2.88 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling serde_derive v1.0.124 [INFO] [stderr] Compiling serde v1.0.124 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Compiling rustversion v1.0.4 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling pyo3 v0.13.2 (/opt/rustwide/workdir) [INFO] [stderr] Checking regex-syntax v0.6.23 [INFO] [stderr] Checking lock_api v0.4.2 [INFO] [stderr] Compiling paste-impl v0.1.18 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking paste v0.1.18 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Compiling syn v1.0.63 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand_xorshift v0.2.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking proptest v0.10.1 [INFO] [stderr] Compiling pyo3-macros-backend v0.13.2 [INFO] [stderr] Compiling ctor v0.1.19 [INFO] [stderr] Compiling ghost v0.1.2 [INFO] [stderr] Compiling indoc-impl v0.3.6 [INFO] [stderr] Compiling inventory-impl v0.1.10 [INFO] [stderr] Compiling pyo3-macros v0.13.2 [INFO] [stderr] Checking indoc v0.3.6 [INFO] [stderr] Checking inventory v0.1.10 [INFO] [stderr] Checking serde_json v1.0.64 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking trybuild v1.0.41 [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_variable_arguments.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | py_assert!(py, my_obj, "my_obj.test_args() == ()"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_variable_arguments.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | py_assert!(py, my_obj, "my_obj.test_args(1) == (1,)"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_variable_arguments.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | py_assert!(py, my_obj, "my_obj.test_args(1, 2) == (1, 2)"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_variable_arguments.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | py_assert!(py, my_obj, "my_obj.test_kwargs() == None"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_variable_arguments.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | py_assert!(py, my_obj, "my_obj.test_kwargs(test=1) == {'test': 1}"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_variable_arguments.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | / py_assert!( [INFO] [stdout] 42 | | py, [INFO] [stdout] 43 | | my_obj, [INFO] [stdout] 44 | | "my_obj.test_kwargs(test1=1, test2=2) == {'test1':1, 'test2':2}" [INFO] [stdout] 45 | | ); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_pyfunction.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | py_assert!(py, f, "f() == 'Some(true)'"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_pyfunction.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | py_assert!(py, f, "f(True) == 'Some(true)'"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_pyfunction.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | py_assert!(py, f, "f(False) == 'Some(false)'"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_pyfunction.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | py_assert!(py, f, "f(None) == 'None'"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_pyfunction.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | / pyo3::py_run!( [INFO] [stdout] 60 | | py, [INFO] [stdout] 61 | | f, [INFO] [stdout] 62 | | r#" [INFO] [stdout] ... | [INFO] [stdout] 68 | | "# [INFO] [stdout] 69 | | ); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_pyfunction.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | / pyo3::py_run!( [INFO] [stdout] 91 | | py, [INFO] [stdout] 92 | | py_cfunc_arg [INFO] [stdout] 93 | | bool_to_string, [INFO] [stdout] ... | [INFO] [stdout] 96 | | "# [INFO] [stdout] 97 | | ); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_pyfunction.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | / pyo3::py_run!( [INFO] [stdout] 104 | | py, [INFO] [stdout] 105 | | py_func_arg, [INFO] [stdout] 106 | | r#" [INFO] [stdout] ... | [INFO] [stdout] 109 | | "# [INFO] [stdout] 110 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_exceptions.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | / py_run!( [INFO] [stdout] 25 | | py, [INFO] [stdout] 26 | | fail_to_open_file, [INFO] [stdout] 27 | | r#" [INFO] [stdout] ... | [INFO] [stdout] 32 | | "# [INFO] [stdout] 33 | | ); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_exceptions.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | / py_run!( [INFO] [stdout] 70 | | py, [INFO] [stdout] 71 | | call_fail_with_custom_error, [INFO] [stdout] 72 | | r#" [INFO] [stdout] ... | [INFO] [stdout] 77 | | "# [INFO] [stdout] 78 | | ); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_class_attributes.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | py_assert!(py, foo_obj, "foo_obj.a == 5"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_class_attributes.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | py_assert!(py, foo_obj, "foo_obj.B == 'bar'"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_class_attributes.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | py_assert!(py, foo_obj, "foo_obj.MY_CONST == 'foobar'"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_class_attributes.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | py_assert!(py, foo_obj, "foo_obj.foo.x == 1"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_class_attributes.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | py_assert!(py, foo_obj, "foo_obj.bar.x == 2"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_class_attributes.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | py_assert!(py, bar_obj, "bar_obj.foo.x == 3"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_class_conversion.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | py_assert!(py, p, "p.inner.foo() == 'BaseClass'"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_class_conversion.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 104 | py_assert!(py, p, "p.inner.foo() == 'SubClass'"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_various.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | py_assert!(py, get_zero, "get_zero().value == 0"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_various.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | py_assert!(py, tup, "tup == (1, 2, 'foo')"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_various.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | py_assert!(py, tup, "tup[0] == 1"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_various.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | py_assert!(py, tup, "tup[1] == 2"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_various.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | py_assert!(py, tup, "tup[2] == 'foo'"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_various.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | py_assert!(py, tup, "type(tup[0]).__name__ == 'SimplePyClass'"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_various.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | py_assert!(py, tup, "type(tup[0]).__name__ == type(tup[1]).__name__"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_various.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 91 | py_assert!(py, tup, "tup[0] != tup[1]"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_various.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 100 | py_assert!(py, tup, "tup == (1, 2, 3)"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_various.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 116 | py_assert!(py, tup, "type(tup[0]).__name__ == 'SimplePyClass'"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_various.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 117 | py_assert!(py, tup, "type(tup[0]).__name__ == type(tup[0]).__name__"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_various.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 118 | py_assert!(py, tup, "tup[0] != tup[1]"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_various.rs:159:5 [INFO] [stdout] | [INFO] [stdout] 159 | / py_run!( [INFO] [stdout] 160 | | py, [INFO] [stdout] 161 | | inst, [INFO] [stdout] 162 | | r#" [INFO] [stdout] ... | [INFO] [stdout] 170 | | "# [INFO] [stdout] 171 | | ); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_unsendable_dict.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | py_run!(py, inst, "assert inst.__dict__ == {}"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_unsendable_dict.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | py_run!(py, inst, "assert inst.__dict__ == {}"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_unsendable_dict.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | / py_run!( [INFO] [stdout] 43 | | py, [INFO] [stdout] 44 | | inst, [INFO] [stdout] 45 | | "import weakref; assert weakref.ref(inst)() is inst; inst.a = 1; assert inst.a == 1" [INFO] [stdout] 46 | | ); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_gc.rs:146:5 [INFO] [stdout] | [INFO] [stdout] 146 | py_run!(py, inst, "import gc; assert inst in gc.get_objects()"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_gc.rs:158:5 [INFO] [stdout] | [INFO] [stdout] 158 | / py_run!( [INFO] [stdout] 159 | | py, [INFO] [stdout] 160 | | inst, [INFO] [stdout] 161 | | "import weakref; assert weakref.ref(inst)() is inst" [INFO] [stdout] 162 | | ); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_gc.rs:177:5 [INFO] [stdout] | [INFO] [stdout] 177 | / py_run!( [INFO] [stdout] 178 | | py, [INFO] [stdout] 179 | | inst, [INFO] [stdout] 180 | | "import weakref; assert weakref.ref(inst)() is inst" [INFO] [stdout] 181 | | ); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_bytes.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | py_assert!(py, f, "f(b'Hello World') == b'Hello World'"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_bytes.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | py_assert!(py, f, "f(b'Hello World') == b'Hello World'"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_bytes.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | py_assert!(py, f, "f(bytearray(b'Hello World')) == b'Hello World'"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_text_signature.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | py_assert!(py, typeobj, "typeobj.__doc__ is None"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_text_signature.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | py_assert!(py, typeobj, "typeobj.__text_signature__ is None"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_text_signature.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | py_assert!(py, typeobj, "typeobj.__doc__ == 'docs line1\\ndocs line2'"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_text_signature.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | py_assert!(py, typeobj, "typeobj.__text_signature__ is None"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_text_signature.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | / py_assert!( [INFO] [stdout] 59 | | py, [INFO] [stdout] 60 | | typeobj, [INFO] [stdout] 61 | | "typeobj.__doc__ == 'docs line1\\ndocs line2\\ndocs line3'" [INFO] [stdout] 62 | | ); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_text_signature.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | / py_assert!( [INFO] [stdout] 64 | | py, [INFO] [stdout] 65 | | typeobj, [INFO] [stdout] 66 | | "typeobj.__text_signature__ == '(a, b=None, *, c=42)'" [INFO] [stdout] 67 | | ); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_text_signature.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 91 | / py_assert!( [INFO] [stdout] 92 | | py, [INFO] [stdout] 93 | | typeobj, [INFO] [stdout] 94 | | "typeobj.__doc__ is None or typeobj.__doc__ == ''" [INFO] [stdout] 95 | | ); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_text_signature.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 96 | / py_assert!( [INFO] [stdout] 97 | | py, [INFO] [stdout] 98 | | typeobj, [INFO] [stdout] 99 | | "typeobj.__text_signature__ == '(a, b=None, *, c=42)'" [INFO] [stdout] 100 | | ); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_text_signature.rs:115:5 [INFO] [stdout] | [INFO] [stdout] 115 | py_assert!(py, f, "f.__text_signature__ == '(a, b=None, *, c=42)'"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_text_signature.rs:134:5 [INFO] [stdout] | [INFO] [stdout] 134 | / py_assert!( [INFO] [stdout] 135 | | py, [INFO] [stdout] 136 | | m, [INFO] [stdout] 137 | | "m.my_function.__text_signature__ == '(a, b=None, *, c=42)'" [INFO] [stdout] 138 | | ); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_text_signature.rs:172:5 [INFO] [stdout] | [INFO] [stdout] 172 | / py_assert!( [INFO] [stdout] 173 | | py, [INFO] [stdout] 174 | | typeobj, [INFO] [stdout] 175 | | "typeobj.method.__text_signature__ == '($self, a)'" [INFO] [stdout] 176 | | ); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_text_signature.rs:177:5 [INFO] [stdout] | [INFO] [stdout] 177 | / py_assert!( [INFO] [stdout] 178 | | py, [INFO] [stdout] 179 | | typeobj, [INFO] [stdout] 180 | | "typeobj.pyself_method.__text_signature__ == '($self, b)'" [INFO] [stdout] 181 | | ); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_text_signature.rs:182:5 [INFO] [stdout] | [INFO] [stdout] 182 | / py_assert!( [INFO] [stdout] 183 | | py, [INFO] [stdout] 184 | | typeobj, [INFO] [stdout] 185 | | "typeobj.class_method.__text_signature__ == '($cls, c)'" [INFO] [stdout] 186 | | ); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_text_signature.rs:187:5 [INFO] [stdout] | [INFO] [stdout] 187 | / py_assert!( [INFO] [stdout] 188 | | py, [INFO] [stdout] 189 | | typeobj, [INFO] [stdout] 190 | | "typeobj.static_method.__text_signature__ == '(d)'" [INFO] [stdout] 191 | | ); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_text_signature.rs:215:5 [INFO] [stdout] | [INFO] [stdout] 215 | py_assert!(py, typeobj, "typeobj.__text_signature__ == '($self)'"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_text_signature.rs:217:5 [INFO] [stdout] | [INFO] [stdout] 217 | / py_assert!( [INFO] [stdout] 218 | | py, [INFO] [stdout] 219 | | typeobj, [INFO] [stdout] 220 | | "typeobj.method.__text_signature__ == '($self)'" [INFO] [stdout] 221 | | ); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pyo3` [INFO] [stdout] --> src/types/datetime.rs:419:17 [INFO] [stdout] | [INFO] [stdout] 419 | use pyo3::types::{PyDateTime, PyTimeAccess}; [INFO] [stdout] | ^^^^ use of undeclared crate or module `pyo3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_sequence.rs:217:5 [INFO] [stdout] | [INFO] [stdout] 217 | py_assert!(py, list, "list.items == [1, 2, 3]"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_sequence.rs:227:5 [INFO] [stdout] | [INFO] [stdout] 227 | py_run!(py, list, "list.items = [1, 2, 3]"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_sequence.rs:264:5 [INFO] [stdout] | [INFO] [stdout] 264 | py_assert!(py, list, "list[0] == 1"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_sequence.rs:265:5 [INFO] [stdout] | [INFO] [stdout] 265 | py_assert!(py, list, "list[1] == None"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_getter_setter.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | py_run!(py, inst, "assert inst.get_num() == 10"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_getter_setter.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | py_run!(py, inst, "assert inst.get_num() == inst.DATA"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_getter_setter.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | py_run!(py, inst, "inst.DATA = 20"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_getter_setter.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | py_run!(py, inst, "assert inst.get_num() == 20 == inst.DATA"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_getter_setter.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | py_run!(py, inst, "assert inst.get_num() == inst.unwrapped == 20"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_getter_setter.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | py_run!(py, inst, "inst.unwrapped = 42"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_getter_setter.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | py_run!(py, inst, "assert inst.get_num() == inst.unwrapped == 42"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_getter_setter.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | py_run!(py, inst, "assert inst.data_list == [42]"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_getter_setter.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 100 | py_run!(py, inst, "assert inst.num == 10"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_getter_setter.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 101 | py_run!(py, inst, "inst.num = 20; assert inst.num == 20"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_getter_setter.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 102 | / py_run!( [INFO] [stdout] 103 | | py, [INFO] [stdout] 104 | | inst, [INFO] [stdout] 105 | | "assert inst.text == 'Hello'; inst.text = 'There'; assert inst.text == 'There'" [INFO] [stdout] 106 | | ); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_getter_setter.rs:135:5 [INFO] [stdout] | [INFO] [stdout] 135 | py_run!(py, inst, "assert inst.num == 10"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_getter_setter.rs:136:5 [INFO] [stdout] | [INFO] [stdout] 136 | py_run!(py, inst, "inst.num = 20; assert inst.num == 20"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_pyself.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | / py_assert!( [INFO] [stdout] 93 | | py, [INFO] [stdout] 94 | | reader, [INFO] [stdout] 95 | | "list(reader.get_iter(bytes([3, 5, 2]))) == ['c', 'e', 'b']" [INFO] [stdout] 96 | | ); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_pyself.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 104 | py_assert!(py, reader, "reader == reader.clone_ref()"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_pyself.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 105 | py_assert!(py, reader, "reader == reader.clone_ref_with_py()"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_pyself.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | / py_assert!( [INFO] [stdout] 114 | | py, [INFO] [stdout] 115 | | reader, [INFO] [stdout] 116 | | "list(reader.get_iter_and_reset(bytes([3, 5, 2]))) == ['c', 'e', 'b']" [INFO] [stdout] 117 | | ); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_dunder.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | py_assert!(py, inst, "len(inst) == 10"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_dunder.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | py_assert!(py, inst, "iter(inst) is inst"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_dunder.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 77 | py_assert!(py, inst, "list(inst) == [5, 6, 7]"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_dunder.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 108 | py_assert!(py, obj, "str(obj) == 'str'"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_dunder.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | py_assert!(py, obj, "repr(obj) == 'repr'"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_dunder.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | py_assert!(py, obj, "'{0:x}'.format(obj) == 'format(x)'"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_dunder.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 111 | py_assert!(py, obj, "bytes(obj) == b'bytes'"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_dunder.rs:138:5 [INFO] [stdout] | [INFO] [stdout] 138 | py_assert!(py, one, "hash(one) == 1"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_dunder.rs:139:5 [INFO] [stdout] | [INFO] [stdout] 139 | py_assert!(py, ten, "hash(ten) == 10"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_dunder.rs:140:5 [INFO] [stdout] | [INFO] [stdout] 140 | py_assert!(py, minus_one, "hash(minus_one) == -2"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_dunder.rs:142:5 [INFO] [stdout] | [INFO] [stdout] 142 | py_assert!(py, one, "bool(one) is True"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_dunder.rs:143:5 [INFO] [stdout] | [INFO] [stdout] 143 | py_assert!(py, zero, "not zero"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_dunder.rs:194:5 [INFO] [stdout] | [INFO] [stdout] 194 | py_assert!(py, c, "list(c) == ['A', 'B', 'C', 'D', 'E', 'F', 'G']"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_dunder.rs:195:5 [INFO] [stdout] | [INFO] [stdout] 195 | py_assert!(py, c, "c[-1] == 'G'"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_dunder.rs:196:5 [INFO] [stdout] | [INFO] [stdout] 196 | / py_run!( [INFO] [stdout] 197 | | py, [INFO] [stdout] 198 | | c, [INFO] [stdout] 199 | | r#" [INFO] [stdout] ... | [INFO] [stdout] 202 | | "# [INFO] [stdout] 203 | | ); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_dunder.rs:224:5 [INFO] [stdout] | [INFO] [stdout] 224 | py_assert!(py, c, "callable(c)"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_dunder.rs:225:5 [INFO] [stdout] | [INFO] [stdout] 225 | py_assert!(py, c, "c(7) == 42"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_dunder.rs:228:5 [INFO] [stdout] | [INFO] [stdout] 228 | py_assert!(py, nc, "not callable(nc)"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_dunder.rs:252:5 [INFO] [stdout] | [INFO] [stdout] 252 | py_run!(py, c, "c[1] = 2"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_dunder.rs:279:5 [INFO] [stdout] | [INFO] [stdout] 279 | py_run!(py, c, "del c[1]"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_dunder.rs:309:5 [INFO] [stdout] | [INFO] [stdout] 309 | py_run!(py, c, "c[1] = 2"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_dunder.rs:314:5 [INFO] [stdout] | [INFO] [stdout] 314 | py_run!(py, c, "del c[1]"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_dunder.rs:335:5 [INFO] [stdout] | [INFO] [stdout] 335 | py_run!(py, c, "assert reversed(c) == 'I am reversed'"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_dunder.rs:354:5 [INFO] [stdout] | [INFO] [stdout] 354 | py_run!(py, c, "assert 1 in c"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_dunder.rs:355:5 [INFO] [stdout] | [INFO] [stdout] 355 | py_run!(py, c, "assert -1 not in c"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_dunder.rs:388:5 [INFO] [stdout] | [INFO] [stdout] 388 | py_run!(py, c, "with c as x: assert x == 42"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_dunder.rs:394:5 [INFO] [stdout] | [INFO] [stdout] 394 | py_run!(py, c, "with c as x: raise ValueError"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_dunder.rs:465:5 [INFO] [stdout] | [INFO] [stdout] 465 | / py_run!( [INFO] [stdout] 466 | | py, [INFO] [stdout] 467 | | inst, [INFO] [stdout] 468 | | r#" [INFO] [stdout] ... | [INFO] [stdout] 471 | | "# [INFO] [stdout] 472 | | ); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_dunder.rs:482:5 [INFO] [stdout] | [INFO] [stdout] 482 | / py_run!( [INFO] [stdout] 483 | | py, [INFO] [stdout] 484 | | inst, [INFO] [stdout] 485 | | r#" [INFO] [stdout] ... | [INFO] [stdout] 488 | | "# [INFO] [stdout] 489 | | ); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_dunder.rs:504:5 [INFO] [stdout] | [INFO] [stdout] 504 | / py_run!( [INFO] [stdout] 505 | | py, [INFO] [stdout] 506 | | inst, [INFO] [stdout] 507 | | r#" [INFO] [stdout] ... | [INFO] [stdout] 510 | | "# [INFO] [stdout] 511 | | ); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_dunder.rs:523:5 [INFO] [stdout] | [INFO] [stdout] 523 | / py_run!( [INFO] [stdout] 524 | | py, [INFO] [stdout] 525 | | inst, [INFO] [stdout] 526 | | "import weakref; assert weakref.ref(inst)() is inst; inst.a = 1; assert inst.a == 1" [INFO] [stdout] 527 | | ); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_dunder.rs:548:5 [INFO] [stdout] | [INFO] [stdout] 548 | py_assert!(py, inst, "inst.data == 4"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_dunder.rs:549:5 [INFO] [stdout] | [INFO] [stdout] 549 | py_assert!(py, inst, "inst.a == 8"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 33 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_inheritance.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | py_run!(py, inst, "assert inst.val1 == 10; assert inst.val2 == 5"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_inheritance.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | / py_run!( [INFO] [stdout] 84 | | py, [INFO] [stdout] 85 | | obj, [INFO] [stdout] 86 | | r#" [INFO] [stdout] ... | [INFO] [stdout] 89 | | "# [INFO] [stdout] 90 | | ); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_inheritance.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 137 | / py_run!( [INFO] [stdout] 138 | | py, [INFO] [stdout] 139 | | subclass, [INFO] [stdout] 140 | | r#" [INFO] [stdout] ... | [INFO] [stdout] 148 | | "# [INFO] [stdout] 149 | | ); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_inheritance.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 178 | / py_run!( [INFO] [stdout] 179 | | py, [INFO] [stdout] 180 | | set_sub, [INFO] [stdout] 181 | | r#"set_sub.add(10); assert list(set_sub) == [10]; assert set_sub._name == "Hello :)""# [INFO] [stdout] 182 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_inheritance.rs:205:9 [INFO] [stdout] | [INFO] [stdout] 205 | / py_run!( [INFO] [stdout] 206 | | py, [INFO] [stdout] 207 | | dict_sub, [INFO] [stdout] 208 | | r#"dict_sub[0] = 1; assert dict_sub[0] == 1; assert dict_sub._name == "Hello :)""# [INFO] [stdout] 209 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_inheritance.rs:231:9 [INFO] [stdout] | [INFO] [stdout] 231 | / py_run!( [INFO] [stdout] 232 | | py, [INFO] [stdout] 233 | | SimpleClass, [INFO] [stdout] 234 | | r#" [INFO] [stdout] ... | [INFO] [stdout] 255 | | "# [INFO] [stdout] 256 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `pyo3` [INFO] [stdout] --> src/types/datetime.rs:418:15 [INFO] [stdout] | [INFO] [stdout] 418 | pyo3::Python::with_gil(|py| { [INFO] [stdout] | ^^^^^^ not found in `pyo3` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 417 | use crate::Python; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PyDateTime` [INFO] [stdout] --> src/types/datetime.rs:421:21 [INFO] [stdout] | [INFO] [stdout] 421 | let a = PyDateTime::new_with_fold(py, 2021, 1, 23, 20, 32, 40, 341516, None, false); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 417 | use crate::types::PyDateTime; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PyDateTime` [INFO] [stdout] --> src/types/datetime.rs:422:21 [INFO] [stdout] | [INFO] [stdout] 422 | let b = PyDateTime::new_with_fold(py, 2021, 1, 23, 20, 32, 40, 341516, None, true); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 417 | use crate::types::PyDateTime; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `writeonly` [INFO] [stdout] --> tests/test_class_basics.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | writeonly: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_class_basics.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | py_assert!(py, typeobj, "typeobj.__name__ == 'EmptyClass'"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_class_basics.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | / py_run!( [INFO] [stdout] 47 | | py, [INFO] [stdout] 48 | | typeobj, [INFO] [stdout] 49 | | "assert typeobj.__doc__ == 'Line1\\nLine2\\n Line3'" [INFO] [stdout] 50 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_class_basics.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | / py_run!( [INFO] [stdout] 52 | | py, [INFO] [stdout] 53 | | typeobj, [INFO] [stdout] 54 | | "assert typeobj.value.__doc__ == 'Property field'" [INFO] [stdout] 55 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_class_basics.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | / py_run!( [INFO] [stdout] 57 | | py, [INFO] [stdout] 58 | | typeobj, [INFO] [stdout] 59 | | "assert typeobj.readonly.__doc__ == 'Read-only property field'" [INFO] [stdout] 60 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_class_basics.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | / py_run!( [INFO] [stdout] 62 | | py, [INFO] [stdout] 63 | | typeobj, [INFO] [stdout] 64 | | "assert typeobj.writeonly.__doc__ == 'Write-only property field'" [INFO] [stdout] 65 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_class_basics.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 87 | py_assert!(py, typeobj, "typeobj.__name__ == 'CustomName'"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_class_basics.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | py_assert!(py, typeobj, "typeobj.custom_fn.__name__ == 'custom_fn'"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_class_basics.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | / py_assert!( [INFO] [stdout] 90 | | py, [INFO] [stdout] 91 | | typeobj, [INFO] [stdout] 92 | | "typeobj.custom_static.__name__ == 'custom_static'" [INFO] [stdout] 93 | | ); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_class_basics.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 94 | py_assert!(py, typeobj, "not hasattr(typeobj, 'bar')"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_class_basics.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | py_assert!(py, typeobj, "not hasattr(typeobj, 'bar_static')"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_class_basics.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 114 | py_assert!(py, typeobj, "not hasattr(typeobj, 'r#fn')"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_class_basics.rs:115:5 [INFO] [stdout] | [INFO] [stdout] 115 | py_assert!(py, typeobj, "hasattr(typeobj, 'fn')"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_class_basics.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 116 | py_assert!(py, typeobj, "hasattr(typeobj, 'type')"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_class_basics.rs:168:5 [INFO] [stdout] | [INFO] [stdout] 168 | py_assert!(py, ty, "ty(5).value == 5"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_class_basics.rs:169:5 [INFO] [stdout] | [INFO] [stdout] 169 | py_assert!(py, ty, "ty(None).value == None"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_module.rs:178:5 [INFO] [stdout] | [INFO] [stdout] 178 | py_assert!(py, module, "module.move() == 42"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_module.rs:203:5 [INFO] [stdout] | [INFO] [stdout] 203 | py_assert!(py, module, "not hasattr(module, 'custom_named_fn')"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_module.rs:204:5 [INFO] [stdout] | [INFO] [stdout] 204 | py_assert!(py, module, "module.foobar() == 42"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_module.rs:213:5 [INFO] [stdout] | [INFO] [stdout] 213 | py_assert!(py, module, "module.yay == 'me'"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_module.rs:263:5 [INFO] [stdout] | [INFO] [stdout] 263 | / py_assert!( [INFO] [stdout] 264 | | py, [INFO] [stdout] 265 | | supermodule, [INFO] [stdout] 266 | | "supermodule.superfunction() == 'Superfunction'" [INFO] [stdout] 267 | | ); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_module.rs:268:5 [INFO] [stdout] | [INFO] [stdout] 268 | / py_assert!( [INFO] [stdout] 269 | | py, [INFO] [stdout] 270 | | supermodule, [INFO] [stdout] 271 | | "supermodule.submodule.subfunction() == 'Subfunction'" [INFO] [stdout] 272 | | ); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_module.rs:273:5 [INFO] [stdout] | [INFO] [stdout] 273 | / py_assert!( [INFO] [stdout] 274 | | py, [INFO] [stdout] 275 | | supermodule, [INFO] [stdout] 276 | | "supermodule.submodule_with_init_fn.subfunction() == 'Subfunction'" [INFO] [stdout] 277 | | ); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_module.rs:305:5 [INFO] [stdout] | [INFO] [stdout] 305 | py_assert!(py, m, "m.ext_vararg_fn() == [5, ()]"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_module.rs:306:5 [INFO] [stdout] | [INFO] [stdout] 306 | py_assert!(py, m, "m.ext_vararg_fn(1, 2) == [1, (2,)]"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_module.rs:308:5 [INFO] [stdout] | [INFO] [stdout] 308 | py_assert!(py, m, "m.int_vararg_fn() == [5, ()]"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_module.rs:309:5 [INFO] [stdout] | [INFO] [stdout] 309 | py_assert!(py, m, "m.int_vararg_fn(1, 2) == [1, (2,)]"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_module.rs:328:9 [INFO] [stdout] | [INFO] [stdout] 328 | py_assert!(py, m, "isinstance(m.ANON, m.AnonClass)"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_module.rs:389:5 [INFO] [stdout] | [INFO] [stdout] 389 | / py_assert!( [INFO] [stdout] 390 | | py, [INFO] [stdout] 391 | | m, [INFO] [stdout] 392 | | "m.pyfunction_with_module() == 'module_with_functions_with_module'" [INFO] [stdout] 393 | | ); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_module.rs:394:5 [INFO] [stdout] | [INFO] [stdout] 394 | / py_assert!( [INFO] [stdout] 395 | | py, [INFO] [stdout] 396 | | m, [INFO] [stdout] 397 | | "m.pyfunction_with_module_and_py() == 'module_with_functions_with_module'" [INFO] [stdout] 398 | | ); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_module.rs:399:5 [INFO] [stdout] | [INFO] [stdout] 399 | / py_assert!( [INFO] [stdout] 400 | | py, [INFO] [stdout] 401 | | m, [INFO] [stdout] 402 | | "m.pyfunction_with_module_and_default_arg() \ [INFO] [stdout] 403 | | == ('module_with_functions_with_module', 'foo')" [INFO] [stdout] 404 | | ); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_module.rs:405:5 [INFO] [stdout] | [INFO] [stdout] 405 | / py_assert!( [INFO] [stdout] 406 | | py, [INFO] [stdout] 407 | | m, [INFO] [stdout] 408 | | "m.pyfunction_with_module_and_args_kwargs(1, x=1, y=2) \ [INFO] [stdout] 409 | | == ('module_with_functions_with_module', 1, 2)" [INFO] [stdout] 410 | | ); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_arithmetics.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | py_run!(py, c, "assert repr(-c) == 'UA(-2.7)'"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_arithmetics.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | py_run!(py, c, "assert repr(+c) == 'UA(2.7)'"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_arithmetics.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | py_run!(py, c, "assert repr(abs(c)) == 'UA(2.7)'"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_arithmetics.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | py_run!(py, c, "assert repr(round(c)) == 'UA(3)'"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_arithmetics.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | py_run!(py, c, "assert repr(round(c, 1)) == 'UA(3)'"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_arithmetics.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 126 | py_run!(py, c, code); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_arithmetics.rs:189:5 [INFO] [stdout] | [INFO] [stdout] 189 | py_run!(py, c, "assert c + c == 'BA + BA'"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_arithmetics.rs:190:5 [INFO] [stdout] | [INFO] [stdout] 190 | py_run!(py, c, "assert c.__add__(c) == 'BA + BA'"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_arithmetics.rs:191:5 [INFO] [stdout] | [INFO] [stdout] 191 | py_run!(py, c, "assert c + 1 == 'BA + 1'"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_arithmetics.rs:192:5 [INFO] [stdout] | [INFO] [stdout] 192 | py_run!(py, c, "assert 1 + c == '1 + BA'"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_arithmetics.rs:193:5 [INFO] [stdout] | [INFO] [stdout] 193 | py_run!(py, c, "assert c - 1 == 'BA - 1'"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_arithmetics.rs:194:5 [INFO] [stdout] | [INFO] [stdout] 194 | py_run!(py, c, "assert 1 - c == '1 - BA'"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_arithmetics.rs:195:5 [INFO] [stdout] | [INFO] [stdout] 195 | py_run!(py, c, "assert c * 1 == 'BA * 1'"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_arithmetics.rs:196:5 [INFO] [stdout] | [INFO] [stdout] 196 | py_run!(py, c, "assert 1 * c == '1 * BA'"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_arithmetics.rs:198:5 [INFO] [stdout] | [INFO] [stdout] 198 | py_run!(py, c, "assert c << 1 == 'BA << 1'"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_arithmetics.rs:199:5 [INFO] [stdout] | [INFO] [stdout] 199 | py_run!(py, c, "assert 1 << c == '1 << BA'"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_arithmetics.rs:200:5 [INFO] [stdout] | [INFO] [stdout] 200 | py_run!(py, c, "assert c >> 1 == 'BA >> 1'"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_arithmetics.rs:201:5 [INFO] [stdout] | [INFO] [stdout] 201 | py_run!(py, c, "assert 1 >> c == '1 >> BA'"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_arithmetics.rs:202:5 [INFO] [stdout] | [INFO] [stdout] 202 | py_run!(py, c, "assert c & 1 == 'BA & 1'"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_arithmetics.rs:203:5 [INFO] [stdout] | [INFO] [stdout] 203 | py_run!(py, c, "assert 1 & c == '1 & BA'"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_arithmetics.rs:204:5 [INFO] [stdout] | [INFO] [stdout] 204 | py_run!(py, c, "assert c ^ 1 == 'BA ^ 1'"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_arithmetics.rs:205:5 [INFO] [stdout] | [INFO] [stdout] 205 | py_run!(py, c, "assert 1 ^ c == '1 ^ BA'"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_arithmetics.rs:206:5 [INFO] [stdout] | [INFO] [stdout] 206 | py_run!(py, c, "assert c | 1 == 'BA | 1'"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_arithmetics.rs:207:5 [INFO] [stdout] | [INFO] [stdout] 207 | py_run!(py, c, "assert 1 | c == '1 | BA'"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_arithmetics.rs:208:5 [INFO] [stdout] | [INFO] [stdout] 208 | py_run!(py, c, "assert c ** 1 == 'BA ** 1 (mod: None)'"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_arithmetics.rs:209:5 [INFO] [stdout] | [INFO] [stdout] 209 | py_run!(py, c, "assert 1 ** c == '1 ** BA (mod: None)'"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_arithmetics.rs:211:5 [INFO] [stdout] | [INFO] [stdout] 211 | py_run!(py, c, "assert pow(c, 1, 100) == 'BA ** 1 (mod: Some(100))'"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_arithmetics.rs:262:5 [INFO] [stdout] | [INFO] [stdout] 262 | py_run!(py, c, "assert c.__radd__(1) == '1 + RA'"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_arithmetics.rs:263:5 [INFO] [stdout] | [INFO] [stdout] 263 | py_run!(py, c, "assert 1 + c == '1 + RA'"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_arithmetics.rs:264:5 [INFO] [stdout] | [INFO] [stdout] 264 | py_run!(py, c, "assert c.__rsub__(1) == '1 - RA'"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_arithmetics.rs:265:5 [INFO] [stdout] | [INFO] [stdout] 265 | py_run!(py, c, "assert 1 - c == '1 - RA'"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_arithmetics.rs:266:5 [INFO] [stdout] | [INFO] [stdout] 266 | py_run!(py, c, "assert c.__rmul__(1) == '1 * RA'"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_arithmetics.rs:267:5 [INFO] [stdout] | [INFO] [stdout] 267 | py_run!(py, c, "assert 1 * c == '1 * RA'"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_arithmetics.rs:268:5 [INFO] [stdout] | [INFO] [stdout] 268 | py_run!(py, c, "assert c.__rlshift__(1) == '1 << RA'"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_arithmetics.rs:269:5 [INFO] [stdout] | [INFO] [stdout] 269 | py_run!(py, c, "assert 1 << c == '1 << RA'"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_arithmetics.rs:270:5 [INFO] [stdout] | [INFO] [stdout] 270 | py_run!(py, c, "assert c.__rrshift__(1) == '1 >> RA'"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_arithmetics.rs:271:5 [INFO] [stdout] | [INFO] [stdout] 271 | py_run!(py, c, "assert 1 >> c == '1 >> RA'"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_arithmetics.rs:272:5 [INFO] [stdout] | [INFO] [stdout] 272 | py_run!(py, c, "assert c.__rand__(1) == '1 & RA'"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_arithmetics.rs:273:5 [INFO] [stdout] | [INFO] [stdout] 273 | py_run!(py, c, "assert 1 & c == '1 & RA'"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_arithmetics.rs:274:5 [INFO] [stdout] | [INFO] [stdout] 274 | py_run!(py, c, "assert c.__rxor__(1) == '1 ^ RA'"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_arithmetics.rs:275:5 [INFO] [stdout] | [INFO] [stdout] 275 | py_run!(py, c, "assert 1 ^ c == '1 ^ RA'"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_arithmetics.rs:276:5 [INFO] [stdout] | [INFO] [stdout] 276 | py_run!(py, c, "assert c.__ror__(1) == '1 | RA'"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_arithmetics.rs:277:5 [INFO] [stdout] | [INFO] [stdout] 277 | py_run!(py, c, "assert 1 | c == '1 | RA'"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_arithmetics.rs:278:5 [INFO] [stdout] | [INFO] [stdout] 278 | py_run!(py, c, "assert c.__rpow__(1) == '1 ** RA'"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_arithmetics.rs:279:5 [INFO] [stdout] | [INFO] [stdout] 279 | py_run!(py, c, "assert 1 ** c == '1 ** RA'"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_arithmetics.rs:388:5 [INFO] [stdout] | [INFO] [stdout] 388 | py_run!(py, c, "assert c + 1 == 'LR + 1'"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_arithmetics.rs:389:5 [INFO] [stdout] | [INFO] [stdout] 389 | py_run!(py, c, "assert c - 1 == 'LR - 1'"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_arithmetics.rs:390:5 [INFO] [stdout] | [INFO] [stdout] 390 | py_run!(py, c, "assert c * 1 == 'LR * 1'"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_arithmetics.rs:391:5 [INFO] [stdout] | [INFO] [stdout] 391 | py_run!(py, c, "assert c << 1 == 'LR << 1'"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_arithmetics.rs:392:5 [INFO] [stdout] | [INFO] [stdout] 392 | py_run!(py, c, "assert c >> 1 == 'LR >> 1'"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_arithmetics.rs:393:5 [INFO] [stdout] | [INFO] [stdout] 393 | py_run!(py, c, "assert c & 1 == 'LR & 1'"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_arithmetics.rs:394:5 [INFO] [stdout] | [INFO] [stdout] 394 | py_run!(py, c, "assert c ^ 1 == 'LR ^ 1'"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_arithmetics.rs:395:5 [INFO] [stdout] | [INFO] [stdout] 395 | py_run!(py, c, "assert c | 1 == 'LR | 1'"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_arithmetics.rs:396:5 [INFO] [stdout] | [INFO] [stdout] 396 | py_run!(py, c, "assert c ** 1 == 'LR ** 1'"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_arithmetics.rs:397:5 [INFO] [stdout] | [INFO] [stdout] 397 | py_run!(py, c, "assert c @ 1 == 'LR @ 1'"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_arithmetics.rs:399:5 [INFO] [stdout] | [INFO] [stdout] 399 | py_run!(py, c, "assert 1 + c == '1 + RA'"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_arithmetics.rs:400:5 [INFO] [stdout] | [INFO] [stdout] 400 | py_run!(py, c, "assert 1 - c == '1 - RA'"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_arithmetics.rs:401:5 [INFO] [stdout] | [INFO] [stdout] 401 | py_run!(py, c, "assert 1 * c == '1 * RA'"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_arithmetics.rs:402:5 [INFO] [stdout] | [INFO] [stdout] 402 | py_run!(py, c, "assert 1 << c == '1 << RA'"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_arithmetics.rs:403:5 [INFO] [stdout] | [INFO] [stdout] 403 | py_run!(py, c, "assert 1 >> c == '1 >> RA'"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_arithmetics.rs:404:5 [INFO] [stdout] | [INFO] [stdout] 404 | py_run!(py, c, "assert 1 & c == '1 & RA'"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_arithmetics.rs:405:5 [INFO] [stdout] | [INFO] [stdout] 405 | py_run!(py, c, "assert 1 ^ c == '1 ^ RA'"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_arithmetics.rs:406:5 [INFO] [stdout] | [INFO] [stdout] 406 | py_run!(py, c, "assert 1 | c == '1 | RA'"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_arithmetics.rs:407:5 [INFO] [stdout] | [INFO] [stdout] 407 | py_run!(py, c, "assert 1 ** c == '1 ** RA'"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_arithmetics.rs:408:5 [INFO] [stdout] | [INFO] [stdout] 408 | py_run!(py, c, "assert 1 @ c == '1 @ RA'"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_arithmetics.rs:456:5 [INFO] [stdout] | [INFO] [stdout] 456 | py_run!(py, c, "assert (c < c) == 'RC < RC'"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_arithmetics.rs:457:5 [INFO] [stdout] | [INFO] [stdout] 457 | py_run!(py, c, "assert (c < 1) == 'RC < 1'"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_arithmetics.rs:458:5 [INFO] [stdout] | [INFO] [stdout] 458 | py_run!(py, c, "assert (1 < c) == 'RC > 1'"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_arithmetics.rs:459:5 [INFO] [stdout] | [INFO] [stdout] 459 | py_run!(py, c, "assert (c <= c) == 'RC <= RC'"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_arithmetics.rs:460:5 [INFO] [stdout] | [INFO] [stdout] 460 | py_run!(py, c, "assert (c <= 1) == 'RC <= 1'"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_arithmetics.rs:461:5 [INFO] [stdout] | [INFO] [stdout] 461 | py_run!(py, c, "assert (1 <= c) == 'RC >= 1'"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_arithmetics.rs:462:5 [INFO] [stdout] | [INFO] [stdout] 462 | py_run!(py, c, "assert (c == c) == 'RC == RC'"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_arithmetics.rs:463:5 [INFO] [stdout] | [INFO] [stdout] 463 | py_run!(py, c, "assert (c == 1) == 'RC == 1'"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_arithmetics.rs:464:5 [INFO] [stdout] | [INFO] [stdout] 464 | py_run!(py, c, "assert (1 == c) == 'RC == 1'"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_arithmetics.rs:465:5 [INFO] [stdout] | [INFO] [stdout] 465 | py_run!(py, c, "assert (c != c) == 'RC != RC'"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_arithmetics.rs:466:5 [INFO] [stdout] | [INFO] [stdout] 466 | py_run!(py, c, "assert (c != 1) == 'RC != 1'"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_arithmetics.rs:467:5 [INFO] [stdout] | [INFO] [stdout] 467 | py_run!(py, c, "assert (1 != c) == 'RC != 1'"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_arithmetics.rs:468:5 [INFO] [stdout] | [INFO] [stdout] 468 | py_run!(py, c, "assert (c > c) == 'RC > RC'"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_arithmetics.rs:469:5 [INFO] [stdout] | [INFO] [stdout] 469 | py_run!(py, c, "assert (c > 1) == 'RC > 1'"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_arithmetics.rs:470:5 [INFO] [stdout] | [INFO] [stdout] 470 | py_run!(py, c, "assert (1 > c) == 'RC < 1'"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_arithmetics.rs:471:5 [INFO] [stdout] | [INFO] [stdout] 471 | py_run!(py, c, "assert (c >= c) == 'RC >= RC'"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_arithmetics.rs:472:5 [INFO] [stdout] | [INFO] [stdout] 472 | py_run!(py, c, "assert (c >= 1) == 'RC >= 1'"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_arithmetics.rs:473:5 [INFO] [stdout] | [INFO] [stdout] 473 | py_run!(py, c, "assert (1 >= c) == 'RC <= 1'"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_arithmetics.rs:488:5 [INFO] [stdout] | [INFO] [stdout] 488 | py_run!(py, c2, "assert (c2 == c2) == True"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_arithmetics.rs:489:5 [INFO] [stdout] | [INFO] [stdout] 489 | py_run!(py, c2, "assert (c2 == 1) == True"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_arithmetics.rs:490:5 [INFO] [stdout] | [INFO] [stdout] 490 | py_run!(py, c2, "assert (1 == c2) == True"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_arithmetics.rs:491:5 [INFO] [stdout] | [INFO] [stdout] 491 | py_run!(py, c2, "assert (c2 != c2) == False"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_arithmetics.rs:492:5 [INFO] [stdout] | [INFO] [stdout] 492 | py_run!(py, c2, "assert (c2 != 1) == False"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_arithmetics.rs:493:5 [INFO] [stdout] | [INFO] [stdout] 493 | py_run!(py, c2, "assert (1 != c2) == False"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_arithmetics.rs:586:9 [INFO] [stdout] | [INFO] [stdout] 586 | / py_run!( [INFO] [stdout] 587 | | py, [INFO] [stdout] 588 | | c2, [INFO] [stdout] 589 | | &format!( [INFO] [stdout] ... | [INFO] [stdout] 592 | | ) [INFO] [stdout] 593 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_methods.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | py_assert!(py, obj, "obj.method() == 42"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_methods.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | py_assert!(py, obj, "obj.add_other(obj) == 84"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_methods.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | py_assert!(py, obj, "obj.method.__doc__ == 'Test method'"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_methods.rs:275:5 [INFO] [stdout] | [INFO] [stdout] 275 | py_run!(py, inst, "assert inst.get_optional() == 10"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_methods.rs:276:5 [INFO] [stdout] | [INFO] [stdout] 276 | py_run!(py, inst, "assert inst.get_optional(100) == 100"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_methods.rs:277:5 [INFO] [stdout] | [INFO] [stdout] 277 | py_run!(py, inst, "assert inst.get_optional2() == None"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_methods.rs:278:5 [INFO] [stdout] | [INFO] [stdout] 278 | py_run!(py, inst, "assert inst.get_optional2(100) == 100"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_methods.rs:279:5 [INFO] [stdout] | [INFO] [stdout] 279 | py_run!(py, inst, "assert inst.get_optional3() == None"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_methods.rs:280:5 [INFO] [stdout] | [INFO] [stdout] 280 | py_run!(py, inst, "assert inst.get_optional3(100) == 100"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_methods.rs:281:5 [INFO] [stdout] | [INFO] [stdout] 281 | / py_run!( [INFO] [stdout] 282 | | py, [INFO] [stdout] 283 | | inst, [INFO] [stdout] 284 | | "assert inst.get_optional_positional(1, 2, 3) == 2" [INFO] [stdout] 285 | | ); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_methods.rs:286:5 [INFO] [stdout] | [INFO] [stdout] 286 | py_run!(py, inst, "assert inst.get_optional_positional(1) == None"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_methods.rs:287:5 [INFO] [stdout] | [INFO] [stdout] 287 | py_run!(py, inst, "assert inst.get_default() == 10"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_methods.rs:288:5 [INFO] [stdout] | [INFO] [stdout] 288 | py_run!(py, inst, "assert inst.get_default(100) == 100"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_methods.rs:289:5 [INFO] [stdout] | [INFO] [stdout] 289 | py_run!(py, inst, "assert inst.get_kwarg() == 10"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_methods.rs:291:5 [INFO] [stdout] | [INFO] [stdout] 291 | py_run!(py, inst, "assert inst.get_kwarg(test=100) == 100"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_methods.rs:292:5 [INFO] [stdout] | [INFO] [stdout] 292 | py_run!(py, inst, "assert inst.get_kwargs() == [(), None]"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_methods.rs:293:5 [INFO] [stdout] | [INFO] [stdout] 293 | py_run!(py, inst, "assert inst.get_kwargs(1,2,3) == [(1,2,3), None]"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_methods.rs:294:5 [INFO] [stdout] | [INFO] [stdout] 294 | / py_run!( [INFO] [stdout] 295 | | py, [INFO] [stdout] 296 | | inst, [INFO] [stdout] 297 | | "assert inst.get_kwargs(t=1,n=2) == [(), {'t': 1, 'n': 2}]" [INFO] [stdout] 298 | | ); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_methods.rs:299:5 [INFO] [stdout] | [INFO] [stdout] 299 | / py_run!( [INFO] [stdout] 300 | | py, [INFO] [stdout] 301 | | inst, [INFO] [stdout] 302 | | "assert inst.get_kwargs(1,2,3,t=1,n=2) == [(1,2,3), {'t': 1, 'n': 2}]" [INFO] [stdout] 303 | | ); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_methods.rs:305:5 [INFO] [stdout] | [INFO] [stdout] 305 | py_run!(py, inst, "assert inst.get_pos_arg_kw(1) == [1, (), None]"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_methods.rs:306:5 [INFO] [stdout] | [INFO] [stdout] 306 | / py_run!( [INFO] [stdout] 307 | | py, [INFO] [stdout] 308 | | inst, [INFO] [stdout] 309 | | "assert inst.get_pos_arg_kw(1, 2, 3) == [1, (2, 3), None]" [INFO] [stdout] 310 | | ); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_methods.rs:311:5 [INFO] [stdout] | [INFO] [stdout] 311 | / py_run!( [INFO] [stdout] 312 | | py, [INFO] [stdout] 313 | | inst, [INFO] [stdout] 314 | | "assert inst.get_pos_arg_kw(1, b=2) == [1, (), {'b': 2}]" [INFO] [stdout] 315 | | ); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_methods.rs:316:5 [INFO] [stdout] | [INFO] [stdout] 316 | py_run!(py, inst, "assert inst.get_pos_arg_kw(a=1) == [1, (), None]"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_methods.rs:321:5 [INFO] [stdout] | [INFO] [stdout] 321 | py_run!(py, inst, "assert inst.get_kwargs_only_with_defaults() == 5"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_methods.rs:322:5 [INFO] [stdout] | [INFO] [stdout] 322 | / py_run!( [INFO] [stdout] 323 | | py, [INFO] [stdout] 324 | | inst, [INFO] [stdout] 325 | | "assert inst.get_kwargs_only_with_defaults(a = 8) == 11" [INFO] [stdout] 326 | | ); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_methods.rs:327:5 [INFO] [stdout] | [INFO] [stdout] 327 | / py_run!( [INFO] [stdout] 328 | | py, [INFO] [stdout] 329 | | inst, [INFO] [stdout] 330 | | "assert inst.get_kwargs_only_with_defaults(b = 8) == 10" [INFO] [stdout] 331 | | ); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_methods.rs:332:5 [INFO] [stdout] | [INFO] [stdout] 332 | / py_run!( [INFO] [stdout] 333 | | py, [INFO] [stdout] 334 | | inst, [INFO] [stdout] 335 | | "assert inst.get_kwargs_only_with_defaults(a = 1, b = 1) == 2" [INFO] [stdout] 336 | | ); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_methods.rs:337:5 [INFO] [stdout] | [INFO] [stdout] 337 | / py_run!( [INFO] [stdout] 338 | | py, [INFO] [stdout] 339 | | inst, [INFO] [stdout] 340 | | "assert inst.get_kwargs_only_with_defaults(b = 1, a = 1) == 2" [INFO] [stdout] 341 | | ); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_methods.rs:343:5 [INFO] [stdout] | [INFO] [stdout] 343 | py_run!(py, inst, "assert inst.get_kwargs_only(a = 1, b = 1) == 2"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_methods.rs:344:5 [INFO] [stdout] | [INFO] [stdout] 344 | py_run!(py, inst, "assert inst.get_kwargs_only(b = 1, a = 1) == 2"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_methods.rs:346:5 [INFO] [stdout] | [INFO] [stdout] 346 | / py_run!( [INFO] [stdout] 347 | | py, [INFO] [stdout] 348 | | inst, [INFO] [stdout] 349 | | "assert inst.get_kwargs_only_with_some_default(a = 2, b = 1) == 3" [INFO] [stdout] 350 | | ); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_methods.rs:351:5 [INFO] [stdout] | [INFO] [stdout] 351 | / py_run!( [INFO] [stdout] 352 | | py, [INFO] [stdout] 353 | | inst, [INFO] [stdout] 354 | | "assert inst.get_kwargs_only_with_some_default(b = 1) == 2" [INFO] [stdout] 355 | | ); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_methods.rs:356:5 [INFO] [stdout] | [INFO] [stdout] 356 | / py_run!( [INFO] [stdout] 357 | | py, [INFO] [stdout] 358 | | inst, [INFO] [stdout] 359 | | "assert inst.get_kwargs_only_with_some_default(b = 1, a = 2) == 3" [INFO] [stdout] 360 | | ); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_methods.rs:368:5 [INFO] [stdout] | [INFO] [stdout] 368 | py_run!(py, inst, "assert inst.get_pos_arg_kw_sep1(1) == 6"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_methods.rs:369:5 [INFO] [stdout] | [INFO] [stdout] 369 | py_run!(py, inst, "assert inst.get_pos_arg_kw_sep1(1, 2) == 6"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_methods.rs:370:5 [INFO] [stdout] | [INFO] [stdout] 370 | / py_run!( [INFO] [stdout] 371 | | py, [INFO] [stdout] 372 | | inst, [INFO] [stdout] 373 | | "assert inst.get_pos_arg_kw_sep1(1, 2, c=13) == 16" [INFO] [stdout] 374 | | ); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_methods.rs:375:5 [INFO] [stdout] | [INFO] [stdout] 375 | / py_run!( [INFO] [stdout] 376 | | py, [INFO] [stdout] 377 | | inst, [INFO] [stdout] 378 | | "assert inst.get_pos_arg_kw_sep1(a=1, b=2, c=13) == 16" [INFO] [stdout] 379 | | ); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_methods.rs:380:5 [INFO] [stdout] | [INFO] [stdout] 380 | / py_run!( [INFO] [stdout] 381 | | py, [INFO] [stdout] 382 | | inst, [INFO] [stdout] 383 | | "assert inst.get_pos_arg_kw_sep1(b=2, c=13, a=1) == 16" [INFO] [stdout] 384 | | ); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_methods.rs:385:5 [INFO] [stdout] | [INFO] [stdout] 385 | / py_run!( [INFO] [stdout] 386 | | py, [INFO] [stdout] 387 | | inst, [INFO] [stdout] 388 | | "assert inst.get_pos_arg_kw_sep1(c=13, b=2, a=1) == 16" [INFO] [stdout] 389 | | ); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_methods.rs:392:5 [INFO] [stdout] | [INFO] [stdout] 392 | py_run!(py, inst, "assert inst.get_pos_arg_kw_sep2(1) == 6"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_methods.rs:393:5 [INFO] [stdout] | [INFO] [stdout] 393 | / py_run!( [INFO] [stdout] 394 | | py, [INFO] [stdout] 395 | | inst, [INFO] [stdout] 396 | | "assert inst.get_pos_arg_kw_sep2(1, b=12, c=13) == 26" [INFO] [stdout] 397 | | ); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_methods.rs:400:5 [INFO] [stdout] | [INFO] [stdout] 400 | py_run!(py, inst, "assert inst.get_pos_kw(1, b=2) == [1, {'b': 2}]"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_methods.rs:403:5 [INFO] [stdout] | [INFO] [stdout] 403 | py_run!(py, inst, "assert inst.args_as_vec(1,2,3) == 6"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_methods.rs:463:5 [INFO] [stdout] | [INFO] [stdout] 463 | / py_run!( [INFO] [stdout] 464 | | py, [INFO] [stdout] 465 | | obj, [INFO] [stdout] 466 | | "assert obj.set_to_list(set((1, 2, 3))) == [1, 2, 3]" [INFO] [stdout] 467 | | ); [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_methods.rs:566:9 [INFO] [stdout] | [INFO] [stdout] 566 | py_assert!(py, inst, "inst.unix_method() == 'unix'"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_methods.rs:567:9 [INFO] [stdout] | [INFO] [stdout] 567 | py_assert!(py, inst, "not hasattr(inst, 'not_unix_method')"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_methods.rs:576:5 [INFO] [stdout] | [INFO] [stdout] 576 | py_assert!(py, inst, "not hasattr(inst, 'never_compiled_method')"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_methods.rs:605:5 [INFO] [stdout] | [INFO] [stdout] 605 | py_assert!(py, typeobj, "typeobj(range(0, 4)).numbers == [0, 1, 2, 3]") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_methods.rs:680:9 [INFO] [stdout] | [INFO] [stdout] 680 | / py_run!( [INFO] [stdout] 681 | | py, [INFO] [stdout] 682 | | raw_idents_type, [INFO] [stdout] 683 | | r#" [INFO] [stdout] ... | [INFO] [stdout] 706 | | "# [INFO] [stdout] 707 | | ); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 90 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 49 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/types/boolobject.rs:72:28 [INFO] [stdout] | [INFO] [stdout] 72 | assert_eq!(true, t.extract().unwrap()); [INFO] [stdout] | ^^^^^^^ cannot infer type for type parameter `D` declared on the associated function `extract` [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: conversion::FromPyObject<'_>` [INFO] [stdout] help: use the fully qualified path for the potential candidates [INFO] [stdout] | [INFO] [stdout] 72 | assert_eq!(true, >::extract(t).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 72 | assert_eq!(true, >::extract(t).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 72 | assert_eq!(true, as conversion::FromPyObject<'source>>::extract(t).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 72 | assert_eq!(true, <&'py PyUnicodeError as conversion::FromPyObject<'py>>::extract(t).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] and 161 other candidates [INFO] [stdout] help: consider specifying the type arguments in the method call [INFO] [stdout] | [INFO] [stdout] 72 | assert_eq!(true, t.extract::<'a, D>().unwrap()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/types/boolobject.rs:82:29 [INFO] [stdout] | [INFO] [stdout] 82 | assert_eq!(false, t.extract().unwrap()); [INFO] [stdout] | ^^^^^^^ cannot infer type for type parameter `D` declared on the associated function `extract` [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: conversion::FromPyObject<'_>` [INFO] [stdout] help: use the fully qualified path for the potential candidates [INFO] [stdout] | [INFO] [stdout] 82 | assert_eq!(false, >::extract(t).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 82 | assert_eq!(false, >::extract(t).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 82 | assert_eq!(false, as conversion::FromPyObject<'source>>::extract(t).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 82 | assert_eq!(false, <&'py PyUnicodeError as conversion::FromPyObject<'py>>::extract(t).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] and 161 other candidates [INFO] [stdout] help: consider specifying the type arguments in the method call [INFO] [stdout] | [INFO] [stdout] 82 | assert_eq!(false, t.extract::<'a, D>().unwrap()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/types/iterator.rs:113:52 [INFO] [stdout] | [INFO] [stdout] 113 | assert_eq!(10, it.next().unwrap().unwrap().extract().unwrap()); [INFO] [stdout] | ^^^^^^^ cannot infer type for type parameter `D` declared on the associated function `extract` [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: conversion::FromPyObject<'_>` [INFO] [stdout] help: consider specifying the type arguments in the method call [INFO] [stdout] | [INFO] [stdout] 113 | assert_eq!(10, it.next().unwrap().unwrap().extract::<'a, D>().unwrap()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/types/iterator.rs:135:56 [INFO] [stdout] | [INFO] [stdout] 135 | assert_eq!(10, it.next().unwrap().unwrap().extract().unwrap()); [INFO] [stdout] | ^^^^^^^ cannot infer type for type parameter `D` declared on the associated function `extract` [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: conversion::FromPyObject<'_>` [INFO] [stdout] help: consider specifying the type arguments in the method call [INFO] [stdout] | [INFO] [stdout] 135 | assert_eq!(10, it.next().unwrap().unwrap().extract::<'a, D>().unwrap()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/types/iterator.rs:163:56 [INFO] [stdout] | [INFO] [stdout] 163 | assert_eq!(10, it.next().unwrap().unwrap().extract().unwrap()); [INFO] [stdout] | ^^^^^^^ cannot infer type for type parameter `D` declared on the associated function `extract` [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: conversion::FromPyObject<'_>` [INFO] [stdout] help: consider specifying the type arguments in the method call [INFO] [stdout] | [INFO] [stdout] 163 | assert_eq!(10, it.next().unwrap().unwrap().extract::<'a, D>().unwrap()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/types/set.rs:498:33 [INFO] [stdout] | [INFO] [stdout] 498 | assert_eq!(1i32, el.extract().unwrap()); [INFO] [stdout] | ^^^^^^^ cannot infer type for type parameter `D` declared on the associated function `extract` [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: conversion::FromPyObject<'_>` [INFO] [stdout] help: use the fully qualified path for the potential candidates [INFO] [stdout] | [INFO] [stdout] 498 | assert_eq!(1i32, >::extract(el).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 498 | assert_eq!(1i32, >::extract(el).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 498 | assert_eq!(1i32, as conversion::FromPyObject<'source>>::extract(el).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 498 | assert_eq!(1i32, <&'py PyUnicodeError as conversion::FromPyObject<'py>>::extract(el).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] and 161 other candidates [INFO] [stdout] help: consider specifying the type arguments in the method call [INFO] [stdout] | [INFO] [stdout] 498 | assert_eq!(1i32, el.extract::<'a, D>().unwrap()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/types/tuple.rs:284:44 [INFO] [stdout] | [INFO] [stdout] 284 | assert_eq!(1, iter.next().unwrap().extract().unwrap()); [INFO] [stdout] | ^^^^^^^ cannot infer type for type parameter `D` declared on the associated function `extract` [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: conversion::FromPyObject<'_>` [INFO] [stdout] help: consider specifying the type arguments in the method call [INFO] [stdout] | [INFO] [stdout] 284 | assert_eq!(1, iter.next().unwrap().extract::<'a, D>().unwrap()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/types/tuple.rs:298:36 [INFO] [stdout] | [INFO] [stdout] 298 | assert_eq!(i + 1, item.extract().unwrap()); [INFO] [stdout] | ^^^^^^^ cannot infer type for type parameter `D` declared on the associated function `extract` [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: conversion::FromPyObject<'_>` [INFO] [stdout] help: use the fully qualified path for the potential candidates [INFO] [stdout] | [INFO] [stdout] 298 | assert_eq!(i + 1, >::extract(item).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 298 | assert_eq!(i + 1, >::extract(item).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 298 | assert_eq!(i + 1, as conversion::FromPyObject<'source>>::extract(item).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 298 | assert_eq!(i + 1, <&'py PyUnicodeError as conversion::FromPyObject<'py>>::extract(item).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] and 161 other candidates [INFO] [stdout] help: consider specifying the type arguments in the method call [INFO] [stdout] | [INFO] [stdout] 298 | assert_eq!(i + 1, item.extract::<'a, D>().unwrap()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/types/tuple.rs:312:32 [INFO] [stdout] | [INFO] [stdout] 312 | assert_eq!(1, slice[0].extract().unwrap()); [INFO] [stdout] | ^^^^^^^ cannot infer type for type parameter `D` declared on the associated function `extract` [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: conversion::FromPyObject<'_>` [INFO] [stdout] help: consider specifying the type arguments in the method call [INFO] [stdout] | [INFO] [stdout] 312 | assert_eq!(1, slice[0].extract::<'a, D>().unwrap()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0283, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0283`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pyo3` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "168e2e9a5ded841277b8b8b04e7618c6732eda6f95f3713da73b9d8d449c7deb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "168e2e9a5ded841277b8b8b04e7618c6732eda6f95f3713da73b9d8d449c7deb", kill_on_drop: false }` [INFO] [stdout] 168e2e9a5ded841277b8b8b04e7618c6732eda6f95f3713da73b9d8d449c7deb