GithubHelp home page GithubHelp logo

Comments (11)

softprops avatar softprops commented on May 23, 2024 3

Wanted to followup. I had better luck with trust on travis with the new latest version of hyper (0.10) which removes it's dependency on openssl and combined with the hyper-native-talk crate. Leaving a comment here in case others run into the same issues.

from trust.

japaric avatar japaric commented on May 23, 2024

v0.1.4: Pulling from japaric/x86_64-unknown-linux-musl
openssl v0.7.14

Use cross v0.1.6. v0.1.4 only supports openssl 0.8 and newer.

from trust.

softprops avatar softprops commented on May 23, 2024

I updated the --tag param in my ci/install.sh to v0.1.6 script but I still get the same error https://travis-ci.org/softprops/bin-test/jobs/192446534. Is there any other debug info I could try and grab?

from trust.

japaric avatar japaric commented on May 23, 2024

Is there any other debug info I could try and grab?

Pass -v to cross then it will all the shell commands it calls, in particular the Docker command.

You could also test locally, i.e. run cross build locally.

I'm not sure what's wrong with your build because I can build hyper with cross v0.1.6 just fine :-(.

from trust.

softprops avatar softprops commented on May 23, 2024

I'll try that. It's hyper im targeting as well. I've had some issues with it an openssl in the past with containers but trust looks pretty promising so I wanted to try a few tests with the simplest setup I could make

from trust.

softprops avatar softprops commented on May 23, 2024

Here's a build with more verbose output https://travis-ci.org/softprops/bin-test/jobs/192480484
I'll try repeating locally on my mac

from trust.

softprops avatar softprops commented on May 23, 2024

Here's some more local diagnostics ( from my mac )

rustc --version
rustc 1.14.0 (e8a012324 2016-12-16)
cross --version
cross 0.1.6
cargo 0.15.0-nightly (298a012 2016-12-20)
docker version
Client:
 Version:      1.13.0-rc5
 API version:  1.25
 Go version:   go1.7.3
 Git commit:   43cc971
 Built:        Thu Jan  5 03:07:30 2017
 OS/Arch:      darwin/amd64

Server:
 Version:      1.13.0-rc4
 API version:  1.25 (minimum version 1.12)
 Go version:   go1.7.3
 Git commit:   88862e7
 Built:        Sat Dec 17 01:34:17 2016
 OS/Arch:      linux/amd64
 Experimental: false

The build seems to fail even faster locally, this time with a different error. I'm not sure if this is because I can't build linux targets locally.

cross build -v --target x86_64-unknown-linux-musl
+ "cargo" "build" "-v" "--target" "x86_64-unknown-linux-musl"
   Compiling log v0.3.6
   Compiling matches v0.1.4
   Compiling unicode-normalization v0.1.3
   Compiling traitobject v0.0.1
     Running `rustc /Users/dougtangren/.cargo/registry/src/github.com-1ecc6299db9ec823/log-0.3.6/src/lib.rs --crate-name log --crate-type lib -g --cfg feature=\"default\" --cfg feature=\"use_std\" -C metadata=bf16bb9a4912b11d -C extra-filename=-bf16bb9a4912b11d --out-dir /Users/dougtangren/code/rust/bin-test/target/x86_64-unknown-linux-musl/debug/deps --emit=dep-info,link --target x86_64-unknown-linux-musl -L dependency=/Users/dougtangren/code/rust/bin-test/target/x86_64-unknown-linux-musl/debug/deps --cap-lints allow`
     Running `rustc /Users/dougtangren/.cargo/registry/src/github.com-1ecc6299db9ec823/matches-0.1.4/lib.rs --crate-name matches --crate-type lib -g -C metadata=3614821dd5ceb75c -C extra-filename=-3614821dd5ceb75c --out-dir /Users/dougtangren/code/rust/bin-test/target/x86_64-unknown-linux-musl/debug/deps --emit=dep-info,link --target x86_64-unknown-linux-musl -L dependency=/Users/dougtangren/code/rust/bin-test/target/x86_64-unknown-linux-musl/debug/deps --cap-lints allow`
     Running `rustc /Users/dougtangren/.cargo/registry/src/github.com-1ecc6299db9ec823/unicode-normalization-0.1.3/src/lib.rs --crate-name unicode_normalization --crate-type lib -g -C metadata=77ce7c413abacd3f -C extra-filename=-77ce7c413abacd3f --out-dir /Users/dougtangren/code/rust/bin-test/target/x86_64-unknown-linux-musl/debug/deps --emit=dep-info,link --target x86_64-unknown-linux-musl -L dependency=/Users/dougtangren/code/rust/bin-test/target/x86_64-unknown-linux-musl/debug/deps --cap-lints allow`
     Running `rustc /Users/dougtangren/.cargo/registry/src/github.com-1ecc6299db9ec823/traitobject-0.0.1/src/lib.rs --crate-name traitobject --crate-type lib -g -C metadata=516160771d9db60e -C extra-filename=-516160771d9db60e --out-dir /Users/dougtangren/code/rust/bin-test/target/x86_64-unknown-linux-musl/debug/deps --emit=dep-info,link --target x86_64-unknown-linux-musl -L dependency=/Users/dougtangren/code/rust/bin-test/target/x86_64-unknown-linux-musl/debug/deps --cap-lints allow`
error[E0463]: can't find crate for `std`

error: aborting due to previous error

error[E0463]: can't find crate for `std`

error: aborting due to previous error

Build failed, waiting for other jobs to finish...
Build failed, waiting for other jobs to finish...
error[E0463]: can't find crate for `std`

error: aborting due to previous error

Build failed, waiting for other jobs to finish...
error[E0463]: can't find crate for `std`

error: aborting due to previous error

error: Could not compile `traitobject`.

Caused by:
  process didn't exit successfully: `rustc /Users/dougtangren/.cargo/registry/src/github.com-1ecc6299db9ec823/traitobject-0.0.1/src/lib.rs --crate-name traitobject --crate-type lib -g -C metadata=516160771d9db60e -C extra-filename=-516160771d9db60e --out-dir /Users/dougtangren/code/rust/bin-test/target/x86_64-unknown-linux-musl/debug/deps --emit=dep-info,link --target x86_64-unknown-linux-musl -L dependency=/Users/dougtangren/code/rust/bin-test/target/x86_64-unknown-linux-musl/debug/deps --cap-lints allow` (exit code: 101)```

from trust.

japaric avatar japaric commented on May 23, 2024

Here's some more local diagnostics ( from my mac )

Ah, sorry. cross doesn't support macs as the host :-(.

from trust.

softprops avatar softprops commented on May 23, 2024

Can you link me to one of those working repos with hyper in travis ci? Maybe I can try locking down my version numbers. I'm testing with the latest of the 0.9 series https://github.com/softprops/bin-test/blob/master/Cargo.toml

from trust.

japaric avatar japaric commented on May 23, 2024

Can you link me to one of those working repos with hyper in travis ci?

I actually tested it locally and with your repo. Both on stable and on nightly.

from trust.

softprops avatar softprops commented on May 23, 2024

Ok. I'll read up on travis config docs

from trust.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.