[INFO] crate nomos 0.1.0 is already in cache
[INFO] checking nomos-0.1.0 against master#209b2be09fcaff937480d1fbbe8b31646e361c7a for pr-70917
[INFO] extracting crate nomos 0.1.0 into /workspace/builds/worker-9/source
[INFO] validating manifest of crates.io crate nomos 0.1.0 on toolchain 209b2be09fcaff937480d1fbbe8b31646e361c7a
[INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] started tweaking crates.io crate nomos 0.1.0
[INFO] finished tweaking crates.io crate nomos 0.1.0
[INFO] tweaked toml for crates.io crate nomos 0.1.0 written to /workspace/builds/worker-9/source/Cargo.toml
[INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"`
[INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "check" "--frozen" "--all" "--all-targets"`
[INFO] [stdout] 169aab9beda00cf71512653b1c41fc66ceb09f13ed7b2194fa8b78cd3b3111f4
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `"docker" "start" "-a" "169aab9beda00cf71512653b1c41fc66ceb09f13ed7b2194fa8b78cd3b3111f4"`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]    Compiling arrayvec v0.4.12
[INFO] [stderr]    Compiling cranelift-entity v0.31.0
[INFO] [stderr]    Compiling constant_time_eq v0.1.5
[INFO] [stderr]     Checking wasmparser v0.32.1
[INFO] [stderr]    Compiling stable_deref_trait v1.1.1
[INFO] [stderr]    Compiling memoffset v0.5.4
[INFO] [stderr]     Checking page_size v0.4.2
[INFO] [stderr]    Compiling parking_lot_core v0.4.0
[INFO] [stderr]    Compiling raw-cpuid v6.1.0
[INFO] [stderr]     Checking dynasmrt v0.3.1
[INFO] [stderr]     Checking digest v0.8.1
[INFO] [stderr]    Compiling syn v0.15.44
[INFO] [stderr]    Compiling serde_derive v1.0.106
[INFO] [stderr]     Checking failure v0.1.7
[INFO] [stderr]    Compiling owning_ref v0.3.3
[INFO] [stderr]    Compiling cranelift-codegen-meta v0.31.0
[INFO] [stderr]     Checking cranelift-bforest v0.31.0
[INFO] [stderr]     Checking crossbeam-epoch v0.8.2
[INFO] [stderr]    Compiling blake2b_simd v0.4.1
[INFO] [stderr]     Checking crossbeam-deque v0.7.3
[INFO] [stderr]     Checking parking_lot v0.7.1
[INFO] [stderr]     Checking rayon-core v1.7.0
[INFO] [stderr]    Compiling wasmer-runtime-core v0.5.7
[INFO] [stderr]     Checking rayon v1.3.0
[INFO] [stderr]    Compiling serde v1.0.106
[INFO] [stderr]    Compiling cranelift-codegen v0.31.0
[INFO] [stderr]    Compiling dynasm v0.3.2
[INFO] [stderr]     Checking bincode v1.2.1
[INFO] [stderr]     Checking serde-bench v0.0.7
[INFO] [stderr]     Checking serde_bytes v0.10.5
[INFO] [stderr]     Checking hashbrown v0.1.8
[INFO] [stderr]     Checking nomos-runtime v0.1.0
[INFO] [stderr]    Compiling serde_json v1.0.51
[INFO] [stderr]    Compiling target-lexicon v0.4.0
[INFO] [stderr]     Checking wasmer-singlepass-backend v0.5.7
[INFO] [stderr]     Checking wasmer-clif-fork-frontend v0.31.0
[INFO] [stderr]     Checking cranelift-native v0.31.0
[INFO] [stderr]     Checking wasmer-clif-fork-wasm v0.31.0
[INFO] [stderr]     Checking wasmer-clif-backend v0.5.7
[INFO] [stderr]     Checking wasmer-runtime v0.5.7
[INFO] [stderr]     Checking nomos v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr] error: couldn't read src/../../addition-wasm/target/wasm32-unknown-unknown/release/addition_wasm.wasm: No such file or directory (os error 2)
[INFO] [stderr]   --> src/lib.rs:8:30
[INFO] [stderr]    |
[INFO] [stderr] 8  |           let addition_bytes = include_bytes!(
[INFO] [stderr]    |  ______________________________^
[INFO] [stderr] 9  | |             "../../addition-wasm/target/wasm32-unknown-unknown/release/addition_wasm.wasm"
[INFO] [stderr] 10 | |         );
[INFO] [stderr]    | |_________^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error: couldn't read src/../../multiplication-wasm/target/wasm32-unknown-unknown/release/multiplication_wasm.wasm: No such file or directory (os error 2)
[INFO] [stderr]   --> src/lib.rs:11:30
[INFO] [stderr]    |
[INFO] [stderr] 11 |           let multiply_bytes = include_bytes!(
[INFO] [stderr]    |  ______________________________^
[INFO] [stderr] 12 | |             "../../multiplication-wasm/target/wasm32-unknown-unknown/release/multiplication_wasm.wasm"
[INFO] [stderr] 13 | |         );
[INFO] [stderr]    | |_________^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `actions`
[INFO] [stderr]   --> src/lib.rs:15:29
[INFO] [stderr]    |
[INFO] [stderr] 15 |         let increment_msg = actions::Action::Increment(6);
[INFO] [stderr]    |                             ^^^^^^^ use of undeclared type or module `actions`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `actions`
[INFO] [stderr]   --> src/lib.rs:25:30
[INFO] [stderr]    |
[INFO] [stderr] 25 |         let execute_action = actions::Action::Execute(multiply_bytes.to_vec());
[INFO] [stderr]    |                              ^^^^^^^ use of undeclared type or module `actions`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `state`
[INFO] [stderr]    --> src/nomos.rs:118:17
[INFO] [stderr]     |
[INFO] [stderr] 118 |             let state = &mut shared_context.state;
[INFO] [stderr]     |                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_state`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `e`
[INFO] [stderr]    --> src/nomos.rs:155:33
[INFO] [stderr]     |
[INFO] [stderr] 155 | ...                   Err(e) =...
[INFO] [stderr]     |                           ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `execution_result`
[INFO] [stderr]    --> src/nomos.rs:161:37
[INFO] [stderr]     |
[INFO] [stderr] 161 | ...                   let execution_result =
[INFO] [stderr]     |                           ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_execution_result`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `memory`
[INFO] [stderr]    --> src/nomos.rs:198:13
[INFO] [stderr]     |
[INFO] [stderr] 198 |         let memory = instance.context_mut().memory(0);
[INFO] [stderr]     |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/nomos.rs:20:13
[INFO] [stderr]    |
[INFO] [stderr] 20 |         let mut state: HashMap<Vec<u8>, Vec<u8>> = HashMap::new();
[INFO] [stderr]    |             ----^^^^^
[INFO] [stderr]    |             |
[INFO] [stderr]    |             help: remove this `mut`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/nomos.rs:43:17
[INFO] [stderr]    |
[INFO] [stderr] 43 |             let mut shared_context: &mut SharedContext =
[INFO] [stderr]    |                 ----^^^^^^^^^^^^^^
[INFO] [stderr]    |                 |
[INFO] [stderr]    |                 help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/nomos.rs:73:17
[INFO] [stderr]    |
[INFO] [stderr] 73 |             let mut shared_context: &mut SharedContext =
[INFO] [stderr]    |                 ----^^^^^^^^^^^^^^
[INFO] [stderr]    |                 |
[INFO] [stderr]    |                 help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/nomos.rs:96:21
[INFO] [stderr]    |
[INFO] [stderr] 96 |                 let mut shared_context: &mut SharedContext =
[INFO] [stderr]    |                     ----^^^^^^^^^^^^^^
[INFO] [stderr]    |                     |
[INFO] [stderr]    |                     help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 4 previous errors
[INFO] [stderr] 
[INFO] [stderr] For more information about this error, try `rustc --explain E0433`.
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/nomos.rs:131:17
[INFO] [stderr]     |
[INFO] [stderr] 131 |             let mut shared_context: &mut SharedContext =
[INFO] [stderr]     |                 ----^^^^^^^^^^^^^^
[INFO] [stderr]     |                 |
[INFO] [stderr]     |                 help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/nomos.rs:34:13
[INFO] [stderr]    |
[INFO] [stderr] 34 |         let mut last_state: HashMap<Vec<u8>, Vec<u8>> = self.state.clone();
[INFO] [stderr]    |             ----^^^^^^^^^^
[INFO] [stderr]    |             |
[INFO] [stderr]    |             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: struct is never constructed: `VM`
[INFO] [stderr]  --> src/nomos.rs:8:12
[INFO] [stderr]   |
[INFO] [stderr] 8 | pub struct VM {
[INFO] [stderr]   |            ^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: struct is never constructed: `SharedContext`
[INFO] [stderr]   --> src/nomos.rs:13:12
[INFO] [stderr]    |
[INFO] [stderr] 13 | pub struct SharedContext {
[INFO] [stderr]    |            ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method is never used: `new`
[INFO] [stderr]   --> src/nomos.rs:19:5
[INFO] [stderr]    |
[INFO] [stderr] 19 |     pub fn new(code: Vec<u8>) -> VM {
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method is never used: `set`
[INFO] [stderr]   --> src/nomos.rs:24:5
[INFO] [stderr]    |
[INFO] [stderr] 24 |     pub fn set<K: AsRef<[u8]>, V: AsRef<[u8]>>(&mut self, key: K, value: V) {
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method is never used: `get`
[INFO] [stderr]   --> src/nomos.rs:29:5
[INFO] [stderr]    |
[INFO] [stderr] 29 |     pub fn get<K: AsRef<[u8]>>(&self, key: K) -> Option<&Vec<u8>> {
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method is never used: `call`
[INFO] [stderr]   --> src/nomos.rs:33:5
[INFO] [stderr]    |
[INFO] [stderr] 33 |     pub fn call(&mut self, function_name: &str) {
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function is never used: `print_str`
[INFO] [stderr]    --> src/nomos.rs:209:4
[INFO] [stderr]     |
[INFO] [stderr] 209 | fn print_str(ctx: &mut Ctx, ptr: u32, len: u32) {
[INFO] [stderr]     |    ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error: could not compile `nomos`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: build failed
[INFO] running `"docker" "inspect" "169aab9beda00cf71512653b1c41fc66ceb09f13ed7b2194fa8b78cd3b3111f4"`
[INFO] running `"docker" "rm" "-f" "169aab9beda00cf71512653b1c41fc66ceb09f13ed7b2194fa8b78cd3b3111f4"`
[INFO] [stdout] 169aab9beda00cf71512653b1c41fc66ceb09f13ed7b2194fa8b78cd3b3111f4
