[INFO] fetching crate bash-builtins 0.4.1...
[INFO] testing bash-builtins-0.4.1 against master#2fd6efc32704647e64d3d646d21c4c68eae100e4 for pr-149852-1
[INFO] extracting crate bash-builtins 0.4.1 into /workspace/builds/worker-2-tc1/source
[INFO] started tweaking crates.io crate bash-builtins 0.4.1
[INFO] removed 0 missing examples
[INFO] finished tweaking crates.io crate bash-builtins 0.4.1
[INFO] tweaked toml for crates.io crate bash-builtins 0.4.1 written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate bash-builtins 0.4.1 on toolchain 2fd6efc32704647e64d3d646d21c4c68eae100e4
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate bash-builtins 0.4.1 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded bash_builtins_macro v0.2.0
[INFO] [stderr]   Downloaded serde v1.0.127
[INFO] [stderr]   Downloaded serde_derive v1.0.127
[INFO] [stderr]   Downloaded trybuild v1.0.43
[INFO] [stderr]   Downloaded serde_json v1.0.66
[INFO] [stderr]   Downloaded libc v0.2.101
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] ec0542f7288c94680a8c5827b56c85851fd94ed300f45cc4894c9d6bda9ce0b4
[INFO] running `Command { std: "docker" "start" "-a" "ec0542f7288c94680a8c5827b56c85851fd94ed300f45cc4894c9d6bda9ce0b4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ec0542f7288c94680a8c5827b56c85851fd94ed300f45cc4894c9d6bda9ce0b4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ec0542f7288c94680a8c5827b56c85851fd94ed300f45cc4894c9d6bda9ce0b4", kill_on_drop: false }`
[INFO] [stdout] ec0542f7288c94680a8c5827b56c85851fd94ed300f45cc4894c9d6bda9ce0b4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 263dcbd275fb5700306c291ab0db1dec4c66ba07cf79359c8d29367c317245c9
[INFO] running `Command { std: "docker" "start" "-a" "263dcbd275fb5700306c291ab0db1dec4c66ba07cf79359c8d29367c317245c9", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.28
[INFO] [stderr]    Compiling syn v1.0.74
[INFO] [stderr]    Compiling libc v0.2.101
[INFO] [stderr]    Compiling quote v1.0.9
[INFO] [stderr]    Compiling bash_builtins_macro v0.2.0
[INFO] [stderr]    Compiling bash-builtins v0.4.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: field `nentries` is never read
[INFO] [stdout]    --> src/ffi.rs:118:13
[INFO] [stdout]     |
[INFO] [stdout] 115 |     pub struct HashTable {
[INFO] [stdout]     |                --------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 118 |         pub nentries: c_int,
[INFO] [stdout]     |             ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/variables/assoc.rs:87:37
[INFO] [stdout]    |
[INFO] [stdout] 87 |     pub(super) unsafe fn new(table: &ffi::HashTable) -> AssocItemsIterator {
[INFO] [stdout]    |                                     ^^^^^^^^^^^^^^^     ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                                     |
[INFO] [stdout]    |                                     the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 87 |     pub(super) unsafe fn new(table: &ffi::HashTable) -> AssocItemsIterator<'_> {
[INFO] [stdout]    |                                                                           ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/variables/dynvars.rs:165:22
[INFO] [stdout]     |
[INFO] [stdout] 165 |     match unsafe { (*STATE.as_ptr()).lock() } {
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique
[INFO] [stdout]    --> src/variables/dynvars.rs:181:40
[INFO] [stdout]     |
[INFO] [stdout] 181 |             if !shell_var.is_null() && (*shell_var).dynamic_value == read_var {
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: the address of the same function can vary between different codegen units
[INFO] [stdout]     = note: furthermore, different functions could have the same address after being merged together
[INFO] [stdout]     = note: for more information visit <https://doc.rust-lang.org/nightly/core/ptr/fn.fn_addr_eq.html>
[INFO] [stdout]     = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default
[INFO] [stdout] help: refactor your code, or use `std::ptr::fn_addr_eq` to suppress the lint
[INFO] [stdout]     |
[INFO] [stdout] 181 -             if !shell_var.is_null() && (*shell_var).dynamic_value == read_var {
[INFO] [stdout] 181 +             if !shell_var.is_null() && std::ptr::fn_addr_eq((*shell_var).dynamic_value, read_var as unsafe extern "C" fn(*mut ShellVar) -> *const ShellVar) {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.77s
[INFO] running `Command { std: "docker" "inspect" "263dcbd275fb5700306c291ab0db1dec4c66ba07cf79359c8d29367c317245c9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "263dcbd275fb5700306c291ab0db1dec4c66ba07cf79359c8d29367c317245c9", kill_on_drop: false }`
[INFO] [stdout] 263dcbd275fb5700306c291ab0db1dec4c66ba07cf79359c8d29367c317245c9
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b6bb0429bb5fc87276b6d509229fb663ab781207e0c8ae55e6048c801ebc0bba
[INFO] running `Command { std: "docker" "start" "-a" "b6bb0429bb5fc87276b6d509229fb663ab781207e0c8ae55e6048c801ebc0bba", kill_on_drop: false }`
[INFO] [stderr]    Compiling serde_derive v1.0.127
[INFO] [stderr]    Compiling serde v1.0.127
[INFO] [stderr]    Compiling ryu v1.0.5
[INFO] [stderr]    Compiling serde_json v1.0.66
[INFO] [stderr]    Compiling trybuild v1.0.43
[INFO] [stderr]    Compiling itoa v0.4.7
[INFO] [stderr]    Compiling termcolor v1.1.2
[INFO] [stderr]    Compiling glob v0.3.0
[INFO] [stderr]    Compiling assert_matches v1.5.0
[INFO] [stdout] warning: field `nentries` is never read
[INFO] [stdout]    --> src/ffi.rs:118:13
[INFO] [stdout]     |
[INFO] [stdout] 115 |     pub struct HashTable {
[INFO] [stdout]     |                --------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 118 |         pub nentries: c_int,
[INFO] [stdout]     |             ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/variables/assoc.rs:87:37
[INFO] [stdout]    |
[INFO] [stdout] 87 |     pub(super) unsafe fn new(table: &ffi::HashTable) -> AssocItemsIterator {
[INFO] [stdout]    |                                     ^^^^^^^^^^^^^^^     ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                                     |
[INFO] [stdout]    |                                     the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 87 |     pub(super) unsafe fn new(table: &ffi::HashTable) -> AssocItemsIterator<'_> {
[INFO] [stdout]    |                                                                           ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/variables/dynvars.rs:165:22
[INFO] [stdout]     |
[INFO] [stdout] 165 |     match unsafe { (*STATE.as_ptr()).lock() } {
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique
[INFO] [stdout]    --> src/variables/dynvars.rs:181:40
[INFO] [stdout]     |
[INFO] [stdout] 181 |             if !shell_var.is_null() && (*shell_var).dynamic_value == read_var {
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: the address of the same function can vary between different codegen units
[INFO] [stdout]     = note: furthermore, different functions could have the same address after being merged together
[INFO] [stdout]     = note: for more information visit <https://doc.rust-lang.org/nightly/core/ptr/fn.fn_addr_eq.html>
[INFO] [stdout]     = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default
[INFO] [stdout] help: refactor your code, or use `std::ptr::fn_addr_eq` to suppress the lint
[INFO] [stdout]     |
[INFO] [stdout] 181 -             if !shell_var.is_null() && (*shell_var).dynamic_value == read_var {
[INFO] [stdout] 181 +             if !shell_var.is_null() && std::ptr::fn_addr_eq((*shell_var).dynamic_value, read_var as unsafe extern "C" fn(*mut ShellVar) -> *const ShellVar) {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling toml v0.5.8
[INFO] [stderr]    Compiling bash-builtins v0.4.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> examples/nonrequiredargs.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout] 11 |     Foo(Option<u64>),
[INFO] [stdout]    |     --- ^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Opt` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 11 -     Foo(Option<u64>),
[INFO] [stdout] 11 +     Foo(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> examples/nonrequiredargs.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 14 |     Bar(Option<&'a str>),
[INFO] [stdout]    |     --- ^^^^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Opt` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 14 -     Bar(Option<&'a str>),
[INFO] [stdout] 14 +     Bar(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> tests/options_derive_macro.rs:16:11
[INFO] [stdout]    |
[INFO] [stdout] 16 |         B(i64),
[INFO] [stdout]    |         - ^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Opt` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 16 -         B(i64),
[INFO] [stdout] 16 +         B(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> tests/options_derive_macro.rs:22:11
[INFO] [stdout]    |
[INFO] [stdout] 22 |         D(&'a std::path::Path),
[INFO] [stdout]    |         - ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Opt` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 22 -         D(&'a std::path::Path),
[INFO] [stdout] 22 +         D(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> tests/options_derive_macro.rs:25:11
[INFO] [stdout]    |
[INFO] [stdout] 25 |         E(String),
[INFO] [stdout]    |         - ^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Opt` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 25 -         E(String),
[INFO] [stdout] 25 +         E(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> tests/options_derive_macro.rs:31:11
[INFO] [stdout]    |
[INFO] [stdout] 31 |         G(std::path::PathBuf),
[INFO] [stdout]    |         - ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Opt` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 31 -         G(std::path::PathBuf),
[INFO] [stdout] 31 +         G(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `nentries` is never read
[INFO] [stdout]    --> src/ffi.rs:118:13
[INFO] [stdout]     |
[INFO] [stdout] 115 |     pub struct HashTable {
[INFO] [stdout]     |                --------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 118 |         pub nentries: c_int,
[INFO] [stdout]     |             ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/variables/assoc.rs:87:37
[INFO] [stdout]    |
[INFO] [stdout] 87 |     pub(super) unsafe fn new(table: &ffi::HashTable) -> AssocItemsIterator {
[INFO] [stdout]    |                                     ^^^^^^^^^^^^^^^     ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                                     |
[INFO] [stdout]    |                                     the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 87 |     pub(super) unsafe fn new(table: &ffi::HashTable) -> AssocItemsIterator<'_> {
[INFO] [stdout]    |                                                                           ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/variables/dynvars.rs:165:22
[INFO] [stdout]     |
[INFO] [stdout] 165 |     match unsafe { (*STATE.as_ptr()).lock() } {
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique
[INFO] [stdout]    --> src/variables/dynvars.rs:181:40
[INFO] [stdout]     |
[INFO] [stdout] 181 |             if !shell_var.is_null() && (*shell_var).dynamic_value == read_var {
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: the address of the same function can vary between different codegen units
[INFO] [stdout]     = note: furthermore, different functions could have the same address after being merged together
[INFO] [stdout]     = note: for more information visit <https://doc.rust-lang.org/nightly/core/ptr/fn.fn_addr_eq.html>
[INFO] [stdout]     = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default
[INFO] [stdout] help: refactor your code, or use `std::ptr::fn_addr_eq` to suppress the lint
[INFO] [stdout]     |
[INFO] [stdout] 181 -             if !shell_var.is_null() && (*shell_var).dynamic_value == read_var {
[INFO] [stdout] 181 +             if !shell_var.is_null() && std::ptr::fn_addr_eq((*shell_var).dynamic_value, read_var as unsafe extern "C" fn(*mut ShellVar) -> *const ShellVar) {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 13.54s
[INFO] running `Command { std: "docker" "inspect" "b6bb0429bb5fc87276b6d509229fb663ab781207e0c8ae55e6048c801ebc0bba", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b6bb0429bb5fc87276b6d509229fb663ab781207e0c8ae55e6048c801ebc0bba", kill_on_drop: false }`
[INFO] [stdout] b6bb0429bb5fc87276b6d509229fb663ab781207e0c8ae55e6048c801ebc0bba
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] bb32cf7df1e991517c5eaacd215c2bd55969a5539b4b51062acb9ff9e6373a0d
[INFO] running `Command { std: "docker" "start" "-a" "bb32cf7df1e991517c5eaacd215c2bd55969a5539b4b51062acb9ff9e6373a0d", kill_on_drop: false }`
[INFO] [stderr] warning: field `nentries` is never read
[INFO] [stderr]    --> src/ffi.rs:118:13
[INFO] [stderr]     |
[INFO] [stderr] 115 |     pub struct HashTable {
[INFO] [stderr]     |                --------- field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 118 |         pub nentries: c_int,
[INFO] [stderr]     |             ^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]   --> src/variables/assoc.rs:87:37
[INFO] [stderr]    |
[INFO] [stderr] 87 |     pub(super) unsafe fn new(table: &ffi::HashTable) -> AssocItemsIterator {
[INFO] [stderr]    |                                     ^^^^^^^^^^^^^^^     ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stderr]    |                                     |
[INFO] [stderr]    |                                     the lifetime is elided here
[INFO] [stderr]    |
[INFO] [stderr]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]    |
[INFO] [stderr] 87 |     pub(super) unsafe fn new(table: &ffi::HashTable) -> AssocItemsIterator<'_> {
[INFO] [stderr]    |                                                                           ++++
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]    --> src/variables/dynvars.rs:165:22
[INFO] [stderr]     |
[INFO] [stderr] 165 |     match unsafe { (*STATE.as_ptr()).lock() } {
[INFO] [stderr]     |                      ^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr]     = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique
[INFO] [stderr]    --> src/variables/dynvars.rs:181:40
[INFO] [stderr]     |
[INFO] [stderr] 181 |             if !shell_var.is_null() && (*shell_var).dynamic_value == read_var {
[INFO] [stderr]     |                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: the address of the same function can vary between different codegen units
[INFO] [stderr]     = note: furthermore, different functions could have the same address after being merged together
[INFO] [stderr]     = note: for more information visit <https://doc.rust-lang.org/nightly/core/ptr/fn.fn_addr_eq.html>
[INFO] [stderr]     = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default
[INFO] [stderr] help: refactor your code, or use `std::ptr::fn_addr_eq` to suppress the lint
[INFO] [stderr]     |
[INFO] [stderr] 181 -             if !shell_var.is_null() && (*shell_var).dynamic_value == read_var {
[INFO] [stderr] 181 +             if !shell_var.is_null() && std::ptr::fn_addr_eq((*shell_var).dynamic_value, read_var as unsafe extern "C" fn(*mut ShellVar) -> *const ShellVar) {
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: `bash-builtins` (lib) generated 4 warnings (run `cargo fix --lib -p bash-builtins` to apply 1 suggestion)
[INFO] [stderr] warning: field `0` is never read
[INFO] [stderr]   --> examples/nonrequiredargs.rs:11:9
[INFO] [stderr]    |
[INFO] [stderr] 11 |     Foo(Option<u64>),
[INFO] [stderr]    |     --- ^^^^^^^^^^^
[INFO] [stderr]    |     |
[INFO] [stderr]    |     field in this variant
[INFO] [stderr]    |
[INFO] [stderr]    = note: `Opt` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stderr]    |
[INFO] [stderr] 11 -     Foo(Option<u64>),
[INFO] [stderr] 11 +     Foo(()),
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: field `0` is never read
[INFO] [stderr]   --> examples/nonrequiredargs.rs:14:9
[INFO] [stderr]    |
[INFO] [stderr] 14 |     Bar(Option<&'a str>),
[INFO] [stderr]    |     --- ^^^^^^^^^^^^^^^
[INFO] [stderr]    |     |
[INFO] [stderr]    |     field in this variant
[INFO] [stderr]    |
[INFO] [stderr]    = note: `Opt` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stderr]    |
[INFO] [stderr] 14 -     Bar(Option<&'a str>),
[INFO] [stderr] 14 +     Bar(()),
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: field `0` is never read
[INFO] [stderr]   --> tests/options_derive_macro.rs:16:11
[INFO] [stderr]    |
[INFO] [stderr] 16 |         B(i64),
[INFO] [stderr]    |         - ^^^
[INFO] [stderr]    |         |
[INFO] [stderr]    |         field in this variant
[INFO] [stderr]    |
[INFO] [stderr]    = note: `Opt` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stderr]    |
[INFO] [stderr] 16 -         B(i64),
[INFO] [stderr] 16 +         B(()),
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: field `0` is never read
[INFO] [stderr]   --> tests/options_derive_macro.rs:22:11
[INFO] [stderr]    |
[INFO] [stderr] 22 |         D(&'a std::path::Path),
[INFO] [stderr]    |         - ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |         |
[INFO] [stderr]    |         field in this variant
[INFO] [stderr]    |
[INFO] [stderr]    = note: `Opt` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stderr]    |
[INFO] [stderr] 22 -         D(&'a std::path::Path),
[INFO] [stderr] 22 +         D(()),
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: field `0` is never read
[INFO] [stderr]   --> tests/options_derive_macro.rs:25:11
[INFO] [stderr]    |
[INFO] [stderr] 25 |         E(String),
[INFO] [stderr]    |         - ^^^^^^
[INFO] [stderr]    |         |
[INFO] [stderr]    |         field in this variant
[INFO] [stderr]    |
[INFO] [stderr]    = note: `Opt` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stderr]    |
[INFO] [stderr] 25 -         E(String),
[INFO] [stderr] 25 +         E(()),
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: field `0` is never read
[INFO] [stderr]   --> tests/options_derive_macro.rs:31:11
[INFO] [stderr]    |
[INFO] [stderr] 31 |         G(std::path::PathBuf),
[INFO] [stderr]    |         - ^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |         |
[INFO] [stderr]    |         field in this variant
[INFO] [stderr]    |
[INFO] [stderr]    = note: `Opt` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stderr]    |
[INFO] [stderr] 31 -         G(std::path::PathBuf),
[INFO] [stderr] 31 +         G(()),
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: `bash-builtins` (example "nonrequiredargs") generated 2 warnings
[INFO] [stderr] warning: `bash-builtins` (test "options_derive_macro") generated 4 warnings
[INFO] [stderr] warning: `bash-builtins` (lib test) generated 4 warnings (4 duplicates)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/bash_builtins-b8206c1bd82150d8)
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stdout] test args::tests::update_word_list_after_arguments ... ok
[INFO] [stderr]      Running tests/examples.rs (/opt/rustwide/target/debug/deps/examples-2cc7ba620440c9e6)
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stdout] test check_examples ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- check_examples stdout ----
[INFO] [stdout] ### tests/examples/canpanic.sh: failed
[INFO] [stdout] === OUTPUT (/opt/rustwide/target/examples/bash-builtins/canpanic.current-output)
[INFO] [stdout] OK
[INFO] [stdout] 
[INFO] [stdout] thread '<unnamed>' (33) panicked at examples/canpanic.rs:14:13:
[INFO] [stdout] DO PANIC
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x704337c62df2 - std[716c9a7a72e5c14e]::backtrace_rs::backtrace::libunwind::trace
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x704337c62df2 - std[716c9a7a72e5c14e]::backtrace_rs::backtrace::trace_unsynchronized::<std[716c9a7a72e5c14e]::sys::backtrace::_print_fmt::{closure#1}>
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x704337c62df2 - std[716c9a7a72e5c14e]::sys::backtrace::_print_fmt
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/sys/backtrace.rs:74:9
[INFO] [stdout]    3:     0x704337c62df2 - <<std[716c9a7a72e5c14e]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[c5ed12ab89cc536a]::fmt::Display>::fmt
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/sys/backtrace.rs:44:26
[INFO] [stdout]    4:     0x704337c745fa - <core[c5ed12ab89cc536a]::fmt::rt::Argument>::fmt
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x704337c745fa - core[c5ed12ab89cc536a]::fmt::write
[INFO] [stdout]    6:     0x704337c67146 - std[716c9a7a72e5c14e]::io::default_write_fmt::<std[716c9a7a72e5c14e]::sys::stdio::unix::Stderr>
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x704337c67146 - <std[716c9a7a72e5c14e]::sys::stdio::unix::Stderr as std[716c9a7a72e5c14e]::io::Write>::write_fmt
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/io/mod.rs:1994:13
[INFO] [stdout]    8:     0x704337c50a2f - <std[716c9a7a72e5c14e]::sys::backtrace::BacktraceLock>::print
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/sys/backtrace.rs:47:9
[INFO] [stdout]    9:     0x704337c50a2f - std[716c9a7a72e5c14e]::panicking::default_hook::{closure#0}
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x704337c60e81 - std[716c9a7a72e5c14e]::panicking::default_hook
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/panicking.rs:319:9
[INFO] [stdout]   11:     0x704337c6103b - std[716c9a7a72e5c14e]::panicking::panic_with_hook
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/panicking.rs:825:13
[INFO] [stdout]   12:     0x704337c5002c - std[716c9a7a72e5c14e]::panicking::begin_panic::<&str>::{closure#0}
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/panicking.rs:762:9
[INFO] [stdout]   13:     0x704337c489a9 - std[716c9a7a72e5c14e]::sys::backtrace::__rust_end_short_backtrace::<std[716c9a7a72e5c14e]::panicking::begin_panic<&str>::{closure#0}, !>
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/sys/backtrace.rs:182:18
[INFO] [stdout]   14:     0x704337c44ae6 - std[716c9a7a72e5c14e]::panicking::begin_panic::<&str>
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/panicking.rs:761:5
[INFO] [stdout]   15:     0x704337c39af4 - <canpanic[a96a304a3a2914f5]::CanPanic as bash_builtins[a399aa007d81a06f]::Builtin>::call
[INFO] [stdout]                                at /opt/rustwide/workdir/examples/canpanic.rs:14:13
[INFO] [stdout]   16:     0x704337c386c3 - canpanic[a96a304a3a2914f5]::__bash_builtin__func_canpanic::{closure#0}
[INFO] [stdout]                                at /opt/rustwide/workdir/examples/canpanic.rs:6:1
[INFO] [stdout]   17:     0x704337c37d2f - std[716c9a7a72e5c14e]::panicking::catch_unwind::do_call::<canpanic[a96a304a3a2914f5]::__bash_builtin__func_canpanic::{closure#0}, i32>
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/panicking.rs:581:40
[INFO] [stdout]   18:     0x704337c3a4eb - __rust_try
[INFO] [stdout]   19:     0x704337c3754a - std[716c9a7a72e5c14e]::panicking::catch_unwind::<i32, canpanic[a96a304a3a2914f5]::__bash_builtin__func_canpanic::{closure#0}>
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/panicking.rs:544:19
[INFO] [stdout]   20:     0x704337c3754a - std[716c9a7a72e5c14e]::panic::catch_unwind::<canpanic[a96a304a3a2914f5]::__bash_builtin__func_canpanic::{closure#0}, i32>
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/panic.rs:359:14
[INFO] [stdout]   21:     0x704337c389f8 - canpanic[a96a304a3a2914f5]::__bash_builtin__func_canpanic
[INFO] [stdout]                                at /opt/rustwide/workdir/examples/canpanic.rs:6:1
[INFO] [stdout]   22:     0x61f7f1e789ba - <unknown>
[INFO] [stdout]   23:     0x61f7f1e80a71 - <unknown>
[INFO] [stdout]   24:     0x61f7f1e72e08 - execute_command_internal
[INFO] [stdout]   25:     0x61f7f1eddffb - parse_and_execute
[INFO] [stdout]   26:     0x61f7f1eded71 - <unknown>
[INFO] [stdout]   27:     0x61f7f1edf1ad - source_file
[INFO] [stdout]   28:     0x61f7f1eec33a - source_builtin
[INFO] [stdout]   29:     0x61f7f1e789ba - <unknown>
[INFO] [stdout]   30:     0x61f7f1e80a71 - <unknown>
[INFO] [stdout]   31:     0x61f7f1e72e08 - execute_command_internal
[INFO] [stdout]   32:     0x61f7f1e75c6e - execute_command
[INFO] [stdout]   33:     0x61f7f1e6810c - reader_loop
[INFO] [stdout]   34:     0x61f7f1e5befb - main
[INFO] [stdout]   35:     0x704337caa1ca - <unknown>
[INFO] [stdout]   36:     0x704337caa28b - __libc_start_main
[INFO] [stdout]   37:     0x61f7f1e5c385 - _start
[INFO] [stdout]   38:                0x0 - <unknown>
[INFO] [stdout] tests/examples/canpanic.sh: line 6: canpanic: invalid internal state
[INFO] [stdout] after
[INFO] [stdout] OK
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] === EXPECTED
[INFO] [stdout] OK
[INFO] [stdout] thread '<unnamed>' panicked at examples/canpanic.rs:14:13:
[INFO] [stdout] DO PANIC
[INFO] [stdout] note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
[INFO] [stdout] tests/examples/canpanic.sh: line 6: canpanic: invalid internal state
[INFO] [stdout] after
[INFO] [stdout] OK
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] thread 'check_examples' (27) panicked at tests/examples.rs:166:5:
[INFO] [stdout] assertion `left == right` failed
[INFO] [stdout]   left: 1
[INFO] [stdout]  right: 0
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x5cd499ed25a2 - std[716c9a7a72e5c14e]::backtrace_rs::backtrace::libunwind::trace
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x5cd499ed25a2 - std[716c9a7a72e5c14e]::backtrace_rs::backtrace::trace_unsynchronized::<std[716c9a7a72e5c14e]::sys::backtrace::_print_fmt::{closure#1}>
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x5cd499ed25a2 - std[716c9a7a72e5c14e]::sys::backtrace::_print_fmt
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/sys/backtrace.rs:74:9
[INFO] [stdout]    3:     0x5cd499ed25a2 - <<std[716c9a7a72e5c14e]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[c5ed12ab89cc536a]::fmt::Display>::fmt
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/sys/backtrace.rs:44:26
[INFO] [stdout]    4:     0x5cd499ee732a - <core[c5ed12ab89cc536a]::fmt::rt::Argument>::fmt
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x5cd499ee732a - core[c5ed12ab89cc536a]::fmt::write
[INFO] [stdout]    6:     0x5cd499ed7846 - std[716c9a7a72e5c14e]::io::default_write_fmt::<alloc[9c68fdf4f4f29218]::vec::Vec<u8>>
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x5cd499ed7846 - <alloc[9c68fdf4f4f29218]::vec::Vec<u8> as std[716c9a7a72e5c14e]::io::Write>::write_fmt
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/io/mod.rs:1994:13
[INFO] [stdout]    8:     0x5cd499eaee0f - <std[716c9a7a72e5c14e]::sys::backtrace::BacktraceLock>::print
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/sys/backtrace.rs:47:9
[INFO] [stdout]    9:     0x5cd499eaee0f - std[716c9a7a72e5c14e]::panicking::default_hook::{closure#0}
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x5cd499eca179 - std[716c9a7a72e5c14e]::panicking::default_hook
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/panicking.rs:316:9
[INFO] [stdout]   11:     0x5cd499e534ae - <alloc[9c68fdf4f4f29218]::boxed::Box<dyn for<'a, 'b> core[c5ed12ab89cc536a]::ops::function::Fn<(&'a std[716c9a7a72e5c14e]::panic::PanicHookInfo<'b>,), Output = ()> + core[c5ed12ab89cc536a]::marker::Sync + core[c5ed12ab89cc536a]::marker::Send> as core[c5ed12ab89cc536a]::ops::function::Fn<(&std[716c9a7a72e5c14e]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/alloc/src/boxed.rs:2220:9
[INFO] [stdout]   12:     0x5cd499e534ae - test[64760d2bdea328cc]::test_main_with_exit_callback::<test[64760d2bdea328cc]::test_main::{closure#0}>::{closure#0}
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/test/src/lib.rs:145:21
[INFO] [stdout]   13:     0x5cd499eca332 - <alloc[9c68fdf4f4f29218]::boxed::Box<dyn for<'a, 'b> core[c5ed12ab89cc536a]::ops::function::Fn<(&'a std[716c9a7a72e5c14e]::panic::PanicHookInfo<'b>,), Output = ()> + core[c5ed12ab89cc536a]::marker::Sync + core[c5ed12ab89cc536a]::marker::Send> as core[c5ed12ab89cc536a]::ops::function::Fn<(&std[716c9a7a72e5c14e]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/alloc/src/boxed.rs:2220:9
[INFO] [stdout]   14:     0x5cd499eca332 - std[716c9a7a72e5c14e]::panicking::panic_with_hook
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/panicking.rs:833:13
[INFO] [stdout]   15:     0x5cd499eaeec8 - std[716c9a7a72e5c14e]::panicking::panic_handler::{closure#0}
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/panicking.rs:698:13
[INFO] [stdout]   16:     0x5cd499ea6629 - std[716c9a7a72e5c14e]::sys::backtrace::__rust_end_short_backtrace::<std[716c9a7a72e5c14e]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/sys/backtrace.rs:182:18
[INFO] [stdout]   17:     0x5cd499eafd1d - __rustc[4f0b026143eab78e]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/panicking.rs:689:5
[INFO] [stdout]   18:     0x5cd499ee79fc - core[c5ed12ab89cc536a]::panicking::panic_fmt
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x5cd499ee78b3 - core[c5ed12ab89cc536a]::panicking::assert_failed_inner
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/core/src/panicking.rs:439:17
[INFO] [stdout]   20:     0x5cd499ea3dc5 - core[c5ed12ab89cc536a]::panicking::assert_failed::<i32, i32>
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/core/src/panicking.rs:394:5
[INFO] [stdout]   21:     0x5cd499e3e275 - examples[3dc6f42c8b1dbad9]::check_examples
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/examples.rs:166:5
[INFO] [stdout]   22:     0x5cd499e3bf47 - examples[3dc6f42c8b1dbad9]::check_examples::{closure#0}
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/examples.rs:94:20
[INFO] [stdout]   23:     0x5cd499e439d6 - <examples[3dc6f42c8b1dbad9]::check_examples::{closure#0} as core[c5ed12ab89cc536a]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x5cd499e4785b - <fn() -> core[c5ed12ab89cc536a]::result::Result<(), alloc[9c68fdf4f4f29218]::string::String> as core[c5ed12ab89cc536a]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x5cd499e4785b - test[64760d2bdea328cc]::__rust_begin_short_backtrace::<core[c5ed12ab89cc536a]::result::Result<(), alloc[9c68fdf4f4f29218]::string::String>, fn() -> core[c5ed12ab89cc536a]::result::Result<(), alloc[9c68fdf4f4f29218]::string::String>>
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/test/src/lib.rs:663:18
[INFO] [stdout]   26:     0x5cd499e540ba - test[64760d2bdea328cc]::run_test_in_process::{closure#0}
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/test/src/lib.rs:686:74
[INFO] [stdout]   27:     0x5cd499e540ba - <core[c5ed12ab89cc536a]::panic::unwind_safe::AssertUnwindSafe<test[64760d2bdea328cc]::run_test_in_process::{closure#0}> as core[c5ed12ab89cc536a]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   28:     0x5cd499e540ba - std[716c9a7a72e5c14e]::panicking::catch_unwind::do_call::<core[c5ed12ab89cc536a]::panic::unwind_safe::AssertUnwindSafe<test[64760d2bdea328cc]::run_test_in_process::{closure#0}>, core[c5ed12ab89cc536a]::result::Result<(), alloc[9c68fdf4f4f29218]::string::String>>
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/panicking.rs:581:40
[INFO] [stdout]   29:     0x5cd499e540ba - std[716c9a7a72e5c14e]::panicking::catch_unwind::<core[c5ed12ab89cc536a]::result::Result<(), alloc[9c68fdf4f4f29218]::string::String>, core[c5ed12ab89cc536a]::panic::unwind_safe::AssertUnwindSafe<test[64760d2bdea328cc]::run_test_in_process::{closure#0}>>
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/panicking.rs:544:19
[INFO] [stdout]   30:     0x5cd499e540ba - std[716c9a7a72e5c14e]::panic::catch_unwind::<core[c5ed12ab89cc536a]::panic::unwind_safe::AssertUnwindSafe<test[64760d2bdea328cc]::run_test_in_process::{closure#0}>, core[c5ed12ab89cc536a]::result::Result<(), alloc[9c68fdf4f4f29218]::string::String>>
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/panic.rs:359:14
[INFO] [stdout]   31:     0x5cd499e540ba - test[64760d2bdea328cc]::run_test_in_process
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/test/src/lib.rs:686:27
[INFO] [stdout]   32:     0x5cd499e540ba - test[64760d2bdea328cc]::run_test::{closure#0}
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/test/src/lib.rs:607:43
[INFO] [stdout]   33:     0x5cd499e4e584 - test[64760d2bdea328cc]::run_test::{closure#1}
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/test/src/lib.rs:637:41
[INFO] [stdout]   34:     0x5cd499e4e584 - std[716c9a7a72e5c14e]::sys::backtrace::__rust_begin_short_backtrace::<test[64760d2bdea328cc]::run_test::{closure#1}, ()>
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/sys/backtrace.rs:166:18
[INFO] [stdout]   35:     0x5cd499e56bb2 - std[716c9a7a72e5c14e]::thread::lifecycle::spawn_unchecked::<test[64760d2bdea328cc]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/thread/lifecycle.rs:91:13
[INFO] [stdout]   36:     0x5cd499e56bb2 - <core[c5ed12ab89cc536a]::panic::unwind_safe::AssertUnwindSafe<std[716c9a7a72e5c14e]::thread::lifecycle::spawn_unchecked<test[64760d2bdea328cc]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}> as core[c5ed12ab89cc536a]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   37:     0x5cd499e56bb2 - std[716c9a7a72e5c14e]::panicking::catch_unwind::do_call::<core[c5ed12ab89cc536a]::panic::unwind_safe::AssertUnwindSafe<std[716c9a7a72e5c14e]::thread::lifecycle::spawn_unchecked<test[64760d2bdea328cc]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/panicking.rs:581:40
[INFO] [stdout]   38:     0x5cd499e56bb2 - std[716c9a7a72e5c14e]::panicking::catch_unwind::<(), core[c5ed12ab89cc536a]::panic::unwind_safe::AssertUnwindSafe<std[716c9a7a72e5c14e]::thread::lifecycle::spawn_unchecked<test[64760d2bdea328cc]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>>
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/panicking.rs:544:19
[INFO] [stdout]   39:     0x5cd499e56bb2 - std[716c9a7a72e5c14e]::panic::catch_unwind::<core[c5ed12ab89cc536a]::panic::unwind_safe::AssertUnwindSafe<std[716c9a7a72e5c14e]::thread::lifecycle::spawn_unchecked<test[64760d2bdea328cc]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/panic.rs:359:14
[INFO] [stdout]   40:     0x5cd499e56bb2 - std[716c9a7a72e5c14e]::thread::lifecycle::spawn_unchecked::<test[64760d2bdea328cc]::run_test::{closure#1}, ()>::{closure#1}
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/thread/lifecycle.rs:89:26
[INFO] [stdout]   41:     0x5cd499e56bb2 - <std[716c9a7a72e5c14e]::thread::lifecycle::spawn_unchecked<test[64760d2bdea328cc]::run_test::{closure#1}, ()>::{closure#1} as core[c5ed12ab89cc536a]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   42:     0x5cd499ed190f - <alloc[9c68fdf4f4f29218]::boxed::Box<dyn core[c5ed12ab89cc536a]::ops::function::FnOnce<(), Output = ()> + core[c5ed12ab89cc536a]::marker::Send> as core[c5ed12ab89cc536a]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/alloc/src/boxed.rs:2206:9
[INFO] [stdout]   43:     0x5cd499ed190f - <std[716c9a7a72e5c14e]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]                                at /rustc/2fd6efc32704647e64d3d646d21c4c68eae100e4/library/std/src/sys/thread/unix.rs:119:17
[INFO] [stdout]   44:     0x7ce1ef407aa4 - <unknown>
[INFO] [stdout]   45:     0x7ce1ef494a64 - clone
[INFO] [stdout]   46:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     check_examples
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.94s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--test examples`
[INFO] running `Command { std: "docker" "inspect" "bb32cf7df1e991517c5eaacd215c2bd55969a5539b4b51062acb9ff9e6373a0d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bb32cf7df1e991517c5eaacd215c2bd55969a5539b4b51062acb9ff9e6373a0d", kill_on_drop: false }`
[INFO] [stdout] bb32cf7df1e991517c5eaacd215c2bd55969a5539b4b51062acb9ff9e6373a0d
