[INFO] cloning repository https://github.com/riya81/rails_api_on_many_language [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/riya81/rails_api_on_many_language" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Friya81%2Frails_api_on_many_language", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Friya81%2Frails_api_on_many_language'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 83190afc505af3413cce452eaece40b5c0b16bb9 [INFO] checking riya81/rails_api_on_many_language against master#c43786c9b7b8d8dcc3f9c604e0e3074c16ed69d3 for pr-141352 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Friya81%2Frails_api_on_many_language" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 49% (564/1132) Updating files: 50% (566/1132) Updating files: 51% (578/1132) Updating files: 52% (589/1132) Updating files: 53% (600/1132) Updating files: 54% (612/1132) Updating files: 55% (623/1132) Updating files: 56% (634/1132) Updating files: 57% (646/1132) Updating files: 58% (657/1132) Updating files: 59% (668/1132) Updating files: 60% (680/1132) Updating files: 61% (691/1132) Updating files: 62% (702/1132) Updating files: 63% (714/1132) Updating files: 64% (725/1132) Updating files: 65% (736/1132) Updating files: 66% (748/1132) Updating files: 67% (759/1132) Updating files: 68% (770/1132) Updating files: 69% (782/1132) Updating files: 70% (793/1132) Updating files: 71% (804/1132) Updating files: 72% (816/1132) Updating files: 73% (827/1132) Updating files: 74% (838/1132) Updating files: 75% (849/1132) Updating files: 76% (861/1132) Updating files: 77% (872/1132) Updating files: 78% (883/1132) Updating files: 79% (895/1132) Updating files: 80% (906/1132) Updating files: 81% (917/1132) Updating files: 82% (929/1132) Updating files: 83% (940/1132) Updating files: 84% (951/1132) Updating files: 85% (963/1132) Updating files: 86% (974/1132) Updating files: 87% (985/1132) Updating files: 88% (997/1132) Updating files: 89% (1008/1132) Updating files: 89% (1014/1132) Updating files: 90% (1019/1132) Updating files: 91% (1031/1132) Updating files: 92% (1042/1132) Updating files: 93% (1053/1132) Updating files: 94% (1065/1132) Updating files: 95% (1076/1132) Updating files: 96% (1087/1132) Updating files: 97% (1099/1132) Updating files: 98% (1110/1132) Updating files: 99% (1121/1132) Updating files: 100% (1132/1132) Updating files: 100% (1132/1132), done. [INFO] validating manifest of git repo https://github.com/riya81/rails_api_on_many_language on toolchain c43786c9b7b8d8dcc3f9c604e0e3074c16ed69d3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c43786c9b7b8d8dcc3f9c604e0e3074c16ed69d3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/riya81/rails_api_on_many_language [INFO] finished tweaking git repo https://github.com/riya81/rails_api_on_many_language [INFO] tweaked toml for git repo https://github.com/riya81/rails_api_on_many_language written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/riya81/rails_api_on_many_language 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" "+c43786c9b7b8d8dcc3f9c604e0e3074c16ed69d3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded clang-sys v1.2.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+c43786c9b7b8d8dcc3f9c604e0e3074c16ed69d3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6ac6c1058978de93377cae72049b9a82b0c23c6cac9c8c165733a947e24fb72e [INFO] running `Command { std: "docker" "start" "-a" "6ac6c1058978de93377cae72049b9a82b0c23c6cac9c8c165733a947e24fb72e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6ac6c1058978de93377cae72049b9a82b0c23c6cac9c8c165733a947e24fb72e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ac6c1058978de93377cae72049b9a82b0c23c6cac9c8c165733a947e24fb72e", kill_on_drop: false }` [INFO] [stdout] 6ac6c1058978de93377cae72049b9a82b0c23c6cac9c8c165733a947e24fb72e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+c43786c9b7b8d8dcc3f9c604e0e3074c16ed69d3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6ea51ca052b56bdac48e81e234f9c48293e28e966a50c92dc4bc2b32c90fb3d2 [INFO] running `Command { std: "docker" "start" "-a" "6ea51ca052b56bdac48e81e234f9c48293e28e966a50c92dc4bc2b32c90fb3d2", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.101 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling radium v0.5.3 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling funty v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling wyz v0.2.0 [INFO] [stderr] Compiling clang-sys v1.2.1 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling nom v6.2.1 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling bitvec v0.19.5 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling libloading v0.7.0 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling bindgen v0.59.1 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling jobserver v0.1.24 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling shlex v1.1.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling cc v1.0.70 [INFO] [stderr] Compiling regex v1.4.6 [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stderr] Compiling cexpr v0.5.0 [INFO] [stderr] Compiling all_programming_package v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: a dangling pointer will be produced because the temporary `CString` will be dropped [INFO] [stdout] --> modules/lib.rs:91:23 [INFO] [stdout] | [INFO] [stdout] 91 | return os::name().as_ptr(); [INFO] [stdout] | ---------- ^^^^^^ this pointer will immediately be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: you must make sure that the variable you bind the `CString` to lives at least as long as the pointer returned by the call to `as_ptr` [INFO] [stdout] = help: in particular, if this pointer is returned from the current function, binding the `CString` inside the function will not suffice [INFO] [stdout] = help: for more information, see [INFO] [stdout] = note: `#[warn(dangling_pointers_from_temporaries)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a dangling pointer will be produced because the temporary `CString` will be dropped [INFO] [stdout] --> modules/lib.rs:91:23 [INFO] [stdout] | [INFO] [stdout] 91 | return os::name().as_ptr(); [INFO] [stdout] | ---------- ^^^^^^ this pointer will immediately be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: you must make sure that the variable you bind the `CString` to lives at least as long as the pointer returned by the call to `as_ptr` [INFO] [stdout] = help: in particular, if this pointer is returned from the current function, binding the `CString` inside the function will not suffice [INFO] [stdout] = help: for more information, see [INFO] [stdout] = note: `#[warn(dangling_pointers_from_temporaries)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 30.89s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v6.2.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "6ea51ca052b56bdac48e81e234f9c48293e28e966a50c92dc4bc2b32c90fb3d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ea51ca052b56bdac48e81e234f9c48293e28e966a50c92dc4bc2b32c90fb3d2", kill_on_drop: false }` [INFO] [stdout] 6ea51ca052b56bdac48e81e234f9c48293e28e966a50c92dc4bc2b32c90fb3d2