[INFO] cloning repository https://github.com/isqnwtn/dfa-simulation-engine [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/isqnwtn/dfa-simulation-engine" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fisqnwtn%2Fdfa-simulation-engine", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fisqnwtn%2Fdfa-simulation-engine'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9e7628f118b740639a999e0bef0b4ebb42be818c [INFO] building isqnwtn/dfa-simulation-engine against master#44f415c1d617ebc7b931a243b7b321ef8a6ca47c for pr-142134-abi-ast-error [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fisqnwtn%2Fdfa-simulation-engine" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/isqnwtn/dfa-simulation-engine on toolchain 44f415c1d617ebc7b931a243b7b321ef8a6ca47c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/isqnwtn/dfa-simulation-engine [INFO] finished tweaking git repo https://github.com/isqnwtn/dfa-simulation-engine [INFO] tweaked toml for git repo https://github.com/isqnwtn/dfa-simulation-engine written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/isqnwtn/dfa-simulation-engine 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" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rlua v0.19.7 [INFO] [stderr] Downloaded rlua-lua54-sys v0.1.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 54a05a747db61b04a7e3c1b8012ae15eb4b328010986b7ee977097b8e70327d5 [INFO] running `Command { std: "docker" "start" "-a" "54a05a747db61b04a7e3c1b8012ae15eb4b328010986b7ee977097b8e70327d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "54a05a747db61b04a7e3c1b8012ae15eb4b328010986b7ee977097b8e70327d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "54a05a747db61b04a7e3c1b8012ae15eb4b328010986b7ee977097b8e70327d5", kill_on_drop: false }` [INFO] [stdout] 54a05a747db61b04a7e3c1b8012ae15eb4b328010986b7ee977097b8e70327d5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fc90cfd3567e49c583bf0f9e9212c34db855476f1e11f99107ce77824a7e384e [INFO] running `Command { std: "docker" "start" "-a" "fc90cfd3567e49c583bf0f9e9212c34db855476f1e11f99107ce77824a7e384e", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Compiling proc-macro2 v1.0.70 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling rlua v0.19.7 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling priority-queue v1.3.2 [INFO] [stderr] Compiling bstr v0.2.17 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Compiling getrandom v0.2.11 [INFO] [stderr] Compiling rlua-lua54-sys v0.1.6 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling serde_derive v1.0.193 [INFO] [stderr] Compiling dfa-sim v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/dsl/mod.rs:8:39 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::stream::globals::{Globals, self, GlobalState}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Table` [INFO] [stdout] --> src/stream/globals.rs:1:34 [INFO] [stdout] | [INFO] [stdout] 1 | use rlua::{Function, Lua, Error, Table}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | let mut stream_engine = StreamEngine::new(globals,global_state,machine); [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `init` and `reset` are never used [INFO] [stdout] --> src/machine/mod.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub trait StateMachine { [INFO] [stdout] | ------------ methods in this trait [INFO] [stdout] 13 | type StateValue: Debug; [INFO] [stdout] 14 | fn init(&mut self); [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | fn reset(&mut self); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `probability` is never read [INFO] [stdout] --> src/machine/state.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct TransferInfo { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 6 | name: String, [INFO] [stdout] 7 | probability: f64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TransferInfo` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `state` is never read [INFO] [stdout] --> src/stream/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct StreamEngine { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 14 | globals: Globals, [INFO] [stdout] 15 | state: GlobalState, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `state_lua` is never read [INFO] [stdout] --> src/stream/globals.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct GlobalState { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 20 | state_lua: Lua [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `run_session_manager` is never used [INFO] [stdout] --> src/stream/globals.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl GlobalState { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn run_session_manager(&mut self,cur_time:u32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 22.34s [INFO] running `Command { std: "docker" "inspect" "fc90cfd3567e49c583bf0f9e9212c34db855476f1e11f99107ce77824a7e384e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc90cfd3567e49c583bf0f9e9212c34db855476f1e11f99107ce77824a7e384e", kill_on_drop: false }` [INFO] [stdout] fc90cfd3567e49c583bf0f9e9212c34db855476f1e11f99107ce77824a7e384e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 67a444d36a8205d06c62e089c50290b852e360f6d6e3a6c920604d9e739a24fa [INFO] running `Command { std: "docker" "start" "-a" "67a444d36a8205d06c62e089c50290b852e360f6d6e3a6c920604d9e739a24fa", kill_on_drop: false }` [INFO] [stderr] Compiling dfa-sim v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/dsl/mod.rs:8:39 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::stream::globals::{Globals, self, GlobalState}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Table` [INFO] [stdout] --> src/stream/globals.rs:1:34 [INFO] [stdout] | [INFO] [stdout] 1 | use rlua::{Function, Lua, Error, Table}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | let mut stream_engine = StreamEngine::new(globals,global_state,machine); [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `init` and `reset` are never used [INFO] [stdout] --> src/machine/mod.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub trait StateMachine { [INFO] [stdout] | ------------ methods in this trait [INFO] [stdout] 13 | type StateValue: Debug; [INFO] [stdout] 14 | fn init(&mut self); [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | fn reset(&mut self); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `probability` is never read [INFO] [stdout] --> src/machine/state.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct TransferInfo { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 6 | name: String, [INFO] [stdout] 7 | probability: f64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TransferInfo` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `state` is never read [INFO] [stdout] --> src/stream/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct StreamEngine { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 14 | globals: Globals, [INFO] [stdout] 15 | state: GlobalState, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `state_lua` is never read [INFO] [stdout] --> src/stream/globals.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct GlobalState { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 20 | state_lua: Lua [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `run_session_manager` is never used [INFO] [stdout] --> src/stream/globals.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl GlobalState { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn run_session_manager(&mut self,cur_time:u32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.53s [INFO] running `Command { std: "docker" "inspect" "67a444d36a8205d06c62e089c50290b852e360f6d6e3a6c920604d9e739a24fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "67a444d36a8205d06c62e089c50290b852e360f6d6e3a6c920604d9e739a24fa", kill_on_drop: false }` [INFO] [stdout] 67a444d36a8205d06c62e089c50290b852e360f6d6e3a6c920604d9e739a24fa