[INFO] cloning repository https://github.com/andreastedile/pkcs11-learning-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/andreastedile/pkcs11-learning-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandreastedile%2Fpkcs11-learning-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandreastedile%2Fpkcs11-learning-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] c457fda1ac8f8455e5d8758d96258a9904d030f1
[INFO] checking andreastedile/pkcs11-learning-rs against 65b20a97de33e9e59992793a144aef2950c48c76 for pr-154715
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandreastedile%2Fpkcs11-learning-rs" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/andreastedile/pkcs11-learning-rs
[INFO] finished tweaking git repo https://github.com/andreastedile/pkcs11-learning-rs
[INFO] tweaked toml for git repo https://github.com/andreastedile/pkcs11-learning-rs written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/andreastedile/pkcs11-learning-rs on toolchain 65b20a97de33e9e59992793a144aef2950c48c76
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+65b20a97de33e9e59992793a144aef2950c48c76" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/andreastedile/pkcs11-learning-rs 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" "+65b20a97de33e9e59992793a144aef2950c48c76" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded petgraph v0.8.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:00c5645b54fe3ce5dae1417175e3c7fb6a6646c021d554ecd63a097b8b9f3602" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 898c6fbeae9b3ad01ac2b9d477961eb0300ed2462fcd15cfab6b4c7b493a46f1
[INFO] running `Command { std: "docker" "start" "898c6fbeae9b3ad01ac2b9d477961eb0300ed2462fcd15cfab6b4c7b493a46f1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "898c6fbeae9b3ad01ac2b9d477961eb0300ed2462fcd15cfab6b4c7b493a46f1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "898c6fbeae9b3ad01ac2b9d477961eb0300ed2462fcd15cfab6b4c7b493a46f1" "/opt/rustwide/cargo-home/bin/cargo" "+65b20a97de33e9e59992793a144aef2950c48c76" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "898c6fbeae9b3ad01ac2b9d477961eb0300ed2462fcd15cfab6b4c7b493a46f1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "898c6fbeae9b3ad01ac2b9d477961eb0300ed2462fcd15cfab6b4c7b493a46f1" "/opt/rustwide/cargo-home/bin/cargo" "+65b20a97de33e9e59992793a144aef2950c48c76" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]     Checking overload v0.1.1
[INFO] [stderr]     Checking hashbrown v0.15.2
[INFO] [stderr]     Checking regex-automata v0.1.10
[INFO] [stderr]     Checking regex-automata v0.4.9
[INFO] [stderr]     Checking log v0.4.26
[INFO] [stderr]     Checking thread_local v1.1.8
[INFO] [stderr]     Checking smallvec v1.14.0
[INFO] [stderr]     Checking tracing v0.1.41
[INFO] [stderr]    Compiling syn v2.0.100
[INFO] [stderr]     Checking nu-ansi-term v0.46.0
[INFO] [stderr]     Checking tracing-log v0.2.0
[INFO] [stderr]     Checking indexmap v2.7.1
[INFO] [stderr]     Checking matchers v0.1.0
[INFO] [stderr]     Checking petgraph v0.8.1
[INFO] [stderr]     Checking regex v1.11.1
[INFO] [stderr]    Compiling enum-as-inner v0.6.1
[INFO] [stderr]     Checking tracing-subscriber v0.3.19
[INFO] [stderr]     Checking toml_datetime v0.6.8
[INFO] [stderr]     Checking serde_spanned v0.6.8
[INFO] [stderr]     Checking toml_edit v0.22.24
[INFO] [stderr]     Checking toml v0.8.20
[INFO] [stderr]     Checking pkcs11-learning v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `super::*`
[INFO] [stdout]    --> src/known_attacks.rs:150:9
[INFO] [stdout]     |
[INFO] [stdout] 150 |     use super::*;
[INFO] [stdout]     |         ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::export_alphabet::write_model_to_toml`
[INFO] [stdout]    --> src/known_attacks.rs:151:9
[INFO] [stdout]     |
[INFO] [stdout] 151 |     use crate::export_alphabet::write_model_to_toml;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `write_dot`, `write_model_dot_compact`, and `write_model_dot_full`
[INFO] [stdout]    --> src/known_attacks.rs:152:29
[INFO] [stdout]     |
[INFO] [stdout] 152 |     use crate::export_dot::{write_dot, write_model_dot_compact, write_model_dot_full};
[INFO] [stdout]     |                             ^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::model_enumeration::enumerate_models`
[INFO] [stdout]    --> src/known_attacks.rs:153:9
[INFO] [stdout]     |
[INFO] [stdout] 153 |     use crate::model_enumeration::enumerate_models;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `SecretKey`
[INFO] [stdout]  --> src/term_rewriting/deduction/deduce_decrypt_asym_sym.rs:2:44
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::pkcs11_types::key::{PrivateKey, SecretKey};
[INFO] [stdout]   |                                            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::pkcs11_types::key::SecretKey`
[INFO] [stdout]  --> src/term_rewriting/unwrap_asym_sym.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::pkcs11_types::key::SecretKey;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::pkcs11_types::key::SecretKey`
[INFO] [stdout]  --> src/term_rewriting/unwrap_sym_asym.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::pkcs11_types::key::SecretKey;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::pkcs11_types::key::SecretKey`
[INFO] [stdout]  --> src/term_rewriting/unwrap_sym_sym.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::pkcs11_types::key::SecretKey;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]    --> src/known_attacks/dks_3.rs:106:9
[INFO] [stdout]     |
[INFO] [stdout] 105 |         return;
[INFO] [stdout]     |         ------ any code following this expression is unreachable
[INFO] [stdout] 106 |         let mut n_models = 0usize;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `target_node_index`
[INFO] [stdout]    --> src/known_attacks/dks_3.rs:102:13
[INFO] [stdout]     |
[INFO] [stdout] 102 |         let target_node_index = find_target_node_index(&actual, target_node).unwrap();
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_target_node_index`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `convert_edge_to_table` is never used
[INFO] [stdout]   --> src/export_alphabet.rs:15:8
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub fn convert_edge_to_table(edge: &PKCS11Edge) -> Table {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `extract_nodes` is never used
[INFO] [stdout]    --> src/export_alphabet.rs:303:8
[INFO] [stdout]     |
[INFO] [stdout] 303 | pub fn extract_nodes(
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `extract_commands` is never used
[INFO] [stdout]    --> src/export_alphabet.rs:410:8
[INFO] [stdout]     |
[INFO] [stdout] 410 | pub fn extract_commands(g: &DiGraph<PKCS11Node, PKCS11Edge>, model: &DiGraph<bool, bool>) -> Table {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `extract_setattribute_unsetattribute` is never used
[INFO] [stdout]    --> src/export_alphabet.rs:567:8
[INFO] [stdout]     |
[INFO] [stdout] 567 | pub fn extract_setattribute_unsetattribute(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `convert_graph_to_alphabet_toml` is never used
[INFO] [stdout]    --> src/export_alphabet.rs:670:8
[INFO] [stdout]     |
[INFO] [stdout] 670 | pub fn convert_graph_to_alphabet_toml(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `write_model_to_toml` is never used
[INFO] [stdout]    --> src/export_alphabet.rs:689:8
[INFO] [stdout]     |
[INFO] [stdout] 689 | pub fn write_model_to_toml<P>(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `graph`, `target_node_index`, and `initial_nodes` are never read
[INFO] [stdout]   --> src/known_attacks.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct AttackSetup {
[INFO] [stdout]    |            ----------- fields in this struct
[INFO] [stdout] 17 |     graph: DiGraph<PKCS11Node, PKCS11Edge>,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 18 |     target_node_index: NodeIndex,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 19 |     initial_nodes: Vec<NodeIndex>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `AttackSetup` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `initial_graph` is never used
[INFO] [stdout]  --> src/known_attacks/dks_2.rs:9:8
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub fn initial_graph() -> DiGraph<PKCS11Node, PKCS11Edge> {
[INFO] [stdout]   |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `expected_attack` is never used
[INFO] [stdout]   --> src/known_attacks/dks_2.rs:23:8
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub fn expected_attack() -> DiGraph<PKCS11Node, PKCS11Edge> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `attack` is never used
[INFO] [stdout]   --> src/known_attacks/dks_2.rs:79:8
[INFO] [stdout]    |
[INFO] [stdout] 79 | pub fn attack() -> DiGraph<PKCS11Node, PKCS11Edge> {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `initial_graph` is never used
[INFO] [stdout]  --> src/known_attacks/dks_3.rs:9:8
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub fn initial_graph() -> DiGraph<PKCS11Node, PKCS11Edge> {
[INFO] [stdout]   |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `expected_attack` is never used
[INFO] [stdout]   --> src/known_attacks/dks_3.rs:21:8
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub fn expected_attack() -> DiGraph<PKCS11Node, PKCS11Edge> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `attack` is never used
[INFO] [stdout]   --> src/known_attacks/dks_3.rs:75:8
[INFO] [stdout]    |
[INFO] [stdout] 75 | pub fn attack() -> DiGraph<PKCS11Node, PKCS11Edge> {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `initial_graph` is never used
[INFO] [stdout]   --> src/known_attacks/dks_6.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub fn initial_graph() -> DiGraph<PKCS11Node, PKCS11Edge> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `expected_attack` is never used
[INFO] [stdout]   --> src/known_attacks/dks_6.rs:28:8
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub fn expected_attack() -> DiGraph<PKCS11Node, PKCS11Edge> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `attack` is never used
[INFO] [stdout]    --> src/known_attacks/dks_6.rs:109:8
[INFO] [stdout]     |
[INFO] [stdout] 109 | pub fn attack() -> DiGraph<PKCS11Node, PKCS11Edge> {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `initial_graph` is never used
[INFO] [stdout]  --> src/known_attacks/fls_2.rs:9:8
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub fn initial_graph() -> DiGraph<PKCS11Node, PKCS11Edge> {
[INFO] [stdout]   |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `expected_attack` is never used
[INFO] [stdout]   --> src/known_attacks/fls_2.rs:26:8
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub fn expected_attack() -> DiGraph<PKCS11Node, PKCS11Edge> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `attack` is never used
[INFO] [stdout]   --> src/known_attacks/fls_2.rs:79:8
[INFO] [stdout]    |
[INFO] [stdout] 79 | pub fn attack() -> DiGraph<PKCS11Node, PKCS11Edge> {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `initial_graph` is never used
[INFO] [stdout]  --> src/known_attacks/wrap_and_decrypt.rs:9:8
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub fn initial_graph() -> DiGraph<PKCS11Node, PKCS11Edge> {
[INFO] [stdout]   |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `expected_attack` is never used
[INFO] [stdout]   --> src/known_attacks/wrap_and_decrypt.rs:20:8
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub fn expected_attack() -> DiGraph<PKCS11Node, PKCS11Edge> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `attack` is never used
[INFO] [stdout]   --> src/known_attacks/wrap_and_decrypt.rs:52:8
[INFO] [stdout]    |
[INFO] [stdout] 52 | pub fn attack() -> DiGraph<PKCS11Node, PKCS11Edge> {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `can_reach` is never used
[INFO] [stdout]  --> src/model_enumeration.rs:6:4
[INFO] [stdout]   |
[INFO] [stdout] 6 | fn can_reach(g: &DiGraph<bool, bool>, source: NodeIndex, target: NodeIndex, edge: EdgeIndex) -> bool {
[INFO] [stdout]   |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `enumerate_models_rec` is never used
[INFO] [stdout]   --> src/model_enumeration.rs:24:4
[INFO] [stdout]    |
[INFO] [stdout] 24 | fn enumerate_models_rec<F>(
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `enumerate_models` is never used
[INFO] [stdout]    --> src/model_enumeration.rs:177:8
[INFO] [stdout]     |
[INFO] [stdout] 177 | pub fn enumerate_models<F>(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.49s
[INFO] running `Command { std: "docker" "inspect" "898c6fbeae9b3ad01ac2b9d477961eb0300ed2462fcd15cfab6b4c7b493a46f1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "898c6fbeae9b3ad01ac2b9d477961eb0300ed2462fcd15cfab6b4c7b493a46f1", kill_on_drop: false }`
[INFO] [stdout] 898c6fbeae9b3ad01ac2b9d477961eb0300ed2462fcd15cfab6b4c7b493a46f1
