[INFO] cloning repository https://github.com/miksax/rust_runtime [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/miksax/rust_runtime" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmiksax%2Frust_runtime", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmiksax%2Frust_runtime'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmiksax%2Frust_runtime: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 1) [INFO] cloning repository https://github.com/miksax/rust_runtime [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/miksax/rust_runtime" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmiksax%2Frust_runtime", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmiksax%2Frust_runtime'... [INFO] [stderr] error: unable to write symref for HEAD: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 2) [INFO] cloning repository https://github.com/miksax/rust_runtime [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/miksax/rust_runtime" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmiksax%2Frust_runtime", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmiksax%2Frust_runtime'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 83ee44a497ff09e06e9694aa61fd75bbf7e7a044 [INFO] testing miksax/rust_runtime against master#552a959051cebf8f88a8f558399baf733bec9ce0 for pr-136932 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmiksax%2Frust_runtime" "/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/miksax/rust_runtime on toolchain 552a959051cebf8f88a8f558399baf733bec9ce0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+552a959051cebf8f88a8f558399baf733bec9ce0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-0-tc1/source/.cargo/config [INFO] removed /workspace/builds/worker-0-tc1/source/rust-toolchain [INFO] started tweaking git repo https://github.com/miksax/rust_runtime [INFO] finished tweaking git repo https://github.com/miksax/rust_runtime [INFO] tweaked toml for git repo https://github.com/miksax/rust_runtime written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/miksax/rust_runtime 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" "+552a959051cebf8f88a8f558399baf733bec9ce0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /workspace/builds/worker-0-tc1/source/example/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasm_allocator v0.1.1 [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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+552a959051cebf8f88a8f558399baf733bec9ce0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 74bcbd3a5a0b49d31916c2d8f2215bbf7139af1bafed67855295bf82c4945186 [INFO] running `Command { std: "docker" "start" "-a" "74bcbd3a5a0b49d31916c2d8f2215bbf7139af1bafed67855295bf82c4945186", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "74bcbd3a5a0b49d31916c2d8f2215bbf7139af1bafed67855295bf82c4945186", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "74bcbd3a5a0b49d31916c2d8f2215bbf7139af1bafed67855295bf82c4945186", kill_on_drop: false }` [INFO] [stdout] 74bcbd3a5a0b49d31916c2d8f2215bbf7139af1bafed67855295bf82c4945186 [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=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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+552a959051cebf8f88a8f558399baf733bec9ce0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e9998e825193de1161896d93775a70f35ab2c9fb5b5018944f544ba1f6a3b64e [INFO] running `Command { std: "docker" "start" "-a" "e9998e825193de1161896d93775a70f35ab2c9fb5b5018944f544ba1f6a3b64e", kill_on_drop: false }` [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /opt/rustwide/workdir/example/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] Compiling rust_runtime v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the feature `ptr_internals` is internal to the compiler or standard library [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(ptr_internals)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] = note: `#[warn(internal_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `alloc::Layout` and `ptr` [INFO] [stdout] --> src/mem.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{alloc::Layout, io::Write, mem, ptr}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[no_mangle]` attribute may not be used in combination with `#[export_name]` [INFO] [stdout] --> src/mem.rs:248:1 [INFO] [stdout] | [INFO] [stdout] 248 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ `#[no_mangle]` is ignored [INFO] [stdout] | [INFO] [stdout] note: `#[export_name]` takes precedence [INFO] [stdout] --> src/mem.rs:249:1 [INFO] [stdout] | [INFO] [stdout] 249 | #[export_name = "setEnvironment"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] help: remove the `#[no_mangle]` attribute [INFO] [stdout] | [INFO] [stdout] 248 - #[no_mangle] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[no_mangle]` attribute may not be used in combination with `#[export_name]` [INFO] [stdout] --> src/mem.rs:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ `#[no_mangle]` is ignored [INFO] [stdout] | [INFO] [stdout] note: `#[export_name]` takes precedence [INFO] [stdout] --> src/mem.rs:257:1 [INFO] [stdout] | [INFO] [stdout] 257 | #[export_name = "onDeploy"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: remove the `#[no_mangle]` attribute [INFO] [stdout] | [INFO] [stdout] 256 - #[no_mangle] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[no_mangle]` attribute may not be used in combination with `#[export_name]` [INFO] [stdout] --> src/mem.rs:264:1 [INFO] [stdout] | [INFO] [stdout] 264 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ `#[no_mangle]` is ignored [INFO] [stdout] | [INFO] [stdout] note: `#[export_name]` takes precedence [INFO] [stdout] --> src/mem.rs:265:1 [INFO] [stdout] | [INFO] [stdout] 265 | #[export_name = "__new"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: remove the `#[no_mangle]` attribute [INFO] [stdout] | [INFO] [stdout] 264 - #[no_mangle] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[no_mangle]` attribute may not be used in combination with `#[export_name]` [INFO] [stdout] --> src/mem.rs:275:1 [INFO] [stdout] | [INFO] [stdout] 275 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ `#[no_mangle]` is ignored [INFO] [stdout] | [INFO] [stdout] note: `#[export_name]` takes precedence [INFO] [stdout] --> src/mem.rs:276:1 [INFO] [stdout] | [INFO] [stdout] 276 | #[export_name = "__pin"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: remove the `#[no_mangle]` attribute [INFO] [stdout] | [INFO] [stdout] 275 - #[no_mangle] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[no_mangle]` attribute may not be used in combination with `#[export_name]` [INFO] [stdout] --> src/mem.rs:285:1 [INFO] [stdout] | [INFO] [stdout] 285 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ `#[no_mangle]` is ignored [INFO] [stdout] | [INFO] [stdout] note: `#[export_name]` takes precedence [INFO] [stdout] --> src/mem.rs:286:1 [INFO] [stdout] | [INFO] [stdout] 286 | #[export_name = "__unpin"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: remove the `#[no_mangle]` attribute [INFO] [stdout] | [INFO] [stdout] 285 - #[no_mangle] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[no_mangle]` attribute may not be used in combination with `#[export_name]` [INFO] [stdout] --> src/mem.rs:299:1 [INFO] [stdout] | [INFO] [stdout] 299 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ `#[no_mangle]` is ignored [INFO] [stdout] | [INFO] [stdout] note: `#[export_name]` takes precedence [INFO] [stdout] --> src/mem.rs:300:1 [INFO] [stdout] | [INFO] [stdout] 300 | #[export_name = "__collect"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: remove the `#[no_mangle]` attribute [INFO] [stdout] | [INFO] [stdout] 299 - #[no_mangle] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/mem.rs:278:5 [INFO] [stdout] | [INFO] [stdout] 278 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `bytes` is never read [INFO] [stdout] --> src/env/global.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Address { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 2 | bytes: [u8; crate::constant::ADDRESS_BYTE_LENGTH], [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `leak` is never used [INFO] [stdout] --> src/mem.rs:217:8 [INFO] [stdout] | [INFO] [stdout] 178 | impl WaString { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 217 | fn leak(self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/mem.rs:86:38 [INFO] [stdout] | [INFO] [stdout] 86 | if let Some(index) = MEMORY.iter().position(|cell_ptr| *cell_ptr == ptr) { [INFO] [stdout] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/mem.rs:87:21 [INFO] [stdout] | [INFO] [stdout] 87 | MEMORY.remove(index); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/mem.rs:270:9 [INFO] [stdout] | [INFO] [stdout] 270 | MEMORY.push(ptr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/mem.rs:292:49 [INFO] [stdout] | [INFO] [stdout] 292 | log_str(&alloc::format!("Mem size: {}", MEMORY.len())); [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/mem.rs:304:20 [INFO] [stdout] | [INFO] [stdout] 304 | for ptr in MEMORY.iter() { [INFO] [stdout] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.19s [INFO] running `Command { std: "docker" "inspect" "e9998e825193de1161896d93775a70f35ab2c9fb5b5018944f544ba1f6a3b64e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e9998e825193de1161896d93775a70f35ab2c9fb5b5018944f544ba1f6a3b64e", kill_on_drop: false }` [INFO] [stdout] e9998e825193de1161896d93775a70f35ab2c9fb5b5018944f544ba1f6a3b64e [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=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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+552a959051cebf8f88a8f558399baf733bec9ce0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0ccb602052c2a3e5e622f4186a320852e58a766d6b74dac66d15da889da69867 [INFO] running `Command { std: "docker" "start" "-a" "0ccb602052c2a3e5e622f4186a320852e58a766d6b74dac66d15da889da69867", kill_on_drop: false }` [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stdout] warning: the feature `ptr_internals` is internal to the compiler or standard library [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(ptr_internals)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] = note: `#[warn(internal_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] package: /opt/rustwide/workdir/example/Cargo.toml [INFO] [stdout] warning: unused imports: `alloc::Layout` and `ptr` [INFO] [stdout] --> src/mem.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{alloc::Layout, io::Write, mem, ptr}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stdout] warning: `#[no_mangle]` attribute may not be used in combination with `#[export_name]` [INFO] [stdout] --> src/mem.rs:248:1 [INFO] [stdout] | [INFO] [stdout] 248 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ `#[no_mangle]` is ignored [INFO] [stdout] | [INFO] [stdout] note: `#[export_name]` takes precedence [INFO] [stdout] --> src/mem.rs:249:1 [INFO] [stdout] | [INFO] [stdout] 249 | #[export_name = "setEnvironment"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] help: remove the `#[no_mangle]` attribute [INFO] [stdout] | [INFO] [stdout] 248 - #[no_mangle] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rust_runtime v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: `#[no_mangle]` attribute may not be used in combination with `#[export_name]` [INFO] [stdout] --> src/mem.rs:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ `#[no_mangle]` is ignored [INFO] [stdout] | [INFO] [stdout] note: `#[export_name]` takes precedence [INFO] [stdout] --> src/mem.rs:257:1 [INFO] [stdout] | [INFO] [stdout] 257 | #[export_name = "onDeploy"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: remove the `#[no_mangle]` attribute [INFO] [stdout] | [INFO] [stdout] 256 - #[no_mangle] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[no_mangle]` attribute may not be used in combination with `#[export_name]` [INFO] [stdout] --> src/mem.rs:264:1 [INFO] [stdout] | [INFO] [stdout] 264 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ `#[no_mangle]` is ignored [INFO] [stdout] | [INFO] [stdout] note: `#[export_name]` takes precedence [INFO] [stdout] --> src/mem.rs:265:1 [INFO] [stdout] | [INFO] [stdout] 265 | #[export_name = "__new"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: remove the `#[no_mangle]` attribute [INFO] [stdout] | [INFO] [stdout] 264 - #[no_mangle] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[no_mangle]` attribute may not be used in combination with `#[export_name]` [INFO] [stdout] --> src/mem.rs:275:1 [INFO] [stdout] | [INFO] [stdout] 275 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ `#[no_mangle]` is ignored [INFO] [stdout] | [INFO] [stdout] note: `#[export_name]` takes precedence [INFO] [stdout] --> src/mem.rs:276:1 [INFO] [stdout] | [INFO] [stdout] 276 | #[export_name = "__pin"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: remove the `#[no_mangle]` attribute [INFO] [stdout] | [INFO] [stdout] 275 - #[no_mangle] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[no_mangle]` attribute may not be used in combination with `#[export_name]` [INFO] [stdout] --> src/mem.rs:285:1 [INFO] [stdout] | [INFO] [stdout] 285 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ `#[no_mangle]` is ignored [INFO] [stdout] | [INFO] [stdout] note: `#[export_name]` takes precedence [INFO] [stdout] --> src/mem.rs:286:1 [INFO] [stdout] | [INFO] [stdout] 286 | #[export_name = "__unpin"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: remove the `#[no_mangle]` attribute [INFO] [stdout] | [INFO] [stdout] 285 - #[no_mangle] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[no_mangle]` attribute may not be used in combination with `#[export_name]` [INFO] [stdout] --> src/mem.rs:299:1 [INFO] [stdout] | [INFO] [stdout] 299 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ `#[no_mangle]` is ignored [INFO] [stdout] | [INFO] [stdout] note: `#[export_name]` takes precedence [INFO] [stdout] --> src/mem.rs:300:1 [INFO] [stdout] | [INFO] [stdout] 300 | #[export_name = "__collect"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: remove the `#[no_mangle]` attribute [INFO] [stdout] | [INFO] [stdout] 299 - #[no_mangle] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/mem.rs:278:5 [INFO] [stdout] | [INFO] [stdout] 278 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `bytes` is never read [INFO] [stdout] --> src/env/global.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Address { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 2 | bytes: [u8; crate::constant::ADDRESS_BYTE_LENGTH], [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `leak` is never used [INFO] [stdout] --> src/mem.rs:217:8 [INFO] [stdout] | [INFO] [stdout] 178 | impl WaString { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 217 | fn leak(self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/mem.rs:86:38 [INFO] [stdout] | [INFO] [stdout] 86 | if let Some(index) = MEMORY.iter().position(|cell_ptr| *cell_ptr == ptr) { [INFO] [stdout] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/mem.rs:87:21 [INFO] [stdout] | [INFO] [stdout] 87 | MEMORY.remove(index); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/mem.rs:270:9 [INFO] [stdout] | [INFO] [stdout] 270 | MEMORY.push(ptr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/mem.rs:292:49 [INFO] [stdout] | [INFO] [stdout] 292 | log_str(&alloc::format!("Mem size: {}", MEMORY.len())); [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/mem.rs:304:20 [INFO] [stdout] | [INFO] [stdout] 304 | for ptr in MEMORY.iter() { [INFO] [stdout] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: the feature `ptr_internals` is internal to the compiler or standard library [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(ptr_internals)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] = note: `#[warn(internal_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `alloc::Layout` and `ptr` [INFO] [stdout] --> src/mem.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{alloc::Layout, io::Write, mem, ptr}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[no_mangle]` attribute may not be used in combination with `#[export_name]` [INFO] [stdout] --> src/mem.rs:248:1 [INFO] [stdout] | [INFO] [stdout] 248 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ `#[no_mangle]` is ignored [INFO] [stdout] | [INFO] [stdout] note: `#[export_name]` takes precedence [INFO] [stdout] --> src/mem.rs:249:1 [INFO] [stdout] | [INFO] [stdout] 249 | #[export_name = "setEnvironment"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] help: remove the `#[no_mangle]` attribute [INFO] [stdout] | [INFO] [stdout] 248 - #[no_mangle] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[no_mangle]` attribute may not be used in combination with `#[export_name]` [INFO] [stdout] --> src/mem.rs:256:1 [INFO] [stdout] | [INFO] [stdout] 256 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ `#[no_mangle]` is ignored [INFO] [stdout] | [INFO] [stdout] note: `#[export_name]` takes precedence [INFO] [stdout] --> src/mem.rs:257:1 [INFO] [stdout] | [INFO] [stdout] 257 | #[export_name = "onDeploy"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: remove the `#[no_mangle]` attribute [INFO] [stdout] | [INFO] [stdout] 256 - #[no_mangle] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[no_mangle]` attribute may not be used in combination with `#[export_name]` [INFO] [stdout] --> src/mem.rs:264:1 [INFO] [stdout] | [INFO] [stdout] 264 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ `#[no_mangle]` is ignored [INFO] [stdout] | [INFO] [stdout] note: `#[export_name]` takes precedence [INFO] [stdout] --> src/mem.rs:265:1 [INFO] [stdout] | [INFO] [stdout] 265 | #[export_name = "__new"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: remove the `#[no_mangle]` attribute [INFO] [stdout] | [INFO] [stdout] 264 - #[no_mangle] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[no_mangle]` attribute may not be used in combination with `#[export_name]` [INFO] [stdout] --> src/mem.rs:275:1 [INFO] [stdout] | [INFO] [stdout] 275 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ `#[no_mangle]` is ignored [INFO] [stdout] | [INFO] [stdout] note: `#[export_name]` takes precedence [INFO] [stdout] --> src/mem.rs:276:1 [INFO] [stdout] | [INFO] [stdout] 276 | #[export_name = "__pin"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: remove the `#[no_mangle]` attribute [INFO] [stdout] | [INFO] [stdout] 275 - #[no_mangle] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[no_mangle]` attribute may not be used in combination with `#[export_name]` [INFO] [stdout] --> src/mem.rs:285:1 [INFO] [stdout] | [INFO] [stdout] 285 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ `#[no_mangle]` is ignored [INFO] [stdout] | [INFO] [stdout] note: `#[export_name]` takes precedence [INFO] [stdout] --> src/mem.rs:286:1 [INFO] [stdout] | [INFO] [stdout] 286 | #[export_name = "__unpin"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: remove the `#[no_mangle]` attribute [INFO] [stdout] | [INFO] [stdout] 285 - #[no_mangle] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[no_mangle]` attribute may not be used in combination with `#[export_name]` [INFO] [stdout] --> src/mem.rs:299:1 [INFO] [stdout] | [INFO] [stdout] 299 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ `#[no_mangle]` is ignored [INFO] [stdout] | [INFO] [stdout] note: `#[export_name]` takes precedence [INFO] [stdout] --> src/mem.rs:300:1 [INFO] [stdout] | [INFO] [stdout] 300 | #[export_name = "__collect"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: remove the `#[no_mangle]` attribute [INFO] [stdout] | [INFO] [stdout] 299 - #[no_mangle] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/mem.rs:278:5 [INFO] [stdout] | [INFO] [stdout] 278 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `bytes` is never read [INFO] [stdout] --> src/env/global.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Address { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 2 | bytes: [u8; crate::constant::ADDRESS_BYTE_LENGTH], [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `leak` is never used [INFO] [stdout] --> src/mem.rs:217:8 [INFO] [stdout] | [INFO] [stdout] 178 | impl WaString { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 217 | fn leak(self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/mem.rs:86:38 [INFO] [stdout] | [INFO] [stdout] 86 | if let Some(index) = MEMORY.iter().position(|cell_ptr| *cell_ptr == ptr) { [INFO] [stdout] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/mem.rs:87:21 [INFO] [stdout] | [INFO] [stdout] 87 | MEMORY.remove(index); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/mem.rs:270:9 [INFO] [stdout] | [INFO] [stdout] 270 | MEMORY.push(ptr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/mem.rs:292:49 [INFO] [stdout] | [INFO] [stdout] 292 | log_str(&alloc::format!("Mem size: {}", MEMORY.len())); [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/mem.rs:304:20 [INFO] [stdout] | [INFO] [stdout] 304 | for ptr in MEMORY.iter() { [INFO] [stdout] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.25s [INFO] running `Command { std: "docker" "inspect" "0ccb602052c2a3e5e622f4186a320852e58a766d6b74dac66d15da889da69867", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ccb602052c2a3e5e622f4186a320852e58a766d6b74dac66d15da889da69867", kill_on_drop: false }` [INFO] [stdout] 0ccb602052c2a3e5e622f4186a320852e58a766d6b74dac66d15da889da69867 [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=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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+552a959051cebf8f88a8f558399baf733bec9ce0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 40deb7cd3459c968debf3918ac4f907b0475c8ad428993994fdca9471e912a54 [INFO] running `Command { std: "docker" "start" "-a" "40deb7cd3459c968debf3918ac4f907b0475c8ad428993994fdca9471e912a54", kill_on_drop: false }` [INFO] [stderr] Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error mounting "/var/lib/crater-agent-workspace/rustup-home" to rootfs at "/opt/rustwide/rustup-home": mkdir /var/lib/docker/overlay2/95dc6208c1058c002eff96e34280c02e52ebf6abaf6432412e9e28b466008a73/merged/opt/rustwide/rustup-home: no space left on device: unknown [INFO] running `Command { std: "docker" "inspect" "40deb7cd3459c968debf3918ac4f907b0475c8ad428993994fdca9471e912a54", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "40deb7cd3459c968debf3918ac4f907b0475c8ad428993994fdca9471e912a54", kill_on_drop: false }` [INFO] [stdout] 40deb7cd3459c968debf3918ac4f907b0475c8ad428993994fdca9471e912a54