[INFO] cloning repository https://github.com/andrewhu-uw/rust_rr_test [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/andrewhu-uw/rust_rr_test" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandrewhu-uw%2Frust_rr_test", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandrewhu-uw%2Frust_rr_test'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 95bf25fa34a28eb447808259ec5751ec93f65a11 [INFO] checking andrewhu-uw/rust_rr_test against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandrewhu-uw%2Frust_rr_test" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/andrewhu-uw/rust_rr_test on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/andrewhu-uw/rust_rr_test [INFO] finished tweaking git repo https://github.com/andrewhu-uw/rust_rr_test [INFO] tweaked toml for git repo https://github.com/andrewhu-uw/rust_rr_test written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/andrewhu-uw/rust_rr_test already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 28e718517b04f52ba77a4a9402e52604066c2f1d9272b223f1074b6636507edd [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" "28e718517b04f52ba77a4a9402e52604066c2f1d9272b223f1074b6636507edd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "28e718517b04f52ba77a4a9402e52604066c2f1d9272b223f1074b6636507edd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "28e718517b04f52ba77a4a9402e52604066c2f1d9272b223f1074b6636507edd", kill_on_drop: false }` [INFO] [stdout] 28e718517b04f52ba77a4a9402e52604066c2f1d9272b223f1074b6636507edd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1f342865a71bf52be76784d77e46729afd78a2dd00f067657d756dc26433bb67 [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" "1f342865a71bf52be76784d77e46729afd78a2dd00f067657d756dc26433bb67", kill_on_drop: false }` [INFO] [stderr] Checking ffi-test v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: attribute should be applied to a function or static [INFO] [stdout] --> src/lib.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 7 | / pub struct StringListContainer { [INFO] [stdout] 8 | | mContainer : Vec [INFO] [stdout] 9 | | } [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:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 13 | / pub enum SLCArgs { [INFO] [stdout] 14 | | Add(*const c_char), // borrowed [INFO] [stdout] 15 | | Count, [INFO] [stdout] 16 | | Print, [INFO] [stdout] 17 | | } [INFO] [stdout] | |_- not a function 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: unused variable: `slc` [INFO] [stdout] --> src/lib.rs:69:7 [INFO] [stdout] | [INFO] [stdout] 69 | let slc = &*slc_p; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_slc` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `main` [INFO] [stdout] --> src/lib.rs:74:4 [INFO] [stdout] | [INFO] [stdout] 74 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `mContainer` should have a snake case name [INFO] [stdout] --> src/lib.rs:8:3 [INFO] [stdout] | [INFO] [stdout] 8 | mContainer : Vec [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `m_container` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Add` should have a snake case name [INFO] [stdout] --> src/lib.rs:24:6 [INFO] [stdout] | [INFO] [stdout] 24 | fn Add(&mut self, s : String) -> &mut StringListContainer { [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `add` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Count` should have a snake case name [INFO] [stdout] --> src/lib.rs:29:6 [INFO] [stdout] | [INFO] [stdout] 29 | fn Count(&self) -> usize { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `StringListContainer_do` should have a snake case name [INFO] [stdout] --> src/lib.rs:39:29 [INFO] [stdout] | [INFO] [stdout] 39 | pub unsafe extern "Rust" fn StringListContainer_do(slc_p : *mut StringListContainer, m : SLCArgs) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `string_list_container_do` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: attribute should be applied to a function or static [INFO] [stdout] --> src/lib.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 7 | / pub struct StringListContainer { [INFO] [stdout] 8 | | mContainer : Vec [INFO] [stdout] 9 | | } [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:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 13 | / pub enum SLCArgs { [INFO] [stdout] 14 | | Add(*const c_char), // borrowed [INFO] [stdout] 15 | | Count, [INFO] [stdout] 16 | | Print, [INFO] [stdout] 17 | | } [INFO] [stdout] | |_- not a function 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: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `slc` [INFO] [stdout] --> src/lib.rs:69:7 [INFO] [stdout] | [INFO] [stdout] 69 | let slc = &*slc_p; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_slc` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `mContainer` should have a snake case name [INFO] [stdout] --> src/lib.rs:8:3 [INFO] [stdout] | [INFO] [stdout] 8 | mContainer : Vec [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `m_container` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Add` should have a snake case name [INFO] [stdout] --> src/lib.rs:24:6 [INFO] [stdout] | [INFO] [stdout] 24 | fn Add(&mut self, s : String) -> &mut StringListContainer { [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `add` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Count` should have a snake case name [INFO] [stdout] --> src/lib.rs:29:6 [INFO] [stdout] | [INFO] [stdout] 29 | fn Count(&self) -> usize { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `StringListContainer_do` should have a snake case name [INFO] [stdout] --> src/lib.rs:39:29 [INFO] [stdout] | [INFO] [stdout] 39 | pub unsafe extern "Rust" fn StringListContainer_do(slc_p : *mut StringListContainer, m : SLCArgs) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `string_list_container_do` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.52s [INFO] running `Command { std: "docker" "inspect" "1f342865a71bf52be76784d77e46729afd78a2dd00f067657d756dc26433bb67", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f342865a71bf52be76784d77e46729afd78a2dd00f067657d756dc26433bb67", kill_on_drop: false }` [INFO] [stdout] 1f342865a71bf52be76784d77e46729afd78a2dd00f067657d756dc26433bb67