[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] testing riya81/rails_api_on_many_language against 1.90.0 for beta-1.91-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Friya81%2Frails_api_on_many_language" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 84% (959/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: 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] 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-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/riya81/rails_api_on_many_language on toolchain 1.90.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+1.90.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cexpr v0.5.0 [INFO] [stderr] Downloaded clang-sys v1.2.1 [INFO] [stderr] Downloaded regex v1.4.6 [INFO] [stderr] Downloaded bindgen v0.59.1 [INFO] [stderr] Downloaded nom v6.2.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2559832b9ab3a716b35194a3ec2285a0dc0bed6b6d45464b64d5dd1701c75b32 [INFO] running `Command { std: "docker" "start" "-a" "2559832b9ab3a716b35194a3ec2285a0dc0bed6b6d45464b64d5dd1701c75b32", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2559832b9ab3a716b35194a3ec2285a0dc0bed6b6d45464b64d5dd1701c75b32", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2559832b9ab3a716b35194a3ec2285a0dc0bed6b6d45464b64d5dd1701c75b32", kill_on_drop: false }` [INFO] [stdout] 2559832b9ab3a716b35194a3ec2285a0dc0bed6b6d45464b64d5dd1701c75b32 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d97c653e903985dea470001b19294a08b3386adda882e51fc3c9c412ea60ec84 [INFO] running `Command { std: "docker" "start" "-a" "d97c653e903985dea470001b19294a08b3386adda882e51fc3c9c412ea60ec84", 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 version_check v0.9.3 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling wyz v0.2.0 [INFO] [stderr] Compiling funty v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling bindgen v0.59.1 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling libloading v0.7.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling nom v6.2.1 [INFO] [stderr] Compiling clang-sys v1.2.1 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling bitvec v0.19.5 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling jobserver v0.1.24 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Compiling clap v2.33.3 [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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 22.92s [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 2` [INFO] running `Command { std: "docker" "inspect" "d97c653e903985dea470001b19294a08b3386adda882e51fc3c9c412ea60ec84", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d97c653e903985dea470001b19294a08b3386adda882e51fc3c9c412ea60ec84", kill_on_drop: false }` [INFO] [stdout] d97c653e903985dea470001b19294a08b3386adda882e51fc3c9c412ea60ec84 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c5ffc070efc5337d2301d0ed3f804522c8660fe334d86f1e57600ba274103dac [INFO] running `Command { std: "docker" "start" "-a" "c5ffc070efc5337d2301d0ed3f804522c8660fe334d86f1e57600ba274103dac", kill_on_drop: false }` [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] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustccPaK6s/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "-lc_lib" "-Wl,-Bdynamic" "-lstdc++" "-Wl,-Bstatic" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libtest-*,libgetopts-*,libunicode_width-*,librustc_std_workspace_std-*}.rlib" "/opt/rustwide/target/debug/deps/liblibc-a65fd749987bf3b9.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,libcfg_if-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustccPaK6s/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/opt/rustwide/target/debug/build/all_programming_package-487df193698967cd/out" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/rust_api-7d42255e46cfbc99" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: error: undefined symbol: c_gcd(int, int) [INFO] [stdout] >>> referenced by lib.rs:29 (modules/lib.rs:29) [INFO] [stdout] >>> /opt/rustwide/target/debug/deps/rust_api-7d42255e46cfbc99.rust_api.eb2a11a73db6e1a2-cgu.0.rcgu.o:(gcd) [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: c_random(int, int) [INFO] [stdout] >>> referenced by lib.rs:107 (modules/lib.rs:107) [INFO] [stdout] >>> /opt/rustwide/target/debug/deps/rust_api-7d42255e46cfbc99.rust_api.eb2a11a73db6e1a2-cgu.0.rcgu.o:(random) [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `all_programming_package` (lib test) due to 1 previous error; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "c5ffc070efc5337d2301d0ed3f804522c8660fe334d86f1e57600ba274103dac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5ffc070efc5337d2301d0ed3f804522c8660fe334d86f1e57600ba274103dac", kill_on_drop: false }` [INFO] [stdout] c5ffc070efc5337d2301d0ed3f804522c8660fe334d86f1e57600ba274103dac