Package: cargo Version: 0.8.0-2 Severity: serious This package fails to build in unstable:
> sbuild (Debian sbuild) 0.68.0 (15 Jan 2016) on dl580gen9-02.hlinux ... > /libgit2-0_3_3.rlib --extern toml=/<<PKGBUILDDIR>>/deps/libtoml-0_1_25.rlib > --extern curl=/<<PKGBUILDDIR>>/deps/libcurl-0_2_14.rlib --extern > log=/<<PKGBUILDDIR>>/deps/liblog-0_3_4.rlib --extern > num_cpus=/<<PKGBUILDDIR>>/deps/libnum_cpus-0_2_10.rlib --extern > url=/<<PKGBUILDDIR>>/deps/liburl-0_2_38.rlib --extern > crates_io=/<<PKGBUILDDIR>>/deps/libcrates_io-0_1_0.rlib --extern > docopt=/<<PKGBUILDDIR>>/deps/libdocopt-0_6_78.rlib --extern > libgit2_sys=/<<PKGBUILDDIR>>/deps/liblibgit2_sys-0_3_8.rlib --extern > rustc_serialize=/<<PKGBUILDDIR>>/deps/librustc_serialize-0_3_16.rlib --extern > time=/<<PKGBUILDDIR>>/deps/libtime-0_1_34.rlib --extern > crossbeam=/<<PKGBUILDDIR>>/deps/libcrossbeam-0_1_6.rlib --extern > tar=/<<PKGBUILDDIR>>/deps/libtar-0_3_2.rlib --extern > semver=/<<PKGBUILDDIR>>/deps/libsemver-0_2_0.rlib --extern > flate2=/<<PKGBUILDDIR>>/deps/libflate2-0_2_11.rlib --extern > filetime=/<<PKGBUILDDIR>>/deps/libfiletime-0_1_8.rlib --extern > glob=/<<PKGBUILDDIR>>/deps/libglob-0_2_10.rlib --extern > regex=/<<PKGBUILDDIR>>/deps/libregex-0_1_44.rlib --extern > term=/<<PKGBUILDDIR>>/deps/libterm-0_2_14.rlib --extern > git2_curl=/<<PKGBUILDDIR>>/deps/libgit2_curl-0_3_0.rlib > cargo: /<<PKGBUILDDIR>>/src/bin/cargo.rs:64:15: 64:20 error: Cannot declare a > non-inline module inside a block unless it has a path attribute > cargo: /<<PKGBUILDDIR>>/src/bin/cargo.rs:64 $mac!(bench); > cargo: ^~~~~ > cargo: /<<PKGBUILDDIR>>/src/bin/cargo.rs:64:15: 64:20 note: Maybe `use` the > module `bench` instead of redeclaring it > cargo: /<<PKGBUILDDIR>>/src/bin/cargo.rs:64 $mac!(bench); > cargo: ^~~~~ > cargo: /<<PKGBUILDDIR>>/src/bin/cargo.rs:65:15: 65:20 error: Cannot declare a > non-inline module inside a block unless it has a path attribute > cargo: /<<PKGBUILDDIR>>/src/bin/cargo.rs:65 $mac!(build); > cargo: ^~~~~ > cargo: /<<PKGBUILDDIR>>/src/bin/cargo.rs:65:15: 65:20 note: Maybe `use` the > module `build` instead of redeclaring it > cargo: /<<PKGBUILDDIR>>/src/bin/cargo.rs:65 $mac!(build); > cargo: ^~~~~ > cargo: /<<PKGBUILDDIR>>/src/bin/cargo.rs:66:15: 66:20 error: Cannot declare a > non-inline module inside a block unless it has a path attribute > cargo: /<<PKGBUILDDIR>>/src/bin/cargo.rs:66 $mac!(clean); > cargo: ^~~~~ > cargo: /<<PKGBUILDDIR>>/src/bin/cargo.rs:66:15: 66:20 note: Maybe `use` the > module `clean` instead of redeclaring it > cargo: /<<PKGBUILDDIR>>/src/bin/cargo.rs:66 $mac!(clean); > cargo: ^~~~~ > cargo: /<<PKGBUILDDIR>>/src/bin/cargo.rs:67:15: 67:18 error: Cannot declare a > non-inline module inside a block unless it has a path attribute > cargo: /<<PKGBUILDDIR>>/src/bin/cargo.rs:67 $mac!(doc); > cargo: ^~~ > cargo: /<<PKGBUILDDIR>>/src/bin/cargo.rs:67:15: 67:18 note: Maybe `use` the > module `doc` instead of redeclaring it > cargo: /<<PKGBUILDDIR>>/src/bin/cargo.rs:67 $mac!(doc); > cargo: ^~~ > cargo: /<<PKGBUILDDIR>>/src/bin/cargo.rs:68:15: 68:20 error: Cannot declare a > non-inline module inside a block unless it has a path attribute > cargo: /<<PKGBUILDDIR>>/src/bin/cargo.rs:68 $mac!(fetch); > cargo: ^~~~~ > cargo: /<<PKGBUILDDIR>>/src/bin/cargo.rs:68:15: 68:20 note: Maybe `use` the > module `fetch` instead of redeclaring it > cargo: /<<PKGBUILDDIR>>/src/bin/cargo.rs:68 $mac!(fetch); > cargo: ^~~~~ > cargo: /<<PKGBUILDDIR>>/src/bin/cargo.rs:69:15: 69:32 error: Cannot declare a > non-inline module inside a block unless it has a path attribute > cargo: /<<PKGBUILDDIR>>/src/bin/cargo.rs:69 $mac!(generate_lockfile); > cargo: > ^~~~~~~~~~~~~~~~~ > cargo: /<<PKGBUILDDIR>>/src/bin/cargo.rs:69:15: 69:32 note: Maybe `use` the > module `generate_lockfile` instead of redeclaring it > cargo: /<<PKGBUILDDIR>>/src/bin/cargo.rs:69 $mac!(generate_lockfile); > cargo: > ^~~~~~~~~~~~~~~~~ > cargo: /<<PKGBUILDDIR>>/src/bin/cargo.rs:70:15: 70:27 error: Cannot declare a > non-inline module inside a block unless it has a path attribute > cargo: /<<PKGBUILDDIR>>/src/bin/cargo.rs:70 $mac!(git_checkout); > cargo: > ^~~~~~~~~~~~ > cargo: /<<PKGBUILDDIR>>/src/bin/cargo.rs:70:15: 70:27 note: Maybe `use` the > module `git_checkout` instead of redeclaring it > cargo: /<<PKGBUILDDIR>>/src/bin/cargo.rs:70 $mac!(git_checkout); > cargo: > ^~~~~~~~~~~~ > cargo: /<<PKGBUILDDIR>>/src/bin/cargo.rs:71:15: 71:19 error: Cannot declare a > non-inline module inside a block unless it has a path attribute > cargo: /<<PKGBUILDDIR>>/src/bin/cargo.rs:71 $mac!(help); > cargo: ^~~~ > cargo: /<<PKGBUILDDIR>>/src/bin/cargo.rs:71:15: 71:19 note: Maybe `use` the > module `help` instead of redeclaring it > cargo: /<<PKGBUILDDIR>>/src/bin/cargo.rs:71 $mac!(help); > cargo: ^~~~ > cargo: /<<PKGBUILDDIR>>/src/bin/cargo.rs:72:15: 72:22 error: Cannot declare a > non-inline module inside a block unless it has a path attribute > cargo: /<<PKGBUILDDIR>>/src/bin/cargo.rs:72 $mac!(install); > cargo: > ^~~~~~~ > cargo: /<<PKGBUILDDIR>>/src/bin/cargo.rs:72:15: 72:22 note: Maybe `use` the > module `install` instead of redeclaring it > cargo: /<<PKGBUILDDIR>>/src/bin/cargo.rs:72 $mac!(install); > cargo: > ^~~~~~~ > cargo: /<<PKGBUILDDIR>>/src/bin/cargo.rs:73:15: 73:29 error: Cannot declare a > non-inline module inside a block unless it has a path attribute > cargo: /<<PKGBUILDDIR>>/src/bin/cargo.rs:73 $mac!(locate_project); > cargo: > ^~~~~~~~~~~~~~ > cargo: /<<PKGBUILDDIR>>/src/bin/cargo.rs:73:15: 73:29 note: Maybe `use` the > module `locate_project` instead of redeclaring it > cargo: /<<PKGBUILDDIR>>/src/bin/cargo.rs:73 $mac!(locate_project); > cargo: > ^~~~~~~~~~~~~~ > cargo: /<<PKGBUILDDIR>>/src/bin/cargo.rs:74:15: 74:20 error: Cannot declare a > non-inline module inside a block unless it has a path attribute > cargo: /<<PKGBUILDDIR>>/src/bin/cargo.rs:74 $mac!(login); > cargo: ^~~~~ > cargo: /<<PKGBUILDDIR>>/src/bin/cargo.rs:74:15: 74:20 note: Maybe `use` the > module `login` instead of redeclaring it > cargo: /<<PKGBUILDDIR>>/src/bin/cargo.rs:74 $mac!(login); > cargo: ^~~~~ > cargo: /<<PKGBUILDDIR>>/src/bin/cargo.rs:75:15: 75:18 error: Cannot declare a > non-inline module inside a block unless it has a path attribute > cargo: /<<PKGBUILDDIR>>/src/bin/cargo.rs:75 $mac!(new); > cargo: ^~~ > cargo: /<<PKGBUILDDIR>>/src/bin/cargo.rs:75:15: 75:18 note: Maybe `use` the > module `new` instead of redeclaring it > cargo: /<<PKGBUILDDIR>>/src/bin/cargo.rs:75 $mac!(new); > cargo: ^~~ > cargo: /<<PKGBUILDDIR>>/src/bin/cargo.rs:76:15: 76:20 error: Cannot declare a > non-inline module inside a block unless it has a path attribute > cargo: /<<PKGBUILDDIR>>/src/bin/cargo.rs:76 $mac!(owner); > cargo: ^~~~~ > cargo: /<<PKGBUILDDIR>>/src/bin/cargo.rs:76:15: 76:20 note: Maybe `use` the > module `owner` instead of redeclaring it > cargo: /<<PKGBUILDDIR>>/src/bin/cargo.rs:76 $mac!(owner); > cargo: ^~~~~ > cargo: /<<PKGBUILDDIR>>/src/bin/cargo.rs:77:15: 77:22 error: Cannot declare a > non-inline module inside a block unless it has a path attribute > cargo: /<<PKGBUILDDIR>>/src/bin/cargo.rs:77 $mac!(package); > cargo: > ^~~~~~~ > cargo: /<<PKGBUILDDIR>>/src/bin/cargo.rs:77:15: 77:22 note: Maybe `use` the > module `package` instead of redeclaring it > cargo: /<<PKGBUILDDIR>>/src/bin/cargo.rs:77 $mac!(package); > cargo: > ^~~~~~~ > cargo: /<<PKGBUILDDIR>>/src/bin/cargo.rs:78:15: 78:20 error: Cannot declare a > non-inline module inside a block unless it has a path attribute > cargo: /<<PKGBUILDDIR>>/src/bin/cargo.rs:78 $mac!(pkgid); > cargo: ^~~~~ > cargo: /<<PKGBUILDDIR>>/src/bin/cargo.rs:78:15: 78:20 note: Maybe `use` the > module `pkgid` instead of redeclaring it > cargo: /<<PKGBUILDDIR>>/src/bin/cargo.rs:78 $mac!(pkgid); > cargo: ^~~~~ > cargo: /<<PKGBUILDDIR>>/src/bin/cargo.rs:79:15: 79:22 error: Cannot declare a > non-inline module inside a block unless it has a path attribute > cargo: /<<PKGBUILDDIR>>/src/bin/cargo.rs:79 $mac!(publish); > cargo: > ^~~~~~~ > cargo: /<<PKGBUILDDIR>>/src/bin/cargo.rs:79:15: 79:22 note: Maybe `use` the > module `publish` instead of redeclaring it > cargo: /<<PKGBUILDDIR>>/src/bin/cargo.rs:79 $mac!(publish); > cargo: > ^~~~~~~ > cargo: /<<PKGBUILDDIR>>/src/bin/cargo.rs:80:15: 80:28 error: Cannot declare a > non-inline module inside a block unless it has a path attribute > cargo: /<<PKGBUILDDIR>>/src/bin/cargo.rs:80 $mac!(read_manifest); > cargo: > ^~~~~~~~~~~~~ > cargo: /<<PKGBUILDDIR>>/src/bin/cargo.rs:80:15: 80:28 note: Maybe `use` the > module `read_manifest` instead of redeclaring it > cargo: /<<PKGBUILDDIR>>/src/bin/cargo.rs:80 $mac!(read_manifest); > cargo: > ^~~~~~~~~~~~~ > cargo: /<<PKGBUILDDIR>>/src/bin/cargo.rs:81:15: 81:18 error: Cannot declare a > non-inline module inside a block unless it has a path attribute > cargo: /<<PKGBUILDDIR>>/src/bin/cargo.rs:81 $mac!(run); > cargo: ^~~ > cargo: /<<PKGBUILDDIR>>/src/bin/cargo.rs:81:15: 81:18 note: Maybe `use` the > module `run` instead of redeclaring it > cargo: /<<PKGBUILDDIR>>/src/bin/cargo.rs:81 $mac!(run); > cargo: ^~~ > cargo: /<<PKGBUILDDIR>>/src/bin/cargo.rs:82:15: 82:20 error: Cannot declare a > non-inline module inside a block unless it has a path attribute > cargo: /<<PKGBUILDDIR>>/src/bin/cargo.rs:82 $mac!(rustc); > cargo: ^~~~~ > cargo: /<<PKGBUILDDIR>>/src/bin/cargo.rs:82:15: 82:20 note: Maybe `use` the > module `rustc` instead of redeclaring it > cargo: /<<PKGBUILDDIR>>/src/bin/cargo.rs:82 $mac!(rustc); > cargo: ^~~~~ > cargo: /<<PKGBUILDDIR>>/src/bin/cargo.rs:83:15: 83:22 error: Cannot declare a > non-inline module inside a block unless it has a path attribute > cargo: /<<PKGBUILDDIR>>/src/bin/cargo.rs:83 $mac!(rustdoc); > cargo: > ^~~~~~~ > cargo: /<<PKGBUILDDIR>>/src/bin/cargo.rs:83:15: 83:22 note: Maybe `use` the > module `rustdoc` instead of redeclaring it > cargo: /<<PKGBUILDDIR>>/src/bin/cargo.rs:83 $mac!(rustdoc); > cargo: > ^~~~~~~ > cargo: /<<PKGBUILDDIR>>/src/bin/cargo.rs:84:15: 84:21 error: Cannot declare a > non-inline module inside a block unless it has a path attribute > cargo: /<<PKGBUILDDIR>>/src/bin/cargo.rs:84 $mac!(search); > cargo: > ^~~~~~ > cargo: /<<PKGBUILDDIR>>/src/bin/cargo.rs:84:15: 84:21 note: Maybe `use` the > module `search` instead of redeclaring it > cargo: /<<PKGBUILDDIR>>/src/bin/cargo.rs:84 $mac!(search); > cargo: > ^~~~~~ > cargo: /<<PKGBUILDDIR>>/src/bin/cargo.rs:85:15: 85:19 error: Cannot declare a > non-inline module inside a block unless it has a path attribute > cargo: /<<PKGBUILDDIR>>/src/bin/cargo.rs:85 $mac!(test); > cargo: ^~~~ > cargo: /<<PKGBUILDDIR>>/src/bin/cargo.rs:85:15: 85:19 note: Maybe `use` the > module `test` instead of redeclaring it > cargo: /<<PKGBUILDDIR>>/src/bin/cargo.rs:85 $mac!(test); > cargo: ^~~~ > cargo: /<<PKGBUILDDIR>>/src/bin/cargo.rs:86:15: 86:24 error: Cannot declare a > non-inline module inside a block unless it has a path attribute > cargo: /<<PKGBUILDDIR>>/src/bin/cargo.rs:86 $mac!(uninstall); > cargo: > ^~~~~~~~~ > cargo: /<<PKGBUILDDIR>>/src/bin/cargo.rs:86:15: 86:24 note: Maybe `use` the > module `uninstall` instead of redeclaring it > cargo: /<<PKGBUILDDIR>>/src/bin/cargo.rs:86 $mac!(uninstall); > cargo: > ^~~~~~~~~ > cargo: /<<PKGBUILDDIR>>/src/bin/cargo.rs:87:15: 87:21 error: Cannot declare a > non-inline module inside a block unless it has a path attribute > cargo: /<<PKGBUILDDIR>>/src/bin/cargo.rs:87 $mac!(update); > cargo: > ^~~~~~ > cargo: /<<PKGBUILDDIR>>/src/bin/cargo.rs:87:15: 87:21 note: Maybe `use` the > mod > Exception: > from ./debian/bootstrap.py, line 966: > build command failed: 101 > > ule `update` instead of redeclaring it > cargo: /<<PKGBUILDDIR>>/src/bin/cargo.rs:87 $mac!(update); > cargo: > ^~~~~~ > cargo: /<<PKGBUILDDIR>>/src/bin/cargo.rs:88:15: 88:29 error: Cannot declare a > non-inline module inside a block unless it has a path attribute > cargo: /<<PKGBUILDDIR>>/src/bin/cargo.rs:88 $mac!(verify_project); > cargo: > ^~~~~~~~~~~~~~ > cargo: /<<PKGBUILDDIR>>/src/bin/cargo.rs:88:15: 88:29 note: Maybe `use` the > module `verify_project` instead of redeclaring it > cargo: /<<PKGBUILDDIR>>/src/bin/cargo.rs:88 $mac!(verify_project); > cargo: > ^~~~~~~~~~~~~~ > cargo: /<<PKGBUILDDIR>>/src/bin/cargo.rs:89:15: 89:22 error: Cannot declare a > non-inline module inside a block unless it has a path attribute > cargo: /<<PKGBUILDDIR>>/src/bin/cargo.rs:89 $mac!(version); > cargo: > ^~~~~~~ > cargo: /<<PKGBUILDDIR>>/src/bin/cargo.rs:89:15: 89:22 note: Maybe `use` the > module `version` instead of redeclaring it > cargo: /<<PKGBUILDDIR>>/src/bin/cargo.rs:89 $mac!(version); > cargo: > ^~~~~~~ > cargo: /<<PKGBUILDDIR>>/src/bin/cargo.rs:90:15: 90:19 error: Cannot declare a > non-inline module inside a block unless it has a path attribute > cargo: /<<PKGBUILDDIR>>/src/bin/cargo.rs:90 $mac!(yank); > cargo: ^~~~ > cargo: /<<PKGBUILDDIR>>/src/bin/cargo.rs:90:15: 90:19 note: Maybe `use` the > module `yank` instead of redeclaring it > cargo: /<<PKGBUILDDIR>>/src/bin/cargo.rs:90 $mac!(yank); > cargo: ^~~~ > cargo: error: aborting due to 27 previous errors > debian/rules:37: recipe for target 'override_dh_auto_build' failed > make[1]: *** [override_dh_auto_build] Error 1 > make[1]: Leaving directory '/<<PKGBUILDDIR>>' -- Martin Michlmayr Linux for HPE Helion, Hewlett Packard Enterprise