[INFO] fetching crate rwasm 2020.1.1... [INFO] checking rwasm-2020.1.1 against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] extracting crate rwasm 2020.1.1 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate rwasm 2020.1.1 on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-6/source/.cargo/config [INFO] started tweaking crates.io crate rwasm 2020.1.1 [INFO] finished tweaking crates.io crate rwasm 2020.1.1 [INFO] tweaked toml for crates.io crate rwasm 2020.1.1 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate crates.io crate rwasm 2020.1.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0fb9fbbc9d85046aa3ac6a9b7ef4710b1d2c8effa2426037e1e2b98b29f7eb76 [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" "0fb9fbbc9d85046aa3ac6a9b7ef4710b1d2c8effa2426037e1e2b98b29f7eb76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0fb9fbbc9d85046aa3ac6a9b7ef4710b1d2c8effa2426037e1e2b98b29f7eb76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0fb9fbbc9d85046aa3ac6a9b7ef4710b1d2c8effa2426037e1e2b98b29f7eb76", kill_on_drop: false }` [INFO] [stdout] 0fb9fbbc9d85046aa3ac6a9b7ef4710b1d2c8effa2426037e1e2b98b29f7eb76 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eaf6039544c816dec758af7dcb1651a14807e60017e0d1f5cff005ecae26af94 [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" "eaf6039544c816dec758af7dcb1651a14807e60017e0d1f5cff005ecae26af94", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking once_cell v1.5.2 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Checking backtrace v0.3.55 [INFO] [stderr] Checking rwasm v2020.1.1 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/date.rs (1 fix) [INFO] [stdout] warning: attribute should be applied to a free function, impl method or static [INFO] [stdout] --> src/timer.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 50 | / extern "C" { [INFO] [stdout] 51 | | pub fn request_timeout(listener_id: u32, millis: u32); [INFO] [stdout] 52 | | } [INFO] [stdout] | |_- not a free function, impl method 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 free function, impl method or static [INFO] [stdout] --> src/wasm.rs:86:1 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 87 | / extern "C" { [INFO] [stdout] 88 | | pub fn upload_bytes(data: *const u8, length: usize) -> usize; [INFO] [stdout] 89 | | } [INFO] [stdout] | |_- not a free function, impl method or static [INFO] [stdout] | [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 free function, impl method or static [INFO] [stdout] --> src/timer.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 50 | / extern "C" { [INFO] [stdout] 51 | | pub fn request_timeout(listener_id: u32, millis: u32); [INFO] [stdout] 52 | | } [INFO] [stdout] | |_- not a free function, impl method 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 free function, impl method or static [INFO] [stdout] --> src/wasm.rs:86:1 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 87 | / extern "C" { [INFO] [stdout] 88 | | pub fn upload_bytes(data: *const u8, length: usize) -> usize; [INFO] [stdout] 89 | | } [INFO] [stdout] | |_- not a free function, impl method or static [INFO] [stdout] | [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: function is never used: `seconds_now` [INFO] [stdout] --> src/date.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | fn seconds_now() -> f64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `seconds_now` [INFO] [stdout] --> src/date.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | fn seconds_now() -> f64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating examples/main.rs from 2018 edition to 2021 [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.37s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Checking rwasm v2020.1.1 (/tmp/fixit) [INFO] [stdout] warning: attribute should be applied to a free function, impl method or static [INFO] [stdout] --> src/timer.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 50 | / extern "C" { [INFO] [stdout] 51 | | pub fn request_timeout(listener_id: u32, millis: u32); [INFO] [stdout] 52 | | } [INFO] [stdout] | |_- not a free function, impl method 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 free function, impl method or static [INFO] [stdout] --> src/wasm.rs:86:1 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 87 | / extern "C" { [INFO] [stdout] 88 | | pub fn upload_bytes(data: *const u8, length: usize) -> usize; [INFO] [stdout] 89 | | } [INFO] [stdout] | |_- not a free function, impl method or static [INFO] [stdout] | [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 free function, impl method or static [INFO] [stdout] --> src/timer.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 50 | / extern "C" { [INFO] [stdout] 51 | | pub fn request_timeout(listener_id: u32, millis: u32); [INFO] [stdout] 52 | | } [INFO] [stdout] | |_- not a free function, impl method 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 free function, impl method or static [INFO] [stdout] --> src/wasm.rs:86:1 [INFO] [stdout] | [INFO] [stdout] 86 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 87 | / extern "C" { [INFO] [stdout] 88 | | pub fn upload_bytes(data: *const u8, length: usize) -> usize; [INFO] [stdout] 89 | | } [INFO] [stdout] | |_- not a free function, impl method or static [INFO] [stdout] | [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: function is never used: `seconds_now` [INFO] [stdout] --> src/date.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | fn seconds_now() -> f64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `seconds_now` [INFO] [stdout] --> src/date.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | fn seconds_now() -> f64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.42s [INFO] running `Command { std: "docker" "inspect" "eaf6039544c816dec758af7dcb1651a14807e60017e0d1f5cff005ecae26af94", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eaf6039544c816dec758af7dcb1651a14807e60017e0d1f5cff005ecae26af94", kill_on_drop: false }` [INFO] [stdout] eaf6039544c816dec758af7dcb1651a14807e60017e0d1f5cff005ecae26af94