iron / urlencoded

Urlencoded middleware for Iron
MIT License
22 stars 28 forks source link

Does not compile with rust 1.0.0.beta.3-1 #51

Open ghost opened 9 years ago

ghost commented 9 years ago
$ yaourt -Q rust
community/rust 1.0.0.beta.3-1
$ rustc -V
rustc 1.0.0-dev (built 2015-04-27)
$ cargo build -v
// Successfully building crates omitted
Compiling urlencoded v0.1.2
  Running `rustc /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/urlencoded-0.1.2/src/lib.rs --crate-name urlencoded --crate-type lib -g -C metadata=b3278cbc290c9cc3 -C extra-filename=-b3278cbc290c9cc3 --out-dir /home/user/iron-test/target/debug/deps --emit=dep-info,link -L dependency=/home/user/iron-test/target/debug/deps -L dependency=/home/user/iron-test/target/debug/deps --extern bodyparser=/home/user/iron-test/target/debug/deps/libbodyparser-4991a63dba72bef8.rlib --extern url=/home/user/iron-test/target/debug/deps/liburl-a3c0dd52dec2bb81.rlib --extern plugin=/home/user/iron-test/target/debug/deps/libplugin-3a7a2e6890e6fef2.rlib --extern iron=/home/user/iron-test/target/debug/deps/libiron-74d92b575c467e01.rlib -Awarnings -L native=/usr/lib -L native=/home/user/iron-test/target/debug/build/openssl-sys-14c8a200fdbccff0/out -L native=/home/user/iron-test/target/debug/build/time-e758cbe877e9589d/out`
/home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/urlencoded-0.1.2/src/lib.rs:43:15: 43:36 error: the trait `core::clone::Clone` is not implemented for the type `bodyparser::errors::BodyError` [E0277]
/home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/urlencoded-0.1.2/src/lib.rs:43     BodyError(bodyparser::BodyError),
                                                                                                         ^~~~~~~~~~~~~~~~~~~~~
/home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/urlencoded-0.1.2/src/lib.rs:40:10: 40:15 note: in expansion of #[derive_Clone]
/home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/urlencoded-0.1.2/src/lib.rs:40:10: 40:15 note: expansion site
error: aborting due to previous error
Could not compile `urlencoded`.
Caused by:
  Process didn't exit successfully: `rustc /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/urlencoded-0.1.2/src/lib.rs --crate-name urlencoded --crate-type lib -g -C metadata=b3278cbc290c9cc3 -C extra-filename=-b3278cbc290c9cc3 --out-dir /home/user/iron-test/target/debug/deps --emit=dep-info,link -L dependency=/home/user/iron-test/target/debug/deps -L dependency=/home/user/iron-test/target/debug/deps --extern bodyparser=/home/user/iron-test/target/debug/deps/libbodyparser-4991a63dba72bef8.rlib --extern url=/home/user/iron-test/target/debug/deps/liburl-a3c0dd52dec2bb81.rlib --extern plugin=/home/user/iron-test/target/debug/deps/libplugin-3a7a2e6890e6fef2.rlib --extern iron=/home/user/iron-test/target/debug/deps/libiron-74d92b575c467e01.rlib -Awarnings -L native=/usr/lib -L native=/home/user/iron-test/target/debug/build/openssl-sys-14c8a200fdbccff0/out -L native=/home/user/iron-test/target/debug/build/time-e758cbe877e9589d/out` (exit code: 101)
jgelens commented 9 years ago

Fixed by a pull request (not merged yet): #52

dashed commented 9 years ago

:+1: please publish new changes to crates