[INFO] cloning repository https://github.com/maxbrunsfeld/rust-wasm-crate-with-c [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/maxbrunsfeld/rust-wasm-crate-with-c" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaxbrunsfeld%2Frust-wasm-crate-with-c", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaxbrunsfeld%2Frust-wasm-crate-with-c'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ec6565c643684c7cdbdee3444b94465b36ebef40 [INFO] checking maxbrunsfeld/rust-wasm-crate-with-c against try#b2f80f6008cdafc35b4472bd46afa16cc6b0cd63 for pr-79470 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaxbrunsfeld%2Frust-wasm-crate-with-c" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/maxbrunsfeld/rust-wasm-crate-with-c on toolchain b2f80f6008cdafc35b4472bd46afa16cc6b0cd63 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b2f80f6008cdafc35b4472bd46afa16cc6b0cd63" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/maxbrunsfeld/rust-wasm-crate-with-c [INFO] finished tweaking git repo https://github.com/maxbrunsfeld/rust-wasm-crate-with-c [INFO] tweaked toml for git repo https://github.com/maxbrunsfeld/rust-wasm-crate-with-c written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/maxbrunsfeld/rust-wasm-crate-with-c already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b2f80f6008cdafc35b4472bd46afa16cc6b0cd63" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+b2f80f6008cdafc35b4472bd46afa16cc6b0cd63" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9e3c68d0a0285760d059f83bd58abd8a1884d57d3b2f5b19d45f56ca43a9e6d4 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "9e3c68d0a0285760d059f83bd58abd8a1884d57d3b2f5b19d45f56ca43a9e6d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9e3c68d0a0285760d059f83bd58abd8a1884d57d3b2f5b19d45f56ca43a9e6d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e3c68d0a0285760d059f83bd58abd8a1884d57d3b2f5b19d45f56ca43a9e6d4", kill_on_drop: false }` [INFO] [stdout] 9e3c68d0a0285760d059f83bd58abd8a1884d57d3b2f5b19d45f56ca43a9e6d4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+b2f80f6008cdafc35b4472bd46afa16cc6b0cd63" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 57a445714e31f6ef24e4963b66be7a909b0e72383f1bdfeda2d02fd3adaf60f3 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "57a445714e31f6ef24e4963b66be7a909b0e72383f1bdfeda2d02fd3adaf60f3", kill_on_drop: false }` [INFO] [stderr] Compiling wasm-crate-with-c v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: attribute should be applied to a function or static [INFO] [stdout] --> src/lib.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 3 | fn increment_in_c(i: u32) -> u32; [INFO] [stdout] | --------------------------------- not a function or static [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to a function or static [INFO] [stdout] --> src/lib.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 3 | fn increment_in_c(i: u32) -> u32; [INFO] [stdout] | --------------------------------- not a function or static [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.35s [INFO] running `Command { std: "docker" "inspect" "57a445714e31f6ef24e4963b66be7a909b0e72383f1bdfeda2d02fd3adaf60f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "57a445714e31f6ef24e4963b66be7a909b0e72383f1bdfeda2d02fd3adaf60f3", kill_on_drop: false }` [INFO] [stdout] 57a445714e31f6ef24e4963b66be7a909b0e72383f1bdfeda2d02fd3adaf60f3