{"action":"created","issue":{"url":"https://api.github.com/repos/jshmrtn/ex-openssl/issues/4","repository_url":"https://api.github.com/repos/jshmrtn/ex-openssl","labels_url":"https://api.github.com/repos/jshmrtn/ex-openssl/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/jshmrtn/ex-openssl/issues/4/comments","events_url":"https://api.github.com/repos/jshmrtn/ex-openssl/issues/4/events","html_url":"https://github.com/jshmrtn/ex-openssl/issues/4","id":372845743,"node_id":"MDU6SXNzdWUzNzI4NDU3NDM=","number":4,"title":"Compilation error","user":{"login":"murin-matus","id":4816479,"node_id":"MDQ6VXNlcjQ4MTY0Nzk=","avatar_url":"https://avatars3.githubusercontent.com/u/4816479?v=4","gravatar_id":"","url":"https://api.github.com/users/murin-matus","html_url":"https://github.com/murin-matus","followers_url":"https://api.github.com/users/murin-matus/followers","following_url":"https://api.github.com/users/murin-matus/following{/other_user}","gists_url":"https://api.github.com/users/murin-matus/gists{/gist_id}","starred_url":"https://api.github.com/users/murin-matus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/murin-matus/subscriptions","organizations_url":"https://api.github.com/users/murin-matus/orgs","repos_url":"https://api.github.com/users/murin-matus/repos","events_url":"https://api.github.com/users/murin-matus/events{/privacy}","received_events_url":"https://api.github.com/users/murin-matus/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-23T07:25:22Z","updated_at":"2018-10-23T09:16:21Z","closed_at":null,"author_association":"NONE","body":"```\r\n$ mix deps.get\r\ninch_ex is missing its version requirement, use \">= 0.0.0\" if it should match any version\r\nResolving Hex dependencies...\r\nDependency resolution completed:\r\nUnchanged:\r\n  bunt 0.2.0\r\n  credo 0.8.10\r\n  dialyxir 0.5.1\r\n  earmark 1.2.4\r\n  ex_doc 0.18.1\r\n  inch_ex 0.5.6\r\n  poison 3.1.0\r\n  rustler 0.10.1\r\n* Getting rustler (Hex package)\r\n* Getting ex_doc (Hex package)\r\n* Getting inch_ex (Hex package)\r\n* Getting credo (Hex package)\r\n* Getting dialyxir (Hex package)\r\n* Getting bunt (Hex package)\r\n* Getting poison (Hex package)\r\n* Getting earmark (Hex package)\r\n\r\n\r\n$ iex -S mix\r\nErlang/OTP 21 [erts-10.1.1] [source] [64-bit] [smp:2:2] [ds:2:2:10] [async-threads:1] [hipe]\r\n\r\n==> bunt\r\nCompiling 2 files (.ex)\r\nGenerated bunt app\r\n==> dialyxir\r\nCompiling 5 files (.ex)\r\nGenerated dialyxir app\r\n==> earmark\r\nCompiling 3 files (.erl)\r\n/home/robert/.asdf/installs/erlang/19.1/lib/erlang/lib/parsetools-2.1.3/include/yeccpre.hrl:60: Warning: erlang:get_stacktrace/0: deprecated; use the new try/catch syntax for retrieving the stack backtrace\r\nCompiling 24 files (.ex)\r\nwarning: variable \"matches\" is unused\r\n  lib/earmark/scanner.ex:76\r\n\r\nwarning: variable \"matches\" is unused\r\n  lib/earmark/scanner.ex:79\r\n\r\nGenerated earmark app\r\n==> ex_doc\r\nCompiling 15 files (.ex)\r\nwarning: \"not expr1 in expr2\" is deprecated. Instead use \"expr1 not in expr2\" if you require Elixir v1.5+, or \"not(expr1 in expr2)\" if you have to support earlier Elixir versions\r\n  lib/ex_doc/formatter/html.ex:291\r\n\r\nwarning: Kernel.Typespec.beam_callbacks/1 is deprecated. Use Code.Typespec.fetch_callbacks/1 instead\r\n  lib/ex_doc/retriever.ex:494\r\n\r\nwarning: Kernel.Typespec.beam_specs/1 is deprecated. Use Code.Typespec.fetch_specs/1 instead\r\n  lib/ex_doc/retriever.ex:481\r\n\r\nwarning: Kernel.Typespec.spec_to_ast/2 is deprecated. Use Code.Typespec.spec_to_quoted/2 instead\r\nFound at 2 locations:\r\n  lib/ex_doc/retriever.ex:246\r\n  lib/ex_doc/retriever.ex:330\r\n\r\nwarning: Kernel.Typespec.type_to_ast/1 is deprecated. Use Code.Typespec.type_to_quoted/1 instead\r\n  lib/ex_doc/retriever.ex:522\r\n\r\nGenerated ex_doc app\r\n==> credo\r\nCompiling 161 files (.ex)\r\nwarning: this clause cannot match because a previous clause at line 165 always matches\r\n  lib/credo/cli/output/summary.ex:165\r\n\r\nwarning: module attribute @lint was set but never used\r\n  lib/credo/check/find_lint_attributes.ex:23\r\n\r\nGenerated credo app\r\n==> rustler\r\nCompiling 2 files (.erl)\r\n/usr/lib/erlang/lib/parsetools-2.1.2/include/yeccpre.hrl:60: Warning: erlang:get_stacktrace/0: deprecated; use the new try/catch syntax for retrieving the stack backtrace\r\nCompiling 6 files (.ex)\r\nwarning: Kernel.to_char_list/1 is deprecated. Use Kernel.to_charlist/1 instead\r\n  lib/rustler/toml_parser.ex:7\r\n\r\nwarning: Kernel.to_char_list/1 is deprecated. Use Kernel.to_charlist/1 instead\r\n  lib/rustler/toml_parser.ex:7\r\n\r\nGenerated rustler app\r\n==> ex_openssl\r\nCompiling NIF crate :exopenssl (native/exopenssl)...\r\n   Compiling erlang_nif-sys v0.6.3\r\n   Compiling openssl-sys v0.9.21 (https://github.com/jshmrtn/rust-openssl.git?branch=feature/pkcs7#fbc5d4a3)\r\nerror: failed to run custom build command for `openssl-sys v0.9.21 (https://github.com/jshmrtn/rust-openssl.git?branch=feature/pkcs7#fbc5d4a3)`\r\nprocess didn't exit successfully: `/development/ex-openssl/_build/dev/rustler_crates/exopenssl/debug/build/openssl-sys-4d163c72b1222885/build-script-build` (exit code: 101)\r\n--- stdout\r\ncargo:rerun-if-env-changed=X86_64_UNKNOWN_LINUX_GNU_OPENSSL_LIB_DIR\r\ncargo:rerun-if-env-changed=OPENSSL_LIB_DIR\r\ncargo:rerun-if-env-changed=X86_64_UNKNOWN_LINUX_GNU_OPENSSL_INCLUDE_DIR\r\ncargo:rerun-if-env-changed=OPENSSL_INCLUDE_DIR\r\ncargo:rerun-if-env-changed=X86_64_UNKNOWN_LINUX_GNU_OPENSSL_DIR\r\ncargo:rerun-if-env-changed=OPENSSL_DIR\r\ncargo:rustc-link-lib=ssl\r\ncargo:rustc-link-lib=crypto\r\nOPT_LEVEL = Some(\"0\")\r\nTARGET = Some(\"x86_64-unknown-linux-gnu\")\r\nHOST = Some(\"x86_64-unknown-linux-gnu\")\r\nTARGET = Some(\"x86_64-unknown-linux-gnu\")\r\nTARGET = Some(\"x86_64-unknown-linux-gnu\")\r\nHOST = Some(\"x86_64-unknown-linux-gnu\")\r\nCC_x86_64-unknown-linux-gnu = None\r\nCC_x86_64_unknown_linux_gnu = None\r\nHOST_CC = None\r\nCC = None\r\nHOST = Some(\"x86_64-unknown-linux-gnu\")\r\nTARGET = Some(\"x86_64-unknown-linux-gnu\")\r\nHOST = Some(\"x86_64-unknown-linux-gnu\")\r\nCFLAGS_x86_64-unknown-linux-gnu = None\r\nCFLAGS_x86_64_unknown_linux_gnu = None\r\nHOST_CFLAGS = None\r\nCFLAGS = None\r\nDEBUG = Some(\"true\")\r\nrunning: \"cc\" \"-O0\" \"-ffunction-sections\" \"-fdata-sections\" \"-fPIC\" \"-g\" \"-m64\" \"-Wall\" \"-Wextra\" \"-E\" \"/development/ex-openssl/_build/dev/rustler_crates/exopenssl/debug/build/openssl-sys-3d93cc51e712d750/out/expando.c\"\r\nexit code: 0\r\ncargo:rustc-cfg=osslconf=\"OPENSSL_NO_SSL3_METHOD\"\r\ncargo:conf=OPENSSL_NO_SSL3_METHOD\r\n\r\n--- stderr\r\nthread 'main' panicked at '\r\n\r\nThis crate is only compatible with OpenSSL 1.0.1, 1.0.2, and 1.1.0, or LibreSSL\r\n2.5 and 2.6.0, but a different version of OpenSSL was found. The build is now\r\naborting due to this version mismatch.\r\n\r\n', /development/.cargo/git/checkouts/rust-openssl-9240620e21fb14b2/fbc5d4a/openssl-sys/build.rs:486:9\r\nnote: Run with `RUST_BACKTRACE=1` for a backtrace.\r\n\r\nwarning: build failed, waiting for other jobs to finish...\r\nerror: failed to run custom build command for `erlang_nif-sys v0.6.3`\r\nprocess didn't exit successfully: `/development/ex-openssl/_build/dev/rustler_crates/exopenssl/debug/build/erlang_nif-sys-9bda4bd08603e1fd/build-script-build` (exit code: 101)\r\n--- stdout\r\nUnsupported Erlang version.\r\n\r\nIs the erlang_nif-sys version up to date in the Cargo.toml?\r\nDoes 'cargo update' fix it?\r\nIf not please report at https://github.com/goertzenator/erlang_nif-sys.\r\n\r\n--- stderr\r\nthread 'main' panicked at 'gen_api.erl encountered an error.', /development/.cargo/registry/src/github.com-1ecc6299db9ec823/erlang_nif-sys-0.6.3/build.rs:28:13\r\nnote: Run with `RUST_BACKTRACE=1` for a backtrace.\r\n\r\n** (RuntimeError) Rust NIF compile error (rustc exit code 101)\r\n    lib/mix/tasks/compile.rustler.ex:62: Mix.Tasks.Compile.Rustler.compile_crate/1\r\n    (elixir) lib/enum.ex:1314: Enum.\"-map/2-lists^map/1-0-\"/2\r\n    lib/mix/tasks/compile.rustler.ex:15: Mix.Tasks.Compile.Rustler.run/1\r\n    (mix) lib/mix/task.ex:316: Mix.Task.run_task/3\r\n    (mix) lib/mix/tasks/compile.all.ex:68: Mix.Tasks.Compile.All.run_compiler/2\r\n    (mix) lib/mix/tasks/compile.all.ex:52: Mix.Tasks.Compile.All.do_compile/4\r\n    (mix) lib/mix/tasks/compile.all.ex:23: anonymous fn/1 in Mix.Tasks.Compile.All.run/1\r\n    (mix) lib/mix/tasks/compile.all.ex:39: Mix.Tasks.Compile.All.with_logger_app/1\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/jshmrtn/ex-openssl/issues/comments/432166252","html_url":"https://github.com/jshmrtn/ex-openssl/issues/4#issuecomment-432166252","issue_url":"https://api.github.com/repos/jshmrtn/ex-openssl/issues/4","id":432166252,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMjE2NjI1Mg==","user":{"login":"maennchen","id":333918,"node_id":"MDQ6VXNlcjMzMzkxOA==","avatar_url":"https://avatars1.githubusercontent.com/u/333918?v=4","gravatar_id":"","url":"https://api.github.com/users/maennchen","html_url":"https://github.com/maennchen","followers_url":"https://api.github.com/users/maennchen/followers","following_url":"https://api.github.com/users/maennchen/following{/other_user}","gists_url":"https://api.github.com/users/maennchen/gists{/gist_id}","starred_url":"https://api.github.com/users/maennchen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maennchen/subscriptions","organizations_url":"https://api.github.com/users/maennchen/orgs","repos_url":"https://api.github.com/users/maennchen/repos","events_url":"https://api.github.com/users/maennchen/events{/privacy}","received_events_url":"https://api.github.com/users/maennchen/received_events","type":"User","site_admin":false},"created_at":"2018-10-23T09:16:21Z","updated_at":"2018-10-23T09:16:21Z","author_association":"MEMBER","body":"> This crate is only compatible with OpenSSL 1.0.1, 1.0.2, and 1.1.0, or LibreSSL\r\n2.5 and 2.6.0, but a different version of OpenSSL was found. The build is now\r\naborting due to this version mismatch."}}
{"actor":{"display_login":"maennchen"}}